Questions and postings pertaining to the development of ImageMagick, feature enhancements, and ImageMagick internals. ImageMagick source code and algorithms are discussed here. Usage questions which are too arcane for the normal user list should also be posted here.
- Posts: 28
- Joined: 2018-12-04T22:47:49-07:00
- Authentication code: 1152
Code: Select all
convert -background white -gravity center input.jpg -resize 500x500 -extent 200x200 output.jpg
How to use C API to do this command?
- Posts: 13034
- Joined: 2010-01-23T23:01:33-07:00
- Authentication code: 1151
- Location: England, UK
For "-extent", see ExtentImage() in transform.c.