Thanks Fred, I wasn't aware of the Parenthesis stuff. I got it to work with this command (for convenience I did not replace the php $ variables) :
//example
//$resize = 150x150
//$geometry = 200+200
convert $product \\( $logo -scale $resize -gravity Center -background none -extent $resize ...
Search found 3 matches
- 2017-03-15T02:35:03-07:00
- Forum: Users
- Topic: Overlay and resize image in area
- Replies: 7
- Views: 6381
- 2017-03-14T09:28:10-07:00
- Forum: Users
- Topic: Overlay and resize image in area
- Replies: 7
- Views: 6381
Re: Overlay and resize image in area
If I try to use the following:
convert my-shirt.jpg logo-teset.png -gravity Center -geometry +500+330 -resize 570x990 -composite result.jpg
it will be totally off, I want to keep the original dimensions from my-shirt.jpg and just put a resized version of logo-test.png on top of it on a defined ...
convert my-shirt.jpg logo-teset.png -gravity Center -geometry +500+330 -resize 570x990 -composite result.jpg
it will be totally off, I want to keep the original dimensions from my-shirt.jpg and just put a resized version of logo-test.png on top of it on a defined ...
- 2017-03-14T08:06:32-07:00
- Forum: Users
- Topic: Overlay and resize image in area
- Replies: 7
- Views: 6381
Overlay and resize image in area
Hi there,
I want to combine two images, both of them have different sizes. I want to define an are before overlaying one image on the other while resizing the second one. See the following example:
http://oxid4101.aggrosoft.de/hariz/test.jpg
Which is produced by running:
convert my-shirt.jpg ...
I want to combine two images, both of them have different sizes. I want to define an are before overlaying one image on the other while resizing the second one. See the following example:
http://oxid4101.aggrosoft.de/hariz/test.jpg
Which is produced by running:
convert my-shirt.jpg ...