Page 1 of 1

ImageMagick convert jpg to png

Posted: Mon Aug 14, 2023 11:50 am
by PdFUser5000
I am trying to use Imagemagick to convert jpgs to png, but my result is a 0 kb png file with no picture.

I am using run command with the example flow for converting an image. My command is:

Code: Select all

convert "%%InputFilePath%%" > "[Job.NameProper].png"
i am also getting an error message: Command failed with exit code: "4", Error output: "Invalid drive specification. "

Re: ImageMagick convert jpg to png

Posted: Mon Aug 14, 2023 12:08 pm
by magnussandstrom
Try this:
Skärmavbild 2023-08-14 kl. 12.07.11.png
Skärmavbild 2023-08-14 kl. 12.07.11.png (81.85 KiB) Viewed 6711 times

Re: ImageMagick convert jpg to png

Posted: Tue Aug 15, 2023 8:15 am
by PdFUser5000
magnussandstrom wrote: Mon Aug 14, 2023 12:08 pm Try this:

Skärmavbild 2023-08-14 kl. 12.07.11.png
Thanks, that worked! Any ideas why my solution did not?