I have added the IEAddExtIOPlugin("imagemagick.dll"); plugin to load fits file. But the loaded .fts image is mono 8-bit but it should be 16-bit. Where is the plugin handeling over the image to IE? and can the loaded image be set to load as 16-bit mono in IE?
Hi Fabrizio! Thanks for the input. How can I override the "fits" format using the IEFileFormatAdd(FileFormatInfo) having my own fits code and still keep imagemagick.dll plugin for its other formats?
Please look at "InputOutput\FileFormatPlugins" example, it shows how add a custom file format. The function IEFileFormatADD actually adds the new format, so you should call it BEFORE loading of imagemagick plugin (using IEAddExtIOPlugIn). If you define the FITS format before, ImageEn will see it first.