ImageMagick convert jpg to png

Post Reply
PdFUser5000
Member
Posts: 122
Joined: Fri Jun 12, 2020 11:23 am

ImageMagick convert jpg to png

Post 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. "
User avatar
magnussandstrom
Advanced member
Posts: 365
Joined: Thu Jul 30, 2020 6:34 pm
Location: Sweden
Contact:

Re: ImageMagick convert jpg to png

Post 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 4345 times
PdFUser5000
Member
Posts: 122
Joined: Fri Jun 12, 2020 11:23 am

Re: ImageMagick convert jpg to png

Post 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?
Post Reply