Use white color for virtual pixel on Motion blur

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?".
Post Reply
josephs
Posts: 40
Joined: 2014-04-08T10:13:43-07:00
Authentication code: 6789

Use white color for virtual pixel on Motion blur

Post by josephs »

I have applied motioned blur (from right to left) on an image that is partially transparent (background none). The motion blur is applied just the way I like except for a the black color at the beginning edge of the blur. I understand that there is no pixels to blur...but how do I get ImageMagick to use white instead of black?

I was hopeful using "-virtual-pixel white" abut that had no effect.

I appreciate any help. Thank you.

https://drive.google.com/file/d/0Bz2HBB ... sp=sharing
https://drive.google.com/file/d/0Bz2HBB ... sp=sharing
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: Use white color for virtual pixel on Motion blur

Post by snibgo »

Please supply the command you used.

There are pixels to blur, but they are transparent-black. That is probably the problem. Try inserting "-background White -alpha Background" to make them transparent-white.
snibgo's IM pages: im.snibgo.com
josephs
Posts: 40
Joined: 2014-04-08T10:13:43-07:00
Authentication code: 6789

Re: Use white color for virtual pixel on Motion blur

Post by josephs »

That worked! Thanks Snibgo!
Post Reply