ImageMagick stripping filenames
Posted: 2007-10-05T04:16:05-07:00
Code: Select all
#include <stdio.h>
#include <string.h>
#include <wand/magick-wand.h>
int main ()
{
MagickWandGenesis();
MagickWand *magick_wand;
magick_wand = NewMagickWand();
MagickReadImage( magick_wand, "a%%b.jpg" );
MagickWriteImage( magick_wand, "a%%c.jpg" );
magick_wand = (MagickWand *)DestroyMagickWand( magick_wand );
MagickWandTerminus();
return 0;
}