nconvert syntax: .ico to .bmp?

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

Moderators: XnTriq, helmut, xnview

Guidance
Posts: 9
Joined: Sun Oct 26, 2003 12:32 am

nconvert syntax: .ico to .bmp?

Post by Guidance »

I'm trying convert windows icon or bmp file to jpg as below:

D:\tmp>"d:\program files\xnview\nconvert" -quiet -o d:\tmp\test.jpg -out jpeg d:\tmp\music.ico

but got this response:

Error: This picture cannot be written using this format (d:\tmp\music.ico)

Where's wrong?
BTW, does nconvert support quotes if the path contains spaces? Thanks!
User avatar
xnview
Author of XnView
Posts: 43988
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: nconvert syntax: .ico to .bmp?

Post by xnview »

Guidance wrote:I'm trying convert windows icon or bmp file to jpg as below:
D:\tmp>"d:\program files\xnview\nconvert" -quiet -o d:\tmp\test.jpg -out jpeg d:\tmp\music.ico
but got this response:
Error: This picture cannot be written using this format (d:\tmp\music.ico)
Where's wrong?
JPEG can't be in colors, you must convert it. Use -truecolors
BTW, does nconvert support quotes if the path contains spaces?
Yes, use " ("my folder"
Pierre