Page 1 of 1

How to extent image use c api

Posted: 2019-07-05T01:15:08-07:00
by tczf1128

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?

Re: How to extent image use c api

Posted: 2019-07-05T06:30:29-07:00
by snibgo
For "-extent", see ExtentImage() in transform.c.