Convert from PNG to GIF gives error

Discussions on NConvert - the command line tool for image conversion and manipulation

Moderators: XnTriq, xnview

Post Reply
Guest

Convert from PNG to GIF gives error

Post by Guest » Wed Jan 17, 2007 5:51 am

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.

User avatar
xnview
Author of XnView
Posts: 33425
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Convert from PNG to GIF gives error

Post by xnview » Wed Jan 17, 2007 8:16 am

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
Pierre.

User avatar
DOS386
Posts: 291
Joined: Sun Jun 11, 2006 2:43 pm

GIF :-(

Post by DOS386 » Tue Jan 23, 2007 8:09 pm

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:
There is indeed no WinZIP under my rock.

Post Reply