Can't convert some PNG to JPEG using NConvert

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

Moderators: helmut, XnTriq, xnview

Post Reply
wint
Posts: 2
Joined: Thu Sep 22, 2022 2:11 pm

Can't convert some PNG to JPEG using NConvert

Post by wint »

Hello
Had some problem with convert PNG->JPEG via nconvert (with XNConvert all good - i used only Transparent color option and all good)

Via nconvert had error "Error: This picture cannot be written using this format".

Tried insert -merge_alpha, no success..... after tried -truecolors, error disappeared but in exit I had bad quality image with a bad shadows

Would be so grateful for help. thank you.

original png
original png
1aac2af3_397f_11ed_ba57_3cecef5e3ecc.png (129.5 KiB) Viewed 2502 times

result jpeg
result jpeg
1aac24c1_397f_11ed_ba57_3cecef5e3ecc.jpg (80.13 KiB) Viewed 2502 times
User avatar
xnview
Author of XnView
Posts: 46235
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Can't convert some PNG to JPEG using NConvert

Post by xnview »

it's an 8bits picture, you need to convert it into 32bits before (-32bits)
Pierre.
wint
Posts: 2
Joined: Thu Sep 22, 2022 2:11 pm

Re: Can't convert some PNG to JPEG using NConvert

Post by wint »

Thank you so much sir!!!!
Post Reply