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

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 ImageEN and SVG loading

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

View 
UserName:
Password:
Format  Bold Italicized Underline  Align Left Centered Align Right  Horizontal Rule  Insert Hyperlink   Browse for an image to attach to your post Browse for a zip to attach to your post Insert Code  Insert Quote Insert List
   
Message 

 

Emoji
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Black Eye [B)]
Frown [:(] Shocked [:0] Angry [:(!] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
cpstevenc Posted - May 31 2013 : 09:12:45
I found this thread http://www.imageen.com/ieforum/topic.asp?TOPIC_ID=316

But I am unsure of two things

1) Where to get the "imagemagick.dll" , when i install it, i have no such file name.

2) How to make the DLL work with the ImageEn to load the SVG? How to link the DLL? and what to call to make the SVG file load up.

One of our datasources recently converted from jpeg to SVG. And we have nearly, half a million SVG files now to work with for our desktop review application.

If I can get ImageEN to work with the SVG file, will I be able to zoom in/out like
I am currently with the jpegs?

Using D7 and Latest ImageEN for it.
7   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - Jun 07 2013 : 22:02:43
Hi

You can pass the loading size to ensure that no quality is lost no matter what size it is being displayed.

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.xequte.com
nigel@xequte.com
cpstevenc Posted - Jun 03 2013 : 10:27:38
quote:
I do not know very much about ImageMagick but when ImageMagick loads an image into imageen it converts the vector file to a raster file.
Nigel or Fabrizio may be able to provide you with additional information.



That would be the problem.

Anyone got a workaround? a 100x100 pixel big picture is not gonna work.
I really need to be able to zoom in / scale bigger the picture like i can in a browser without loosing quality. It's no good to the end user
when the final zoom in, makes it one big ugly picture.

xequte Posted - Jun 03 2013 : 03:05:22
Hi William

There is not really any significant benefit to unloading a plug-in after it has been loaded.



Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
w2m Posted - Jun 02 2013 : 09:03:32
Shouldn't IEUnLoadIOPlugins be made public or maybe consider
function IEUnloadIOPlugin(APlugin: string): Boolean; be developed to unload a plugin when the developer is done using a plugin?

procedure IEUnLoadIOPlugins;
var
  i: integer;
  p: PIEIOPlugin;
begin
  for i:=0 to ioplugins.Count-1 do
  begin
    p := ioplugins[i];
    IEFileFormatRemove( p^.FileType );
    if (p^.Capability and IEX_MULTITHREAD) = 0 then
      DeleteCriticalSection(p^.PluginsCS);
    FreeLibrary( p^.libhandle );
    dispose( p );
  end;
  ioplugins.Clear();
end;


William Miller
Adirondack Software & Graphics
Email: w2m@frontiernet.net
EBook: http://www.imageen.com/ebook/
Apprehend: http://www.frontiernet.net/~w2m/index.html
w2m Posted - Jun 02 2013 : 08:34:07
I do not know very much about ImageMagick but when ImageMagick loads an image into imageen it converts the vector file to a raster file.
Nigel or Fabrizio may be able to provide you with additional information.

William Miller
Adirondack Software & Graphics
Email: w2m@frontiernet.net
EBook: http://www.imageen.com/ebook/
Apprehend: http://www.frontiernet.net/~w2m/index.html
cpstevenc Posted - Jun 01 2013 : 09:17:05
Thanks that worked.

But next problem is zoom in.

The SVG's we get are pretty small in size, black/white line drawings of parts.

The SVG loads now, but its pretty darn small. If I zoom in, its all pixelated.
Looks like after the picture is loaded, its no longer vector drawn?

If i load the svg in browser I can get them scale bigger, and they are still pretty.

Any tricks to this?

xequte Posted - May 31 2013 : 22:50:04
Hi

Please download the DLL from the registered download page that was in the email you were sent after purchasing, or email us if you do not have the link.

To support SVG loading you need only call during your application startup:

IEAddExtIOPlugIn('imagemagick.dll');

It will function like any other image, though saving to SVG is not supported.





Nigel
Xequte Software
www.xequte.com
nigel@xequte.com