Problem when filling image
Problem when filling image
I have an image that can be 640x300 or 360x480 , need the image is 640x480 filling on both sides with white. How do I? I've tried everything , resize , repage , flatten , etc
Re: Problem when filling image
snibgo wrote:Have you tried "-extent"?
no, I have not tried. I have now : convert "c: \ ej.jpg " repage 640x480 -flatten "c: \ ej.jpg " However , do not fill on both sides , just right.
How should it be with -extent ?
-
- Posts: 12159
- Joined: 2010-01-23T23:01:33-07:00
- Authentication code: 1151
- Location: England, UK
Re: Problem when filling image
Use it with "-gravity". See http://www.imagemagick.org/script/comma ... php#extent
snibgo's IM pages: im.snibgo.com
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Problem when filling image
Before posting a question (especially for new IM users), please read the very top post on the Users forum "READ THIS FIRST" at viewtopic.php?f=1&t=9620
See the part about Examples at:
http://www.imagemagick.org/Usage/
and also
http://www.imagemagick.org/Usage/reference.html
See the part about Examples at:
http://www.imagemagick.org/Usage/
and also
http://www.imagemagick.org/Usage/reference.html
Re: Problem when filling image
thank you very much ! with your help I could solve this problemsnibgo wrote:Use it with "-gravity". See http://www.imagemagick.org/script/comma ... php#extent