Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
ravikum
Posts: 34 Joined: 2013-03-20T05:35:37-07:00
Authentication code: 6789
Post
by ravikum » 2016-02-17T08:32:40-07:00
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
IMAGE2
Then, I try to apply vignette
Code: Select all
/usr/local/bin/convert IMAGE2.png -alpha Set -background none -vignette 0x10 IMAGE3.png
IMAGE3
But, IMAGE3 is blank png.
Please suggest.
Thanks
(using the latest IM version on linux centos 6)
snibgo
Posts: 12159 Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK
Post
by snibgo » 2016-02-17T09:16:26-07:00
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?
ravikum
Posts: 34 Joined: 2013-03-20T05:35:37-07:00
Authentication code: 6789
Post
by ravikum » 2016-02-17T09:31:50-07:00
I am using 6.9.2-3.
I have tried many other images and got the same blank png for those commands.
Thanks
(using the latest IM version on linux centos 6)
snibgo
Posts: 12159 Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK
Post
by snibgo » 2016-02-17T09:50:56-07:00
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.
ravikum
Posts: 34 Joined: 2013-03-20T05:35:37-07:00
Authentication code: 6789
Post
by ravikum » 2016-02-17T15:12:56-07:00
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.
(using the latest IM version on linux centos 6)
fmw42
Posts: 25562 Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA
Post
by fmw42 » 2016-02-17T15:49:14-07:00
This works fine for me using IM 6.9.3.4 Q16 Mac OSX
Code: Select all
convert thumbnail.gif -background none +distort SRT 21 +repage \
-channel rgba -background none -vignette 0x10 thumbnail_vignette.png
ravikum
Posts: 34 Joined: 2013-03-20T05:35:37-07:00
Authentication code: 6789
Post
by ravikum » 2016-02-17T16:01:34-07:00
Thanks for the replies.
did the trick for me.
Thanks
(using the latest IM version on linux centos 6)