Back to the snippets index

Transparent gradiant ( IM Forum 7/7/2008 )

Add a transparent gradiant to an image

IM code:

exec("convert input.jpg \( -size {$size[0]}x{$size[1]} gradient: \) +matte -compose copy_opacity -composite output.png");

Add borders
Alternative rounded corners
Apply rounded corners to an image
Convert image to black and white
Dividing an image
Improve photos colours
Pencil sketch
Polaroid effect
Transparent gradiant
Venetian blind effect