Picture DATA and how to show it
Thomas McGrath III
3mcgrath at comcast.net
Mon Apr 28 18:09:50 EDT 2008
Mark et. al.
Also if I use Applescript to write the Data to a pict file I actually
get this:
Ì4 Ù ˇ
ˇ˛ H H Ù Ä Ä Ä
ÙÇ
Ït
@ @ Ù Vpng
appl
Ù H H Î⁄ PNG ˇˇâPNG
IHDR Ù fl%
À gAMA ŸB÷O° pHYs
öú $tEXtSoftware QuickTime
6.5.2 (Mac OS X) ˆÈî tIME‘
)8æê◊+
IDATxú¨[Ys
GrÆ≥èπ
08Hê!R+‰µ¥~pXy
°ÿµ7¸‡‘ã
˝‡á◊~\;h)^[±á˜π$≈ à¡13=”gU93
´Ç/õ±%≤1hˆTef}ô˘eVãˇÁΩ{ˇ˙„wZÌdöƒQƒ/ãÇs!
§`å9∆ŒØå„EI^y†{BqV(•∫™öÕffl)≤ÕÕÕè+a™Jœ
etc.
which looks like binary data and states it IS a png file after all.
But I can't import this file to RR and have a picture come out. How do
you recommend converting this from binary to an image?
Ideas???
Thanks
Tom McGrath
On Apr 28, 2008, at 4:46 PM, Thomas McGrath III wrote:
> Mark,
>
> The AS dict says " data (picture) : data for this artwork, in
> the form of a picture " but it does not refer to it's type or
> how it is stored i.e. Hex etc.
>
> If I get the format for this in AS it states {«class PNG »} so even
> though it states PICT I think it is a PNG.
>
> Export and import just hang up RR.
>
> I have not used convert to binary before. What's the best way to
> handle that?
>
> Thanks
>
> Tom McGrath
>
> On Apr 28, 2008, at 4:25 PM, Mark Schonewille wrote:
>
>> Hi Tom,
>>
>> I'd say this is a PICT file in hex form. I don't know whether you
>> should convert it to binary first, but you could always try to
>> write it to a file on disk and then import it, either as PICT or,
>> if that doesn't work, as PNG.
>>
>> Best regards,
>>
>> Mark Schonewille
>>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
More information about the use-livecode
mailing list