Convert PNG -> JPG, transaprency is black

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

Moderators: XnTriq, xnview

Post Reply
Gordon

Convert PNG -> JPG, transaprency is black

Post by Gordon » Tue Jul 18, 2006 11:17 pm

I am trying to convert PNGs with transparency to JPG, but the transparency is always black. I woudl like ti to be white. I have tried the -transpcolor option but I didn't do anything.

If it possible to set the transparency color converting to JPG?
Is this syntax correct?

... -out jpeg -transpcolor 255 255 255 -keepcspace -q 100 ...

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

Re: Convert PNG -> JPG, transaprency is black

Post by xnview » Mon Jul 24, 2006 7:23 am

Gordon wrote:I am trying to convert PNGs with transparency to JPG, but the transparency is always black. I woudl like ti to be white. I have tried the -transpcolor option but I didn't do anything.

If it possible to set the transparency color converting to JPG?
Is this syntax correct?

... -out jpeg -transpcolor 255 255 255 -keepcspace -q 100 ...
You can't change the transparency color when saving in jpeg
Pierre.

George

Post by George » Tue Aug 14, 2007 12:40 pm

Just refreshing the subject as I see it as unfixed problem... Is it possible to solve it?

bertrand2

Post by bertrand2 » Thu Nov 29, 2007 2:37 pm

Same problem, up! :D

Rajko Aust
Posts: 5
Joined: Fri Oct 13, 2006 3:35 pm

Post by Rajko Aust » Wed Jul 30, 2008 6:16 pm


Post Reply