[Lazarus] PascalMagick MagickCommandGenesis

Esmond Bridgeman esmondbridge at gmail.com
Mon Jun 18 09:44:08 CEST 2012

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:
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)


On Mon, Jun 18, 2012 at 7:05 AM, Felipe Monteiro de Carvalho <
felipemonteiro.carvalho at gmail.com> wrote:

> On Sun, Jun 17, 2012 at 2:17 PM, Esmond Bridgeman
> <esmondbridge at gmail.com> 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
> Lazarus at lists.lazarus.freepascal.org
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20120618/1721e901/attachment-0003.html>

More information about the Lazarus mailing list