Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic compress and decompress diagram (Read 2964 times)
gamjaradio
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 42
Joined: Jul 16th, 2010
compress and decompress diagram
Mar 9th, 2011 at 8:52am
Print Post  
I'm using custom-node , IconNode.
and I need the diagram to be compressed .
and decompressed.
cause I want to send the stream to scocket and receive.


How can I solve this?
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: compress and decompress diagram
Reply #1 - Mar 9th, 2011 at 1:40pm
Print Post  
I'm not sure if I understand that correctly. Do you need to compress the files created by the Diagram.saveTo method?
  
Back to top
 
IP Logged
 
gamjaradio
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 42
Joined: Jul 16th, 2010
Re: compress and decompress diagram
Reply #2 - Mar 9th, 2011 at 2:32pm
Print Post  
not file , but String
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: compress and decompress diagram
Reply #3 - Mar 9th, 2011 at 3:10pm
Print Post  
Write the saveToString() result to a GzipOutputStream.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint