Make a Greeting Card Print E-mail
Contributed by Linda   
Here's a fun project and a good way to get to know your way around Imagemagick.

*If you ever find that one of the Imagemagick sites won't work in the tutorial, please check here for additional Imagemagick sites.
http://www.mypcclinic.com/forums/sh...9984#post129984

You'll need a line bar of whatever you choose (mine will be a flower bar), a white background and I'm also going to use a butterfly to composite on our image. Right click to save the images to your computer.









Go to http://magick.net4tv.com/MagickStud...agickStudio.cgi and click "browse" and find your flower line image name, click on it and then click "open". Now "press to view" and wait for the next page. When it appears, click on the "resize" tab up top. On this page, you will see the size is 579x80. I'm only concerned with the first number, so I change that to 250, making sure there is a dot by "resize" and then "press to resize". When your image appears, click on the "output" tab up top and on the next page, put a dot to save as "single file" and then "press to output" and wait for your image to appear. When it does, double click to bring it up on a page by itself and then right click and save it to your computer.

Now go back to Imagemagick and click "browse" and find the white background, click on it and then click "open" and now "press to view" and wait for it to appear.

In this tutorial you will have many options from which to choose. For instance, we could proceed using the white background, but I want to add some color. To do this, I scroll down when my white image appears and for "method", I choose "floodfill", for "paint type", I choose "color" and under "fill color", I type in "plum". Remember, you can choose any color to coordinate with your images or stay with the white. Now I click on the white background and when your image appears on the next page, it is now a plum color.

Click on the "composite" tab up top and find your resized flower bar, click on it and then click "open". Under the "gravity" option, pick "south" and set the "offset" to +0+20 and "press to composite". When the image appears, click the "composite" tab again, click on "browse", find the flower bar, click on it, click "open" and this time choose "north" - leaving all the other options alone. Now click on the "transform" tab up top and put a dot by "rotate right" and now "press to transform". You will now have a flower border on the left and one on the right. Click on the "composite" tab up top and again find your flower border, click on it, click "open" and your "gravity" option should still say "north", now "press to composite". One more time and you'll have it completely bordered! Click on "composite" and find your flower bar, click on it and then click "open". This time set the "gravity" option to "south" and "press to composite".

As you can already tell, you might even want to only have a flower column on one side, or the top like a swag, etc. But, I wanted you to see how to completely box it in if you wanted it like that.

You could stop here and just add some text or you can add an additional image. For this, I've decided on our butterfly image from above. While I'm still looking at our plum colored image that is bordered on all sides with the flower border, I click on the "composite" tab up top and click on "browse", find the butterfly image, click on it and then click "open". On the "gravity" option, I set it for "southwest" as I want it in the lower left hand side of my image. I need to move it a little, so I change the "offset" to +20+20 and then "press to composite" and wait for the image to appear.

Now, it's time for the text! Click the "annotate" tab up top. On the next page, fill in your text. I've decided on "Hope You're Feeling Better" and I want each word on a separate line, so I type the first word and then hit "enter" on my keyboard - then the second word and hit enter, etc. Under that, set the "gravity" option to "center". Now scroll down and set the "fill color" to "violet" and the "stroke color" to "black". The "point size" I have set to 36 and I've chosen "Bookman Old Style Italic" for the font. Now "press to annotate".

Again, you could stop here or do a little more! I click on "decorate" and then put a dot by "raise". Now "press to decorate". I think I'll take it one step further, so again I click on "decorate" and this time I backspace out the color that is showing and put in "plum". Now put a dot by "frame" and "press to decorate".

When the image appears, click on the "output" tab up top and then choose to output as a "multi-frame file" since the butterfly is animated. Now "press to output". When the image appears, double click to bring it up on a page by itself and then right click and save it to your computer.  If you ever get an error message or have a problem with the image not saving correctly, go back to the page with your finished image and right click and save from that page.

Here's the finished image -




Don't forget to "optimize" your image using this tutorial http://www.mypcclinic.com/content/view/129/86/ to get your file size down to a managable size.

Remember, you can use so many options when you do this tutorial. Try using different kinds of bars, different colors for the background or maybe just leaving it white - the possibilities are endless!