converting png to gif

Bugs found in XnView Classic. Please report only one bug per topic!

Moderators: XnTriq, helmut, xnview

moneywasher
Posts: 6
Joined: Sat Jun 09, 2018 5:09 pm

converting png to gif

Post by moneywasher »

When I convert png images with a white background ( as example: screenshots of webpages) to the gif format (256 colors) bcoz of it's lower filesize, than it's always ends with a dirty gray instead of a clean white background. So why XnView is not able to reproduce pure white gif images? White is beside of black, the main image in every little color system.
User avatar
xnview
Author of XnView
Posts: 44584
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: converting png to gif

Post by xnview »

the png is 256colors?
Pierre.
moneywasher
Posts: 6
Joined: Sat Jun 09, 2018 5:09 pm

Re: converting png to gif

Post by moneywasher »

no, of course not. The png's are full color images (32bit ... I guess) from a screenshot program for taken copies of webpages.
You mean, the png's should be converted from 32bit to 8bit (256 colors), before to save them as gif's?
Okay, I will try it.
moneywasher
Posts: 6
Joined: Sat Jun 09, 2018 5:09 pm

Re: converting png to gif

Post by moneywasher »

Ok, I tried and it works. It shows a clean white color on the gif images. ... but the converting of a png from 32 to 8bit is mega slowly, when the png image is as example, some MB by filesize. And it uses a lot of my CPU in this long wait.