Page 1 of 1

Convert from PNG to GIF gives error

Posted: Wed Jan 17, 2007 5:51 am
by Guest
Anyone tell me why I get the following error when using NConvert to convert from png to gif?

command used:
nconvert -out gif -o $%.gif "c:\my documents\mypic.png"

error received:
Error: This picture cannot be written using this format (C:\my documents\mypic.gif)

XnView can convert it fine, but nconvert seems to struggle.

Re: Convert from PNG to GIF gives error

Posted: Wed Jan 17, 2007 8:16 am
by xnview
Anonymous wrote:Anyone tell me why I get the following error when using NConvert to convert from png to gif?

command used:
nconvert -out gif -o $%.gif "c:\my documents\mypic.png"

error received:
Error: This picture cannot be written using this format (C:\my documents\mypic.gif)

XnView can convert it fine, but nconvert seems to struggle.
use -colors 256

GIF :-(

Posted: Tue Jan 23, 2007 8:09 pm
by DOS386
convert from png to gif?
Problem clarified (GIF restricted to 256 colours), but I would
NOT prefer GIF over PNG anyway ... :idea:

PS: Use PNGOUT to convert GIF to PNG or optimize PNG's ... :idea: