| To: | RB NUG Group <realbasic-nug@lists.realsoftware.com> |
|---|---|
| Subject: | Re: File Suggestions? |
| From: | Brendan Murphy <bmurphy@truenorthsoftware.com> |
| Date: | Tue, 28 Apr 2009 15:29:31 -0500 |
| Authentication-results: | mx.google.com; spf=neutral (google.com: 74.124.194.228 is neither permitted nor denied by best guess record for domain of realbasic-nug-bounces@lists.realsoftware.com) smtp.mail=realbasic-nug-bounces@lists.realsoftware.com; domainkeys=hardfail header.From=bmurphy@truenorthsoftware.com |
| Delivered-to: | listarchive@realsoftware.com |
| Domainkey-signature: | a=rsa-sha1; q=dns; c=nofws; s=default; d=truenorthsoftware.com; h=Received:Message-Id:From:To:Content-Type:Content-Transfer-Encoding:Mime-Version:Subject:Date:X-Mailer:X-Identified-User; b=VDEnhdMcsxsq5u0DCOrLfG5I9U8R0mFk/BHbsurbd8DsJCCmqnS42BGe3reTYWNdbopT7shhRmaFmDLhquBvtDoX5oOwfvmHSvREYG+lNLMVODz00YIdzk2NqtVe+A65; |
| Domainkey-status: | bad |
| Reply-to: | REALbasic NUG <realbasic-nug@lists.realsoftware.com> |
| Sender: | realbasic-nug-bounces@lists.realsoftware.com |
Mark O'Neill wrote: Brendan Murphy wrote:I would embed all the images in the XML as you originally suggested. What you need to do is compress the XML stream as a whole just before you save it.I had thought of trying to figure out how to compress the encoded picture before saving but not the whole stream. Interesting. Does RB have built-in ways of doing this cross platform that you know of? I use the ZCompression class from the the Einhugur e-CryptIt plugin to do compression on strings. Once you get the compressed string, you can write it straight to the binary file. In the past you have stated you want to write everything yourself and/or not use plugins, but this is one place where using a plugin makes a lot more sense than trying to do this from scratch. The ZCompression class is cross platform and pretty fast. I tried the MBS equivalent, but it failed on me in certain cases. So I wouldn't use the MBS version. _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives: <http://support.realsoftware.com/listarchives/lists.html> |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: File Suggestions?, Norman Palardy |
|---|---|
| Next by Date: | Re: File Suggestions?, Thomas Tempelmann |
| Previous by Thread: | Re: File Suggestions?, Norman Palardy |
| Next by Thread: | Re: File Suggestions?, Theodore H. Smith |
| Indexes: | [Date] [Thread] [Top] [All Lists] |