Preserve background color ?

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

Moderators: helmut, XnTriq, xnview

Bingo
Posts: 25
Joined: Fri Sep 10, 2004 7:00 am

Post by Bingo »

xnview wrote:But do you have same result with ImageMagick?
For the moment, I use mogrify, which is one of the softwares that ship with ImageMagick, and the background is pure white.
But - I have no idea why this is so - mogrify is very very slow on large images, while nconvert is very fast ! There really is a LOT of difference : less than 1 minute with nconvert, sometimes 1 hour with mogrify !
That's why I wanted to switch over to nconvert !
User avatar
xnview
Author of XnView
Posts: 46236
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Post by xnview »

Bingo wrote:
xnview wrote:But do you have same result with ImageMagick?
For the moment, I use mogrify, which is one of the softwares that ship with ImageMagick, and the background is pure white.
But - I have no idea why this is so - mogrify is very very slow on large images, while nconvert is very fast ! There really is a LOT of difference : less than 1 minute with nconvert, sometimes 1 hour with mogrify !
That's why I wanted to switch over to nconvert !
Could you tell me which command line do you use with mogrify?
Pierre.
Bingo
Posts: 25
Joined: Fri Sep 10, 2004 7:00 am

Post by Bingo »

Of course :
mogrify.exe -depth 8 -colors 256 "my16McolorsPNG.png"
Post Reply