Page 1 of 1

blank png after converting a rotated image to vignette

Posted: 2016-02-17T08:32:40-07:00
by ravikum
Hello,
I have rotated an image :

Code: Select all

/usr/local/bin/convert  IMAGE1.jpg -virtual-pixel Transparent  -verbose    +distort SRT 21 +verbose IMAGE2.png
IMAGE1 Image
IMAGE2 Image

Then, I try to apply vignette

Code: Select all

/usr/local/bin/convert  IMAGE2.png -alpha Set -background none -vignette 0x10 IMAGE3.png
IMAGE3 Image

But, IMAGE3 is blank png.

Please suggest.
Thanks

Re: blank png after converting a rotated image to vignette

Posted: 2016-02-17T09:16:26-07:00
by snibgo
It works fine for me, on that input image. IM v6.9.2-5. What version IM do you have? Do all images show the problem?

Re: blank png after converting a rotated image to vignette

Posted: 2016-02-17T09:31:50-07:00
by ravikum
I am using 6.9.2-3.
I have tried many other images and got the same blank png for those commands.

Thanks

Re: blank png after converting a rotated image to vignette

Posted: 2016-02-17T09:50:56-07:00
by snibgo
Your image3.png is 146x130 pixels, all transparent black. I don't know why. Try it without "-alpha Set -background none", or with just one of those options.

Re: blank png after converting a rotated image to vignette

Posted: 2016-02-17T15:12:56-07:00
by ravikum
Hello,
I have upgraded to latest 6.9.3-4 Q16
and checked again.
still got blank image trying to vignette on rotated image

Code: Select all

-alpha Set -background none -vignette 0x3
Please check.

Re: blank png after converting a rotated image to vignette

Posted: 2016-02-17T15:49:14-07:00
by fmw42
This works fine for me using IM 6.9.3.4 Q16 Mac OSX

Image

Code: Select all

convert thumbnail.gif -background none +distort SRT 21 +repage \
-channel rgba -background none -vignette 0x10 thumbnail_vignette.png
Image

Re: blank png after converting a rotated image to vignette

Posted: 2016-02-17T16:01:34-07:00
by ravikum
Thanks for the replies.

Code: Select all

+repage -channel rgba
did the trick for me.

Thanks