extent turns entire image black
Posted: 2016-10-31T08:26:12-07:00
Hello,
I have .PNG images and I want to extend their size by several transparent pixels (transparent border, for example). I'm doing it like this:
It works for most of test images given, but several images like this https://www.dropbox.com/s/731r58oh5ncnb ... d.png?dl=0 becomes all black. I can add transparency to the image by '-transparent white' but it is also lost after subsequent extension. I also tryed other options, option orders etc, but it changed nothing.
What am I doing wrong? Why it bahaves like this? Can it be performed without any losses of quality?
I have .PNG images and I want to extend their size by several transparent pixels (transparent border, for example). I'm doing it like this:
Code: Select all
magick mogrify -background none -extent 1152x344 Background.png
What am I doing wrong? Why it bahaves like this? Can it be performed without any losses of quality?