|
View:
New views
9 Messages
—
Rating Filter:
Alert me
|
|
|
Picture DATA and how to show itDear friends,
I have some data returned from an applescript that looks like this: «data PICTED340000000001F001F4001102FF0C00FFFE000000480000004800000000000001F001F40000000000 (continues on awhile) 963747572652E000000FF» I of course deleted the «data PICT and » when playing around in RR. It is a png file I think but I would like to display this picture in REV if possible. I have been reading through Applescript trying to find a way to convert this to an image of this data with no luck. I have also been reading the RR Dictionary and can't seem to figure this one out. Anyone with experience with this? I thought I remembered someone talking about storing this type of data in a custom prop??? Any reply is appreciated. Tom McGrath_______________________________________________ use-revolution mailing list use-revolution@... Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution |
|
|
Re: Picture DATA and how to show itHi 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 -- Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz Our servers may be off-line between 28 April and 1 May. If you have an urgent request, you can contact us at <economy.x.talk@...>. Apologies for any inconveniences. On 28 apr 2008, at 22:16, Thomas McGrath III wrote: > Dear friends, > > I have some data returned from an applescript that looks like this: > > «data > PICTED340000000001F001F4001102FF0C00FFFE000000480000004800000000000001F001F40000000000 > (continues on awhile) 963747572652E000000FF» > > I of course deleted the «data PICT and » when playing around in RR. > > It is a png file I think but I would like to display this picture in > REV if possible. I have been reading through Applescript trying to > find a way to convert this to an image of this data with no luck. I > have also been reading the RR Dictionary and can't seem to figure > this one out. > > > Anyone with experience with this? I thought I remembered someone > talking about storing this type of data in a custom prop??? > > > Any reply is appreciated. _______________________________________________ use-revolution mailing list use-revolution@... Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution |
|
|
Re: Picture DATA and how to show itMark,
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@... Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution |
|
|
Re: Picture DATA and how to show itMark et. al.
Also if I use Applescript to write the Data to a pict file I actually get this: Ì4 Ù ˇ ˇ˛ H H Ù Ä Ä Ä ÙÇ Ït |