Search found 26 matches

by riegel
2009-07-06T16:19:58-07:00
Forum: Users
Topic: Postscript delegate failed
Replies: 1
Views: 5329

Postscript delegate failed

Hello, I am trying to get identify to be called via a cgi script. It will identify JPEG GIF and PNG, but as if I try to identify an EPS file I get a delegate failure. But if I try to run identify from the command line it works just fine. This is the command I am running... identify -format "<x>...
by riegel
2009-05-26T17:26:18-07:00
Forum: Users
Topic: Looking for a smart crop
Replies: 8
Views: 20966

Re: Looking for a smart crop

just to give some additional iformation. This is how I am doing it with a script currently. w - The width of the image h - The height of the image w and h are derived from an identify operation. What I would like to do is not have the identify operation happen before I do the crop. if (w/h)<ratio th...
by riegel
2009-05-26T16:34:15-07:00
Forum: Users
Topic: Looking for a smart crop
Replies: 8
Views: 20966

Looking for a smart crop

If I have an image that is 120x60 pixels then this code... -gravity center -crop 60x60+0+0 Will basically remove the sides from the image leaving a 60x60 square. Very cool. The problem I have is I want to generalize this and instead of telling it 60x60 I want to say 1x1 or 4x3 or 16x9 and have it cr...
by riegel
2008-05-28T09:35:05-07:00
Forum: Users
Topic: Adding an image to the end of text
Replies: 3
Views: 9967

Re: Adding an image to the end of text

Thanks for the reply. I was trying to avoid multiple steps and was looking for a one liner. I may need to do what you have suggested. I think I am onto a solution. Here is what I have so far. Basically I create my text then apply a -trim then I do a +composite using gravity and geometry. The problem...
by riegel
2008-05-28T08:51:56-07:00
Forum: Users
Topic: Adding an image to the end of text
Replies: 3
Views: 9967

Adding an image to the end of text

How would I determine the width and height of the text I am creating so that I can place an image based on that width and height.
by riegel
2008-05-28T08:32:04-07:00
Forum: Users
Topic: Shadowed Text over an existing image
Replies: 4
Views: 11794

Re: Shadowed Text over an existing image

Ok, I think I have a solution to my problem. I am posting here for any that might have the same issue. convert background.png \( -size 780x124 xc:none -font TRAJANPB.TTF -pointsize 60 -fill black -annotate +28+67 'Journey' -channel A -blur 0x3 -font TRAJANPB.TTF -pointsize 60 -fill white -annotate +...
by riegel
2008-05-28T08:05:31-07:00
Forum: Users
Topic: Shadowed Text over an existing image
Replies: 4
Views: 11794

Re: Shadowed Text over an existing image

Ok, I am still trying to get drop shadowed text over an image. I have come up with the following... convert background.png \(-size 780x124 xc:transparent -font TRAJANPB.TTF -pointsize 60 -fill black -annotate +28+67 'Journey' -blur 0x8 \) +composite PNG:logo.png This seems to work except for the -bl...
by riegel
2008-05-28T06:56:51-07:00
Forum: Users
Topic: Shadowed Text over an existing image
Replies: 4
Views: 11794

Re: Shadowed Text over an existing image

As I have looked at the example I wonder if the solution is with the -clone operator. I don't really understand how this works though.
by riegel
2008-05-27T14:25:42-07:00
Forum: Users
Topic: Shadowed Text over an existing image
Replies: 4
Views: 11794

Shadowed Text over an existing image

This may be overly simple but I can't seem to get my head around the problem. I am able to get the examples found on Anthony's excellent resource working just fine, but I am getting stuck. Here is what I am trying to do. I would like to create some text and place it on an image. This works... conver...
by riegel
2008-05-02T13:11:07-07:00
Forum: Developers
Topic: Cannont Allocate Memory
Replies: 0
Views: 4792

Cannont Allocate Memory

Hello, I have used ImageMagick for about 6 years. I am setting up a new server and I am running this... convert -font Helvetica -pointsize 40 -fill "#ffffff" -draw "gravity center text 0,0 '9877'" /usr/home/mediaserver/html/clearimage/tmp/.TEMP/verify009TEMP.jpg MIFF:/usr/home/me...
by riegel
2007-01-26T13:47:57-07:00
Forum: Users
Topic: Identify to identify fonts
Replies: 1
Views: 7791

Identify to identify fonts

Does Image Magick have any way to identify Fonts? I know it wasn't possible a year or so ago, but wondered if that kind of functionality might have been added.

If not anyone have a method for identifying font names from the font files?

Thanks for any ideas,


Terry
by riegel
2006-09-25T16:03:41-07:00
Forum: Users
Topic: Creating a rounded corner
Replies: 1
Views: 7889

Creating a rounded corner

Hello, I modified the code from http://www.cit.gu.edu.au/~anthony/graphics/imagick6/thumbnails/ for creating rounded corners so that it could be used all in one command. On the site I changed this... convert -size 15x15 xc:white -draw 'circle 0,0 0,14' \ \( xc:none -draw 'circle 0,0 0,12' \) \ -comp...
by riegel
2006-09-23T17:58:57-07:00
Forum: Users
Topic: Colors off
Replies: 6
Views: 20404

Yes, I tried that as advised earlier.
by riegel
2006-09-22T03:54:07-07:00
Forum: Users
Topic: Colors off
Replies: 6
Views: 20404

Such a minor pixel difference will not be visible, and will be caused purely by the JPEG lossy format. Ignore it, it is not the problem. Also rotations should be done before shadowing, or your shadow also gets rotated, though with such small rotations this should not be a big problem. I have to dis...
by riegel
2006-09-21T03:23:57-07:00
Forum: Users
Topic: Colors off
Replies: 6
Views: 20404

It could also be as chrisy states, some color profile changes. I suggest you get a couple of other sorts of web browsers, IE, FireFox, Opera, etc.. and just take a look to see if the color shift changes from one browser to another. Thanks for your reply. You are correct, I do not see the color shif...