error trying to convert to xpm

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

Moderators: helmut, XnTriq, xnview

Post Reply
clapperboy
Posts: 1
Joined: Tue Jul 08, 2008 1:25 am

error trying to convert to xpm

Post by clapperboy »

Hello, I want to use nconvert to convert bmp to xpm.
here is the line I use,

nconvert.exe -out xpm test.bmp

I get this error message
Error: This picture cannot be written using this format <test.bmp>

I can convert the bmp to format like tiff and jpeg. I am wondering if there are any issue to the conversion to xpm.
or maybe convert it to some format first and then to xpm. I have browsed through the forums and the web and havent found anything so afr.

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

Re: error trying to convert to xpm

Post by xnview »

XMP doesn't support 24bits, so add -colors 256
Pierre.
Post Reply