MagickCore Help
MagickCore Help
I want to use MagickCore to implement the same functon as "convert -size [widthxheight]", but I don't know which API I should use... Could anyone give me a hand? Thanks very much
Re: MagickCore Help
Also I want to know the API Interface of convert -size in magic++ and MagickWand, Could anyone can help?Thanks for your help!
Re: MagickCore Help
Each of the API's have simple examples to get your started. Have you read http://www.imagemagick.org/script/magick-core.php (MagickCore), http://www.imagemagick.org/script/magick-wand.php (MagickWand) and http://www.imagemagick.org/Magick++/ (Magick++). Download and build each of the example programs then come back with specific questions about the API.
Re: MagickCore Help
I don't see any API can do this "-size" funtion in MagickCore API site, but seems I can do this with following steps
1. get image_info
2. set image_info->size = width x height, image_info->filename = read file name
3. read image using this image_info
I don't know whether it is a good way...
1. get image_info
2. set image_info->size = width x height, image_info->filename = read file name
3. read image using this image_info
I don't know whether it is a good way...