Thanks Boleslav,

I can see now something that looks like an image, but it's distorted. It 
works oke when I first save the data and then load it again. I think 
something goes wrong with the line termination characters. Thanks so far.

Tim

Boleslav Brezovsky wrote:

>Hi Tim,
>
>If your image is string!, use following code:
>
>  
>
>>>image: load to binary! image-in-string
>>>      
>>>
>
>if your image is binary!, it's even easier:
>
>  
>
>>>image: load image-in-binary
>>>      
>>>
>
>
>
>Regards,
>
>rebolek
>
>On 3/2/06, Tim Hendriks <[EMAIL PROTECTED]> wrote:
>  
>
>>Hello List,
>>
>>I have a problem...
>>
>>Is it possible to convert binary data to an image?
>>
>>I use an external program (via call) to produce a image. I can capture=20
>>the image via call/output but then I am lost.
>>
>>Out is then a string! type like this:
>>
>>{GIF87a
>>[EMAIL PROTECTED]@[EMAIL PROTECTED]@[EMAIL PROTECTED]@[EMAIL 
>>PROTECTED]@,[EMAIL PROTECTED]@[EMAIL PROTECTED]@
>>
>>[EMAIL PROTECTED]
>>=A6=EA=CA=B6=EE^K=C7=F2L=D7=F6=8D=E7=FA=CE=F7=FE^O^L
>>=87=C4=A2=F1=88L*=97=CC=A6=F3^-=8DJ=A7=D4=AA=F5=8A=CDj=B7=DC=AE...
>>
>>Can I convert this to a REBOL image type so that I can display it with vi=
>>ew?
>>I tried converting it to-binary, but no succes...
>>
>>Thanks
>>
>>Tim
>>
>>--
>>To unsubscribe from the list, just send an email to
>>lists at rebol.com with unsubscribe as the subject.
>>
>>
>>    
>>
>
>
>--
>/
>Boleslav Brezovsky
>http://krutek.info
>\
>
>  
>

-- 
To unsubscribe from the list, just send an email to 
lists at rebol.com with unsubscribe as the subject.

Reply via email to