It works, great !
But what was wrong in my commande line ? I thought the -transpcolor parameter was the appropriate one ...
And also, is the color 255 0 0 pre-defined to be the transparent color pour PNG32 ?
Anyway, thanks a lot for your help.
Search found 3 matches
- Wed Mar 20, 2013 6:30 pm
- Forum: NConvert
- Topic: JPG to PNG with transparent border
- Replies: 5
- Views: 2156
- Wed Mar 20, 2013 12:55 pm
- Forum: NConvert
- Topic: JPG to PNG with transparent border
- Replies: 5
- Views: 2156
Re: JPG to PNG with transparent border
Too bad no one seems to have the same need ...
I have also tried to split it in two separate taks : jpg -> png a first, then adding the transparency with -transpcolor, but I obtain the same result : my black borders are not transparent.
Regards,
Christian

I have also tried to split it in two separate taks : jpg -> png a first, then adding the transparency with -transpcolor, but I obtain the same result : my black borders are not transparent.
Regards,
Christian
- Tue Mar 19, 2013 2:52 pm
- Forum: NConvert
- Topic: JPG to PNG with transparent border
- Replies: 5
- Views: 2156
JPG to PNG with transparent border
Hello,
I would like to convert a JPG to PNG, adding borders at the left and right and making them transparent. I am trying to do that with this command :
nconvert -out png -canvas 300 300 top-center -transpcolor 0 0 0 -merge_alpha 9781895526066.jpg
But I only get two black borders, not transparent ...
I would like to convert a JPG to PNG, adding borders at the left and right and making them transparent. I am trying to do that with this command :
nconvert -out png -canvas 300 300 top-center -transpcolor 0 0 0 -merge_alpha 9781895526066.jpg
But I only get two black borders, not transparent ...