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
 Loading svg? Any support?
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

nwscomps

185 Posts

Posted - Feb 13 2012 :  10:12:45  Show Profile  Reply
I have checked the list of file formats supported at this page: http://www.xequte.com/imageen/info/Index.html

svg is mentioned in this list, but I was not able to load a svg(vector) file. Is there anything I am missing?
Thanks for your answer

Francesco Savastano
Nwscomps.com
Add-ons for the ImageEn Library

nwscomps

185 Posts

Posted - Feb 13 2012 :  12:21:23  Show Profile  Reply
Just realized that I need ImageMagick.dll to do that. Nevermind.

Francesco Savastano
Nwscomps.com
Add-ons for the ImageEn Library
Go to Top of Page

xequte

38608 Posts

Posted - Feb 13 2012 :  14:52:12  Show Profile  Reply
Hi Francesco

Yes, that is correct. You need the ImageMagick plug-in to load the following formats (saving is not supported):

PCD, CUT, AVS, CIN, DOT, DPX, FITS, FPX, HDF, MAT, MIFF, MTV, PALM, PCL, PICT, PIX, PWP, RLA, SGI, SUN, SVG, TTF, VIFF, XBM, XCF, XPM


Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
Go to Top of Page

Uwe

284 Posts

Posted - Feb 14 2012 :  09:12:53  Show Profile  Reply
That a format is supported by ImageMagick doesn't necessarily mean that it is also supported by ImageEN - even if you link in the imagemagick.dll. SVG is such a format, and as far as I know, MTV, PALM, MNG and a whole bunch of others are, too. I had been discussing this issue with Fabrizio probably two years ago already.


Uwe
Go to Top of Page

xequte

38608 Posts

Posted - Feb 14 2012 :  17:41:14  Show Profile  Reply
Hi Uwe

Can you give me more information on this.

I have not had any problems displaying SVG files with ImageEn.



Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
Go to Top of Page

nwscomps

185 Posts

Posted - Feb 14 2012 :  17:47:12  Show Profile  Reply
Nigel it's great to know that the svg works with imagemagick. I wonder if it possible to read the transparency information as well. I explain myself: the idea is to use the svg as a layer where the non-rendered part is the transparency (the alpha channel). I still haven't tried the integration of imagemagick, which demo should I check to help me get faster started?

Francesco Savastano
Nwscomps.com
Add-ons for the ImageEn Library
Go to Top of Page

Uwe

284 Posts

Posted - Feb 14 2012 :  22:13:27  Show Profile  Reply
Nigel

My apologies regarding the SVG format - it seems that since I've talked to Fabrizio last about this subject, quite a few things have changed when it comes to the support of ImageMagick. A few file formats that couldn't be loaded in the past can now be successfully opened, while others are still not working even if ImageMagick supports them.

I did a quick test now with a slightly modified "PhotoEn v2" demo, and here is what I've found (haven't checked all formats, though):

ART, AVS, MTV, OTB, PALM, PDB and PTIF file formats cannot be opened by ImageEN.

Hope that helps
Uwe
Go to Top of Page

xequte

38608 Posts

Posted - Feb 15 2012 :  01:12:00  Show Profile  Reply
Hi Uwe

Thanks for the info. I'll remove AVS, MTV and PALM from the supported formats list.



Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
Go to Top of Page

xequte

38608 Posts

Posted - Nov 27 2023 :  15:51:57  Show Profile  Reply
Also note that SVG loading is now automatically supported on Delphi 12 and newer if you add Vcl.Skia to the uses clause of any unit in your project.

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