Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Problem with SaveToXml and transparency (Read 1355 times)
Bjorn
YaBB Newbies
*
Offline


Alfadata Technologies
Corporation

Posts: 33
Location: Alberta
Joined: Aug 14th, 2008
Problem with SaveToXml and transparency
Sep 30th, 2011 at 5:42pm
Print Post  
We have recently switched our application to use savetoxml / loadfromxml instead of  the binary form.  However, it seems that any new images we add to our diagram are saved differently with a black background instead of a transparent one.  Existing images that were on the diagrams before (and loaded with the diagram) are still saved correctly, but any new ones have this issue.

We can see in the XML document that the newly added images are saved differently, even though they are originally from the same source file that the existing ones are.  Can you think of a reason that SaveToXml would cause us the transparency in our images to turn to black?
  
Back to top
WWW  
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Problem with SaveToXml and transparency
Reply #1 - Sep 30th, 2011 at 6:00pm
Print Post  
It might be the same problem as here:
http://mindfusion.eu/Forum/YaBB.pl?board=fcnet_disc;action=display;num=120110289...

Try leaving the stream open if the image is loaded from a stream.

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint