ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 ImageMagic.DLL 64-bit
 New Topic  Reply to Topic
Previous Page
Author Previous Topic Topic Next Topic
Page: of 2

spetric

Croatia
308 Posts

Posted - Jun 03 2020 :  15:40:05  Show Profile  Reply
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.
Go to Top of Page

spetric

Croatia
308 Posts

Posted - Jun 04 2020 :  15:23:46  Show Profile  Reply
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
Go to Top of Page

xequte

38127 Posts

Posted - Jun 04 2020 :  23:22:35  Show Profile  Reply
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
Go to Top of Page

spetric

Croatia
308 Posts

Posted - Jun 05 2020 :  03:17:55  Show Profile  Reply
Hi Nigel,

Here is 64-bit cals DLL:

attach/spetric/20206531226_IM_MOD_RL_cals_.zip
7.58 KB

If you need complete 32/64-bit package, I can upload them again.
Please let me know.

Regarding licensing and distribution, there is a topic on ImageMagick forum:
https://www.imagemagick.org/discourse-server/viewtopic.php?t=16740

In other words, you can put some readme file that mentions ImageMagick Studio LLC.
If you want to build ImageMagick from source, here is a link:

https://imagemagick.org/script/install-source.php

Siniša
Go to Top of Page

xequte

38127 Posts

Posted - Jun 07 2020 :  19:10:01  Show Profile  Reply
Thanks Sinisa,

I have signed the DLL's and uploaded with a demo to our download page:

https://www.imageen.com/download/


Nigel
Xequte Software
www.imageen.com
Go to Top of Page

spurgeon

54 Posts

Posted - Jun 10 2020 :  10:52:03  Show Profile  Reply
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.
Go to Top of Page

xequte

38127 Posts

Posted - Jun 10 2020 :  15:51:19  Show Profile  Reply
Thanks Steve, presumably that is why the JBIG images fail to load as the GPL code is disabled.

Nigel
Xequte Software
www.imageen.com
Go to Top of Page

spetric

Croatia
308 Posts

Posted - Jun 12 2020 :  02:28:12  Show Profile  Reply
Thanks Steve,

I'll rebuild the DLLs with those lines commented and see how it works.
Go to Top of Page

spetric

Croatia
308 Posts

Posted - Jun 19 2020 :  14:45:40  Show Profile  Reply
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.
Go to Top of Page

spurgeon

54 Posts

Posted - Jun 22 2020 :  10:37:55  Show Profile  Reply
Ah, thanks for the heads up. I'm currently using 7.0.8-40. Looks like the issue might be logged (although not fixed) here:

https://legacy.imagemagick.org/discourse-server/viewtopic.php?t=36277
Go to Top of Page

xequte

38127 Posts

Posted - Jul 21 2022 :  20:41:49  Show Profile  Reply
Hi

We now compile the ImageMagick libraries ourself. You can download the DLLs from:

https://www.imageen.com/download/


Nigel
Xequte Software
www.imageen.com
Go to Top of Page
Page: of 2 Previous Topic Topic Next Topic  
Previous Page
 New Topic  Reply to Topic
Jump To: