-
Notifications
You must be signed in to change notification settings - Fork 143
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Color format #296
Comments
It decodes to RGB or RGBA. If you want to convert to a different order, just iterate over the output data pixel by pixel and permute the channels. |
Semi-related: Perhaps it would be nice to support |
It would but the crate needs to go |
We'd also have to figure out exactly what supporting |
In which concrete color format does this library decode to?
for RGB is it: RGB or BGR?
or for RGBA is it: ARGB, ABGR, RGBA or BGRA?
Or is it specified by the png documentation?
Also Im using ARGB in my application as another library requires it - is there some crate(of this organisation or some other) which allows me convert the RGBA/RGB(any order) data to ARGB?
The text was updated successfully, but these errors were encountered: