ImageEn, unit iemiscplugins

TIEMiscPluginsImageMagick.RegisterPlugin

TIEMiscPluginsImageMagick.RegisterPlugin


Declaration


class procedure RegisterPlugin();


Description


Registers ImageMagick file formats into ImageEn (adding support for all its formats).

Applications should call this method once only (generally at the start of the application).


Demo


  Demos\InputOutput\ImageMagick\ImageMagick.dpr



Example


// Rasterizes page number 5 of mybook.pdf at 200dpi
TIEMiscPluginsImageMagick.RegisterPlugin(); // call only once!
ImageEnView1.IO.Params.ImageIndex := 5;
ImageEnView1.IO.Params.Dict.Insert('PDF:Density', 200);
ImageEnView1.IO.LoadFromFile('mybook.pdf');