Page 1 of 1

Decorate function

Posted: 2014-03-05T16:54:18-07:00
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

Re: Decorate function

Posted: 2014-03-05T17:18:35-07:00
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?

Re: Decorate function

Posted: 2014-03-05T17:23:19-07:00
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

Re: Decorate function

Posted: 2014-03-05T17:34:11-07:00
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?

Re: Decorate function

Posted: 2014-03-05T17:59:36-07:00
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

Re: Decorate function

Posted: 2014-03-05T18:34:40-07:00
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.

Re: Decorate function

Posted: 2014-03-05T22:11:27-07:00
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/

Re: Decorate function

Posted: 2014-03-06T15:40:46-07:00
by Jodi
Thank-you so very much for your kind replays and they have been very, very helpful to me.
Jodi