You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Change how the internals read the buffer or flip the channels before returning to user
Context
When using this library with other modules like sharp it's expected that raw formats are [r, g, b] or [r, g, b, a]. This weird color channel setup makes it annoying to use with other image manipulation tools.
The text was updated successfully, but these errors were encountered:
Expected Behavior
Image buffer should be in the format [r, g, b, a]
Current Behavior
Image buffer is in the format [b, g, r, a]
Possible Solution
Change how the internals read the buffer or flip the channels before returning to user
Context
When using this library with other modules like sharp it's expected that raw formats are [r, g, b] or [r, g, b, a]. This weird color channel setup makes it annoying to use with other image manipulation tools.
The text was updated successfully, but these errors were encountered: