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
ok it is solved.
To avoid the color profile difference, we could use a separate decoder to decode the png file, and encode it as a non-color-profile png, then feed it into pngquantjs.
The decoder and encoder could be canvas
It seems the output of pngquantjs has a slight diffence in color compared to the original image(or the output from the binary version).
Tested with a solid color png.
Original
Compressed with pngquant 2.8 on macos
Compressed with pngquantjs
#FF99D5 -> #FF9FD3
The text was updated successfully, but these errors were encountered: