realbasic-nug
[Top] [All Lists]

Re: Getting image data

To: REALbasic NUG <realbasic-nug@lists.realsoftware.com>
Subject: Re: Getting image data
From: Paul Raulerson <paul.raulerson@mac.com>
Date: Tue, 31 Mar 2009 07:57:18 -0700
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
Delivered-to: listarchive@realsoftware.com
In-reply-to: <3753b0ed0903310747n228c7763j33890fc403829be6@mail.gmail.com>
References: <3753b0ed0903310421h6e2ea82dg8e21f6d054e123d3@mail.gmail.com> <49D22A47.608@inspiringapps.com> <3753b0ed0903310747n228c7763j33890fc403829be6@mail.gmail.com>
Reply-to: REALbasic NUG <realbasic-nug@lists.realsoftware.com>
Sender: realbasic-nug-bounces@lists.realsoftware.com
 If the image is in a disk file, just open it and read the length property. You 
will probably need to open it anyway to verify it is a JPEG or TIFF or 
whatever. 

-Paul

On Tuesday, March 31, 2009, at 07:47AM, "The Green Tea Leaf" 
<thegreentealeaf@gmail.com> wrote:
>>
>> It's probably not best in terms of efficiency, though.  If you know your
>> images will be large and of a specific format, then you might want to
>> download just the first so-many bytes and parse the image header to get the
>> size.
>>
>
>Yes, this is my main concern since they can be quite large some of them ...
>hmmm, parsing the header doesn't seem like a bad idea especially since they
>all will be jpeg files ... off to look for some documents for the jpeg
>standard
>-- 
>The Green Tea Leaf   thegreentealeaf@gmail.com
>thegreentealeaf.blogspot.com
>_______________________________________________
>Unsubscribe or switch delivery mode:
><http://www.realsoftware.com/support/listmanager/>
>
>Search the archives:
><http://support.realsoftware.com/listarchives/lists.html>
>
>

_______________________________________________
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>