Page 1 of 1

error while converting from jpg to png

Posted: 2018-10-05T07:26:33-07:00
by Lacika1981
Hi,

I converted 100 jpg image to png and some of the image looks same. It is an image sequence so this error ruins the whole sequence.
I used this command:

Code: Select all

convert *.jpg *.png
Here you can have a look on the error:
https://youtu.be/wjXyKFXQPSI

What can I do to have it error free?

Thank you

Re: error while converting from jpg to png

Posted: 2018-10-05T07:43:10-07:00
by snibgo
What version of IM, on what platform?

The command is bad. It reads all the jpg files, then tries to write files called *_0.png, *_1.png etc.

To convert many files from jpg to png, with IM v6:

Code: Select all

mogrify -format png *.jpg

Re: error while converting from jpg to png

Posted: 2018-10-05T13:28:43-07:00
by Lacika1981
Thank you

The version is ImageMagick 6.8.9-9 Q16 x86_64

I will try again with the command you shared.