I was wanting to use the binaries directly instead of the imageMagick "convert.exe" command-line program to run something like this:
convert -define jpeg:size=500x500 -thumbnail "75x75>" -unsharp 0x.5 -strip -quality 80 "in.jpg" "out.jpg"
I guess I could do this with magick wand functions but the magick command line programs do clever things like only partially decoding jpegs if only a small thumbnail is needed and intelligently choosing resampling algorithms depending on how much an image is resized.
There's a new 'MagickImageCommand' function (mentioned here: http://www.imagemagick.org/discourse-server/viewtopic.php?f=6&t=20527#p82046) which seems to be what I need.
Where can I find a good tutorial or tips on translating C headers? (probably an unhill struggle as I've minimal C experience)
Thanks
On Mon, Jun 18, 2012 at 7:05 AM, Felipe Monteiro de Carvalho <
Show quoted text 24 lines
wrote:
On Sun, Jun 17, 2012 at 2:17 PM, Esmond Bridgeman
wrote:
> How difficult would it be to add the MagickWand mogrify command-line
> function in mogrify.h to PascalMagick?
Just as easy as translating any C headers to Pascal.
> It looks like a good way to provide a
> sort of simple scripting using the ImageMagick command line interface.
PascalMagick is not directly related to any command line. It is a
direct binding to the ImageMagick libraries.
--
Felipe Monteiro de Carvalho
--
_______________________________________________
Lazarus mailing list
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20120618/1721e901/attachment-0001.html>