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
It is currently difficult to use libimagequant to work with Cairo or X buffers because they are ARGB and libimagequant only has data import for RGBA pixels. It would be very helpful to have an import option that works on the buffers without having to rebuild them pixel by pixel first. The export function is less of a concern because the output is typically right to a file, not back to the original buffer.
The text was updated successfully, but these errors were encountered:
Any function I can add is going to do precisely this, or copy and swap pixels, because the rest of the codebase uses rgba. To have an argb-native version I'd have to make huge copy'n'paste and double the code size.
It is currently difficult to use libimagequant to work with Cairo or X buffers because they are ARGB and libimagequant only has data import for RGBA pixels. It would be very helpful to have an import option that works on the buffers without having to rebuild them pixel by pixel first. The export function is less of a concern because the output is typically right to a file, not back to the original buffer.
The text was updated successfully, but these errors were encountered: