![]() ![]() ![]() We can create a mosaic by superimposing many images onto a surface at various positions. The -gravity switch offers some more positions that can be used to place images. $ composite -gravity SouthWest curve_sw.png curved-nw.png curved-sw-final.png $ composite -gravity NorthWest curve_nw.png curved-ne.png curved-nw.png $ composite -gravity NorthEast curve_ne.png curved-se.png curved-ne.png To curve the rest of the corners of the image: We can then use the resulting image as the source image for the next command, to apply the next corner, and so on. This command superimposes the curved southeast corner onto the southeast corner of the original image. $ composite -gravity SouthEast curve_se.png image.png curved-se.png To place them at the appropriate position we use the composite command with the -gravity switch specifying the position: Using this technique we can turn the hard-corners of an image into rounded borders - or any other shape, for that matter - by simply superimposing pre-fabricated transparent curved corners onto the image. Pasting one image over another is known as superimposing. In this article we’ll use the ImageMagick suite of commands to create a multi-image mosaic, draw some basic shapes, and create 3D logos. In a previous article we used it to add text and frames to images, and for other basic image manipulation. ImageMagick (IM) is a command-line graphics creation and editing application. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |