Search found 9 matches

by The Little Guy
2011-08-23T10:09:28-07:00
Forum: Users
Topic: Order of Operations
Replies: 3
Views: 9524

Re: Order of Operations

Okay, Thanks!

I will give that a try, and if I have any problems I will let you guys know!
by The Little Guy
2011-08-23T09:12:58-07:00
Forum: Users
Topic: Order of Operations
Replies: 3
Views: 9524

Order of Operations

how do I know what order ImageMagick will perform the tasks? I would like to resize an image, then crop it to make a thumb and make it a jpg. So will ImageMagick perform the tasks in the order that was given to it, or will it perform the tasks in any order it chooses? What I need is for it to resize ...
by The Little Guy
2011-03-27T09:23:39-07:00
Forum: Users
Topic: Letter Blur
Replies: 16
Views: 28369

Re: Letter Blur

As I have been working with this, I have noticed that the image changes sizes.

How can I force it to be a particular width without cropping the image?

for example I tell the image to be 300px wide, when it is displayed it turns out to be 261px wide or something smaller than or equal to 300.
by The Little Guy
2011-03-20T11:36:44-07:00
Forum: Users
Topic: Letter Blur
Replies: 16
Views: 28369

Re: Letter Blur

$canvas_width = $this->width / $this->length; shell_exec($opt = "convert -size {$canvas_width}x{$this->height} xc:'$this->bgColor' -font $font -fill '$color' -pointsize $size -draw \"gravity center text 0,0'".$text{$i}."'\" -blur 0x$blur $file +append $file"); Sweet man that works! Now I just need ...
by The Little Guy
2011-03-19T20:25:44-07:00
Forum: Users
Topic: Letter Blur
Replies: 16
Views: 28369

Re: Letter Blur

Each letter is blurred a different amount, but the left side one is always the most. There should be some in there that are not blurred at all other than the last letter, but that never happens.

Image
by The Little Guy
2011-03-19T20:12:00-07:00
Forum: Users
Topic: Letter Blur
Replies: 16
Views: 28369

Re: Letter Blur

I am fairly sure its not the script. What I think is happening, is (in Photoshop terms): - it creates an image - it adds a letter to the image - it flattens the image, then blurs the first letter - it adds the next letter, flattens the image, then blurs the letters again and it keeps doing this ...
by The Little Guy
2011-03-19T18:23:22-07:00
Forum: Users
Topic: Letter Blur
Replies: 16
Views: 28369

Re: Letter Blur

The loop is fairly big so I didn't post it all, but I guess it will help any: for($i=0;$i<$this->length;$i++){ $txS += $size; $tyP = round(rand(20, $this->height)); if($this->font_family==FONT_RANDOM){ $fonts = $this->font_list(); }else{ $fonts = explode(',', $this->font_family); } $fontid = array ...
by The Little Guy
2011-03-19T10:58:11-07:00
Forum: Users
Topic: Letter Blur
Replies: 16
Views: 28369

Re: Letter Blur

Oh, I forgot to say this, but the reason I didn't do that is because each letter will have a different blur amount, either no blur, or a blur between 5 and 10.
by The Little Guy
2011-03-19T08:36:20-07:00
Forum: Users
Topic: Letter Blur
Replies: 16
Views: 28369

Letter Blur

Hello! This is my first post! I am not new to IM but I also am not good at it either, so thank you everyone for all the help I will need! I have the following code: shell_exec("convert -size {$this->width}x{$this->height} xc:'$this->bgColor' $file"); for(...){ shell_exec("mogrify -blur $blur -font ...