T O P I C R E V I E W |
spetric |
Posted - May 13 2020 : 05:32:41 Hi,
Where I can download imagemagic.dll 64-bit version without downloading full installation. I have 32-bit version only from 2005. If there is also newst 32-bit version it would bi nice.
TIA, Siniša |
20 L A T E S T R E P L I E S (Newest First) |
xequte |
Posted - Jul 21 2022 : 20:41:49 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
|
spurgeon |
Posted - Jun 22 2020 : 10:37:55 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 |
spetric |
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.
|
spetric |
Posted - Jun 12 2020 : 02:28:12 Thanks Steve,
I'll rebuild the DLLs with those lines commented and see how it works. |
xequte |
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
|
spurgeon |
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 |
Posted - Jun 07 2020 : 19:10:01 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
|
spetric |
Posted - Jun 05 2020 : 03:17:55 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 |
xequte |
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 |
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 |
spetric |
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. |
xequte |
Posted - Jun 02 2020 : 20:19:01 Here are some of the files I've tested:
www.imageen.com/files/other/ImageMagickTestImages.zip
These work for me: CIN, FITS, MIFF, PCD, SVG, XCF These failed: JBG, DPX I tested these formats (after adding as ImageMagick types) and they failed too: ART, DJVU, FPX, PICT, PIX, VIFF
Nigel Xequte Software www.imageen.com
|
xequte |
Posted - Jun 02 2020 : 19:46:12 Hi Spetric
Cool, thanks. Let us know when you have completed your "minimal package". Let me know if you want me to do anything at my end.
Nigel Xequte Software www.imageen.com
|
spetric |
Posted - Jun 02 2020 : 07:55:17 Hi Nigel,
Of course, you can make ImageMagick available on ImageEn download page, but you must include ImageMagick LICENCE file: https://imagemagick.org/script/license.php
You can also remove all IM_MOD_ formats not supported by ImageEn. I'm still trying to make a minimal package. I thought that CORE_RL_Cario wasn't necessaray, but alas...it must be included, because .PES extension want open without CORE_RL_Cairo...what a mess.
So far, there is no need to CORE_RL_(libraw, exr, flif, Magick++). I still haven't tested loading MPEGs. Formats that work OK (without GS):
CIN, DDS, FITS, MIFF, MNG, PCD, PES and SVG.
Regarding GhostsScript portable, you're right. If you copy Ghostsrcipt to exe folder, you don't need any delegates file. Also, from ImageMagick forum, search sequence for GhostScript is:
1. ImageMagick tries to find GhostSript via GS_PATH (or something like this). This is a situation when GhostScript is installed (non-portable version). 2. It checks for delegates.xml file. 2. It looks for GhostScript in the exe folder.
The version of uploaded ImageMagick is ImageMagick-7.0.10-13-Q16 for both 32 and 64 bit versions.
If you need some other build (Q8), please let me know.
BTW, JBIG does not open even with original IMDisplay.exe. |
xequte |
Posted - Jun 01 2020 : 18:22:59 Sorry Spetric,
You are right. If you update all of the paths in the delegates.xml file, then PDF files load.
Even better, if the portable Ghostscript files are in your exe folder (or on the system path), you don't need to hardcode the path at all, just gswin32c.exe
It does not load some formats for me, such as JBIG.
Can I make your ImageMagick files available on our download page? Do you have an info file you want me to include?
Nigel Xequte Software www.imageen.com
|
spetric |
Posted - Jun 01 2020 : 08:04:32 Hi Nigel,
I don't have any problems reading PDF via GhostScript, however path to portable GhostScript exe in delegates.xml must be specified not only for pdf, but for all other gs delegated formatas (ps, eps), otherwise it won't work (I don't know why). Anyway, I will install non-portable Ghostscript and see if it works without delegates.xml (it should, according to documentation).
I have WPViewPDF 3.0 Plus and also Gnostice PDF kit, but only GhostSript renders/converts some PDFs with floating forms/layers correctly (I don't know for WPViewPDF version 4.0).
Regarding ImageMagick, I have uploaded 64-bit DLLs and also tested minimum set of DLLs to be able to work as ImageEn plug-in...well, except JBIG. I have tested it on some sample JBGs, but it does not work.
If you have some JBG/BIE image that opens correctly on your side, please upload it so that I can test it.
|
xequte |
Posted - May 31 2020 : 23:25:31 Hi Spetric
I'm unable to get the DLLs to work with PDF files.
I've downloaded the portable version and updated the path in delegates.xml, but it silently fails.
I can use gswin32c.exe to rasterize PDF files as images, and we could write an ImageEn plug-in to support PDF loading using this method, but as far as I am aware, the Ghostscript license does not allow the files to be shipped, so it is not a good solution.
WPCubed's plug-in is only EU59 and has no limitations on distribution:
https://www.imageen.com/WPViewPDF/
Nigel Xequte Software www.imageen.com
|
spetric |
Posted - May 27 2020 : 12:03:12 Hi Nigel,
Thanks for info.
As I see from dummy template unit, there is no "automatic" plug-in in the sens that user can write some image XYZ format as DLL plug-in with "ImageEn specified" APIs then let ImageEn load it with IEAddExtIOPlugin (like Photoshop 8bf plug-ins).
From iexBitmap.pas unit, only some predefined DLLs are supported: jbiglib.dll, imagemagick.dll.
Maybe I'm wrong or missing something, but custom user defined plug-ins are supported via user written class linked together with user application. Is that correct?
If so, I can write a class that will call GhostScript DLL (or gs exe) to convert PDF to bitmaps (or multi-page tiff) and then load it to let's say some MView.
But first, I'll build 64-bit ImageMagick DLLs, pack them and upload for testing.
Edit: Done. Here it is https://sigmapi-design.com/archive/im_test_q16_64.zip
Note: the same trick with delegates.xml but with path to gswin64c.exe. |
xequte |
Posted - May 25 2020 : 18:10:16 Nice one, Spetric, it does work.
I cannot find documentation describing the ImageMagick DLL files, so we'd need to look at the ImageMagick source code to know for sure which are required. It might just be easier to slowly eliminate them to see if it affects functionality (I see that eliminating CORE_RL_exr_.dll, CORE_RL_libraw_.dll, etc, does not seem to break it).
There is not documentation for ImageEn IO plug-in functionality, unfortunately. Have you looked at the iemiscplugins source? I've emailed you a dummy template unit. Let me know what else I can do at this end.
Nigel Xequte Software www.imageen.com
|
spetric |
Posted - May 25 2020 : 16:08:59 BTW,
When I've mentioned GhostScript, is there some ImageEn IO plug-in documentation?
By that, I mean some documentation on how to write IO plug-in, so that I can write a wrapper for GhostSrcipt DLL interpreter in order to read PDF directly using GhostScript DLL: ImageEnIO -> wrapperXX.dll -> gsdlXX.dll.
|
|
|