Author |
Topic |
spetric
Croatia
308 Posts |
Posted - Jun 03 2020 : 15:40:05
|
Hi Nigel,
I've tried to read your DPX files with imdisplay.exe and it throws an error ImproperImageHeader. I found another DPX sample and it works ok.
Other file formats specified in ImageEn source code like XPS, MPEG, MP4 requires additional delegated programs: XPS -> GhostXPS, MPEG, MP4 -> avconv or ffmpeg.
All in all, following file formats works:
ImageMagick native: CIN, DDS, DPX, FITS, MIFF, MNG, PCD, PES, PSB, PTIF, SVG. Ghostscript delegated: PDF,EPS,PS...
Tomorrow, I'll create minimal DLL pack and upload it together with sample images. |
|
|
spetric
Croatia
308 Posts |
Posted - Jun 04 2020 : 15:23:46
|
OK, I've replaced previously uploaded zip files with "minimal" package:
https://sigmapi-design.com/archive/im_test_q16_32.zip - 32 bit min. https://sigmapi-design.com/archive/im_test_q16_64.zip - 64 bit min.
And here is a collection of test images:
https://sigmapi-design.com/archive/im_test_images.zip
Note: im_test.xps requires GhostXPS (I did not install it nor test it).
Summa summarum, ImageMagick is quite messy project. IO routines are not clearly separated from processing. Reading the ImageMagick forum posts, people are having trouble with various formats, conversions, delegates, etc... Completely opposite to OpenCV project which is really well structured, with customizable build options, etc...
This "minimal" package should work for: CIN, DDS, DPX, FITS, MIFF, MNG, PCD, PDF, PES, PSB, PTIF, SVG abd XPS.
Please, let me know when you download test images so that I can remove the zip from the host.
Also, if there is some format supported by ImageEn plug-in format list that I've missed to put in archive (IM_MOD_***) please let me know.
I've put ImageMagick license file in both archives.
HTH, Siniša |
|
|
xequte
38608 Posts |
Posted - Jun 04 2020 : 23:22:35
|
Thanks Spetric, I am testing now.
Please also send me the 64bit version of IM_MOD_RL_cals_.dll to support CALS loading.
You can remove the downloads, I have them all now.
Also, the license probably requires me to make the source code available. So please forward that too.
Nigel Xequte Software www.imageen.com
|
|
|
spetric
Croatia
308 Posts |
|
xequte
38608 Posts |
|
spurgeon
54 Posts |
Posted - Jun 10 2020 : 10:52:03
|
FWIW, we have also gone through the painstaking process of building ImageMagick from source, and we package a working version with ImageEn. It only works for me when including the DLLs in our program's working directory.
Spectric, I've had the same struggles with the formats. For DPX, you can comment out these lines and rebuild, and then all DPX files load fine from my experience.
ImageMagick/coders/dpx.c - Comment out lines: if (dpx.image.image_element[i].packing > 2) ThrowReaderException(CorruptImageError,"ImproperImageHeader");
Also, careful to commercial software developers...there is GPL code in the ImageMagick bundle that isn't compatible with commercial software (e.g., jbig.c--unless you purchase a JBIK-Kit license). I believe the default build excludes GPL code by default, such as JBIG support. |
|
|
xequte
38608 Posts |
Posted - Jun 10 2020 : 15:51:19
|
Thanks Steve, presumably that is why the JBIG images fail to load as the GPL code is disabled.
Nigel Xequte Software www.imageen.com
|
|
|
spetric
Croatia
308 Posts |
Posted - Jun 12 2020 : 02:28:12
|
Thanks Steve,
I'll rebuild the DLLs with those lines commented and see how it works. |
|
|
spetric
Croatia
308 Posts |
Posted - Jun 19 2020 : 14:45:40
|
Hi,
Unfortunately, in Imagemagick 7.0.10.13, mentioned lines:
if (dpx.image.image_element[i].packing > 2)
ThrowReaderException(CorruptImageError,"ImproperImageHeader");
in unit dpx.c does not exist any more.
|
|
|
spurgeon
54 Posts |
|
xequte
38608 Posts |
|
Topic |
|
|
|