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.
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.