Page 1 of 1

How do you change the shape of one image like another?

Posted: 2018-05-10T01:37:49-07:00
by PSVGameMania
Image

Image

I want to change the image above to the image below ... What should I do?

Re: How do you change the shape of one image like another?

Posted: 2018-05-10T02:32:05-07:00
by Bonzo
The images are not displayed here - permission error? Move somewhere else?

Re: How do you change the shape of one image like another?

Posted: 2018-05-10T09:13:24-07:00
by fmw42
Please, always provide your IM version and platform when asking questions, since syntax may differ. Also provide your exact command line and if possible your images.

See the top-most post in this forum "IMPORTANT: Please Read This FIRST Before Posting" at http://www.imagemagick.org/discourse-se ... f=1&t=9620

For novices, see

http://www.imagemagick.org/discourse-se ... f=1&t=9620
http://www.imagemagick.org/script/comma ... essing.php
http://www.imagemagick.org/Usage/reference.html
http://www.imagemagick.org/Usage/
https://github.com/ImageMagick/usage-markdown

Re: How do you change the shape of one image like another?

Posted: 2018-05-10T11:01:29-07:00
by PSVGameMania
Sorry... I used Windows ImageMagick-7.0.7-31-Q16-x64 version.
command line convert image.png -fill white -opapue black -background none output.png.

Re: How do you change the shape of one image like another?

Posted: 2018-05-10T11:02:02-07:00
by PSVGameMania
fmw42 wrote: 2018-05-10T09:13:24-07:00 Please, always provide your IM version and platform when asking questions, since syntax may differ. Also provide your exact command line and if possible your images.

See the top-most post in this forum "IMPORTANT: Please Read This FIRST Before Posting" at http://www.imagemagick.org/discourse-se ... f=1&t=9620

For novices, see

http://www.imagemagick.org/discourse-se ... f=1&t=9620
http://www.imagemagick.org/script/comma ... essing.php
http://www.imagemagick.org/Usage/reference.html
http://www.imagemagick.org/Usage/
https://github.com/ImageMagick/usage-markdown
Sorry... I used Windows ImageMagick-7.0.7-31-Q16-x64 version.
command line convert image.png -fill white -opapue black -background none output.png.

Re: How do you change the shape of one image like another?

Posted: 2018-05-10T11:55:53-07:00
by fmw42
try

Code: Select all

magick nine.png -fuzz 88% -transparent black result.png
Note in IM 7 magick replaces convert and you would also use magick mogrify or magick identify for the other tools.