Decorate function

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
Jodi
Posts: 6
Joined: 2013-09-29T18:31:33-07:00
Authentication code: 6789

Decorate function

Post by Jodi »

For the past few days I have been trying to use the DECORATE function at IM and it is not working correctly.
can anyone help with this issue?
Thanks,
Jodi
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Decorate function

Post by fmw42 »

there is no such ImageMagick -decorate function listed at http://www.imagemagick.org/script/comma ... ptions.php

Can you identify where you have seen this or what your exact command line is? What platform and what version of IM are you using?
Jodi
Posts: 6
Joined: 2013-09-29T18:31:33-07:00
Authentication code: 6789

Re: Decorate function

Post by Jodi »

Yes I can ........ it is 6.8.8 and I was trying a small frame at DECORATE and the 5x5 in the parameter box and the color of #adcce7 and BORDER and all I am getting is the whole gif NOW has a background covering the whole gif NOT putting a small 5x5 around the entire thing and THANKS so much for the question!
Jodi
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Decorate function

Post by fmw42 »

What is your command line exactly? I need to find out where "decorate" is being used? Are you on Linux, Mac or Windows?
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Decorate function

Post by fmw42 »

Are you referring to decorate for -draw with text as per

http://www.imagemagick.org/script/magic ... aphics.php
http://www.imagemagick.org/Usage/draw/#mvg

If so, then try

Code: Select all

convert -size 400x200 xc:white -fill black -font arial -pointsize 24 -draw "decorate line-through text 100,100 'This Is Some Text'" result.gif
Jodi
Posts: 6
Joined: 2013-09-29T18:31:33-07:00
Authentication code: 6789

Re: Decorate function

Post by Jodi »

I have used IM for a long, ling time and the DECORATE button in on the top where all the things to do are and you can make any size frame you want to put around any gif or jpg. I am using Windows 7 and the Hex codes for the colors .......... I use to have a WebTV but have now been on the computer for about 5 months. The original IM that I used worked on the WebTV also. It was designed by a Mr. Cristy.
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Decorate function

Post by fmw42 »

You were using ImageMagick Studio (http://www.imagemagick.org/MagickStudio ... Studio.cgi) via WebTV. This link will get you to the same thing on normal Internet in a Web Browser. Without ImageMagick Studio, you must use command line ImageMagick.There is no one-to-one decorate equivalent. The decorate in that interface does one of several types of bordering in command line.

see
-border
-frame
-raise

at
http://www.imagemagick.org/script/comma ... ptions.php

also
http://www.imagemagick.org/Usage/crop/#border
http://www.imagemagick.org/Usage/crop/#frame
http://www.imagemagick.org/Usage/transform/#raise

If you are planning to use command line, then also see
http://www.imagemagick.org/Usage/reference.html
http://www.imagemagick.org/Usage/
Jodi
Posts: 6
Joined: 2013-09-29T18:31:33-07:00
Authentication code: 6789

Re: Decorate function

Post by Jodi »

Thank-you so very much for your kind replays and they have been very, very helpful to me.
Jodi
Post Reply