Re: Load SVG from String

Bob Friesenhahn <[email protected]> Thu, 3 Mar 2005 14:10:56 -0600 (CST)
Newsgroups gmane.comp.video.graphicsmagick.apis
Message-ID <[email protected]>
On Thu, 3 Mar 2005, Achim Domma (Procoders) wrote:
>
>> As long as the 'magic' header detection is working (depends on loading and 
>> finding magic.mgk), it should be possible to read SVG from a Blob. If that 
>> doesn't work, you can set the magick attribute to 'SVG' and hopefully it 
>> will work then.
>
> the code is in a COM object and therefor DllMain was not called. After 
> merging GM's DllMain Code into the COM Code it looked like it would work.
> Now I have a problem with multiple calls, if the objects is used from ASP. 
> But that's another problem I first have to trac don't a little further.

I think that multiple calls should be ok.  GM should do nothing on the 
extra call.  The same should hold true for destruction.  Let me know 
if this is not actually the case.

Bob
======================================
Bob Friesenhahn
[email protected], http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click