Search found 4 matches

by JEBffej7
2017-02-15T13:17:44-07:00
Forum: Users
Topic: .jpg to .png batch conversion with background transparency
Replies: 11
Views: 9697

Re: .jpg to .png batch conversion with background transparency

Thank you! The first code example does exactly what I need it to do for a single image. Unfortunately when I tried converting it to a batch process, it still combined all of the .jpg images in the folder into a single .png convert *.jpg -write mpr:img ^ ( +clone -fx "p{0,0}" ) -compose Difference ...
by JEBffej7
2017-02-15T11:05:56-07:00
Forum: Users
Topic: .jpg to .png batch conversion with background transparency
Replies: 11
Views: 9697

Re: .jpg to .png batch conversion with background transparency

Essentially, I am trying to take an image like this (.jpg with a non-transparent background): http://s7d4.scene7.com/is/image/GTMSportswear/Alligator11_ImageMagick Render the background and any other white elements transparent, and save it as a .png. The end result looking like this: http://s7d4 ...
by JEBffej7
2017-02-15T09:48:24-07:00
Forum: Users
Topic: .jpg to .png batch conversion with background transparency
Replies: 11
Views: 9697

Re: .jpg to .png batch conversion with background transparency

Thank you for the response! The code you provided was in the correct syntax, unfortunately I think the order of operations is switched around somewhere (it's applying the background mask to the greyscale image used to originally create the mask, instead of the color image itself, so the final image ...
by JEBffej7
2017-02-14T14:10:54-07:00
Forum: Users
Topic: .jpg to .png batch conversion with background transparency
Replies: 11
Views: 9697

.jpg to .png batch conversion with background transparency

Hello - I am brand new to working with ImageMagick, and have run into an issue converting .jpg files to .png files while removing the background. I am able to get the process to work perfectly for single images with the following code (line breaks added for readability): convert Image.jpg ( +clone ...