Search found 6 matches
- 2011-08-04T00:51:22-07:00
- Forum: Users
- Topic: New page with gravity
- Replies: 10
- Views: 16015
Re: New page with gravity
I guess I managed myself img_width=identify -format '%w' image.png img_height=identify -format '%h' image.png if [ {img_width} -eq {img_height} ] then convert image.png -resize x". $this->max_height_imagine . "\> image.png elif [ {img_width} -gt {img_height} ] then convert image.png -resize x ...
- 2011-08-04T00:19:59-07:00
- Forum: Users
- Topic: New page with gravity
- Replies: 10
- Views: 16015
Re: New page with gravity
another question regarding resizing an image. I have an area let say: 145x115 Some images are portrait and some are landscape. So I want an image size to fit this area. The problem: If I use $this->max_width_image = '145'; $this->max_height_image = '115'; convert image.png -resize " . $this->max ...
- 2011-08-01T00:35:05-07:00
- Forum: Users
- Topic: New page with gravity
- Replies: 10
- Views: 16015
Re: New page with gravity
I managed to do this
the mistake: I was adding a space after slash or new line before command end.
the mistake: I was adding a space after slash or new line before command end.
- 2011-07-31T23:25:48-07:00
- Forum: Users
- Topic: New page with gravity
- Replies: 10
- Views: 16015
Re: New page with gravity
ok... Thanks a lot. I have another question: I use php to execute exec commands like: exec ("convert -size 300x250 gradient:" . $gradient_up . "-" . $gradient_down . " canvas_300x250.png"); The command above works fine. The problem: I want to compose in a php string multiple imagick commands so when ...
- 2011-07-29T05:05:26-07:00
- Forum: Users
- Topic: New page with gravity
- Replies: 10
- Views: 16015
Re: New page with geometry
my mistake from the beginning I was meaning gravity .... so already tried
- 2011-07-29T01:24:05-07:00
- Forum: Users
- Topic: New page with gravity
- Replies: 10
- Views: 16015
New page with gravity
Hello. I have a script that compose 2 images for an animation convert -dispose previous -delay 200 \ -page 300x169+0+0 1_tmp.png \ -page 300x169+0+0 2_tmp.png \ -loop 0 animation.miff The images are smaller than the 300x169 new canvas and I want that the two images to be centered in the new canvas ...