Wand: How to use operations on rgba?

The MagickWand interface is a new high-level C API interface to ImageMagick core methods. We discourage the use of the core methods and encourage the use of this API instead. Post MagickWand questions, bug reports, and suggestions to this forum.
Post Reply
Posts: 2
Joined: 2016-07-24T11:18:55-07:00
Authentication code: 1151

Wand: How to use operations on rgba?

Post by zwd »

In the Wand documentation http://docs.wand-py.org/en/0.4.3/wand/i ... E_TYPES%20 is a list of colorspace types, including rgb and transparent, but rgba is missing.
How can motion blur be used on both, the rgb and the transparent? Is there a way to combine both colorspaces?
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: Wand: How to use operations on rgba?

Post by snibgo »

A colorspace defines the meaning of the colour channels, whether or not there is an alpha channel.

When the channels represent red, green and blue, there are two major colorspaces: RGB and sRGB. sRGB is the most common. Most images you see on the web are encoded in sRGB.

I'm not familiar with Python. If you've written code and it doesn't work, you can paste it here and someone may take a look.
snibgo's IM pages: im.snibgo.com
Post Reply