i need to convert PDF to TIF and use MagickWand (with PascalMagick). On commandline I managed to convert the file perfectly with
Code: Select all
convert -density 200 -flatten 315a743.pdf[0] temp.tif
Here is the sourcecode so far:
Code: Select all
begin
MagickWandGenesis;
wand := NewMagickWand;
MagickSetImageResolution(wand,200,200);
// wand:=MagickFlattenImages(wand); ---> No entrypoint in CORE_RL_wand.DLL????
MagickReadImage(wand, PChar(UTF8ToSys('315a743.pdf[0]')));
MagickWriteImage(wand,PChar('temp.tif'));
...
end
Thank you
Florian