Wand Pseudo Image – Python
Wand supports a number of image format specification that is some image that are created with soem algorithms. Pseudo image is very important we can perform various manipulations to the image using Pseudo Image in wand. We can create pseudo image using setting pseudo parameter in
Some manipulations we can perform –
1. Create solid color image.
2. Create gradient images.
3. Create images with patterns
4. Creates a fractal image.
Some important pseudo images :
|‘canvas:COLOR’, or ‘xc:COLOR’||Creates image with solid color, here COLOR is color value string|
|‘caption:TEXT’||Add text to image|
|‘gradient:START-END’||Generates a blended gradient between two colors, where both START and END are color value strings.|
|‘hald:’||Creates a Higher And Lower Dimension matrix table.|
|‘inline:VALUE’||where VALUE is a data-url / base64 string value..|
|‘label:TEXT’||where TEXT is a string message.|
|‘pattern:LABEL’||Generates image with a repeated pattern.|
|‘plasma:’||Generates a plasma fractal image|
|‘radial-gradient’||This is same as gradient but int this there is a circular blend of colors.|
|’tile:FILENAME’||Generates a repeating tile effect from a given images, where FILENAME is the path of a source image..|
Now let’s get forward towards the python code for pseudo image.
Example 1: Create an image with a gradient
Example 2: Create an image with a pattern