cordova-icon icon indicating copy to clipboard operation
cordova-icon copied to clipboard

Add additional parameter to preserve png colormap.

Open hicom150 opened this issue 10 years ago • 2 comments

hicom150 avatar May 15 '15 07:05 hicom150

Hey,

Could you please explain what this feature does, why it is needed, and what are the consequences on the produced files?

Thanks.

BrunoCartier avatar Feb 24 '16 18:02 BrunoCartier

This option tells the PNG encoder not to optimize the palette and to preserve the exact colormap. In my case, I had a 32bit gray icon and the PNG encoder converted it to grayscale with not the exact same color. Thanks to this parameter I was able to get the correct output I was expecting.

hicom150 avatar Feb 25 '16 14:02 hicom150