Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Re: url restrictions

From: sags::apollo::lv at: 16-Jan-2005 15:09

Thanks! It helped but partly. That URL retrieves PNG (GIF, JPEG) image, that normaly appears in a browser window. In rebol script I used read response into a variable. And then display in a layout. First I tried to do it directly: myImg: read to-url "http://127.0.0.1/cgi..." mansLogs: layout [ text "Hello Rebol World!" button "Poga" toggle "Nospiest" "Atlaist" image myImg ] view mansLogs It worked but image place displays noisy characters, like if I tried to view image in a text editor. Then I tried to-image, but it ends with error: .... \|=E8=E2=89{|=9E=A1O=F8=A6vt=DC\=D6=93"x =F64=FF=85}=8D?=E1=ECik=E8=AF=B2=A7=FC(V=AA=E9=C8=8FF =CC=A6K=CC=90`=FAs=AF=82I3=AB=8A=EF4=FEg=A8=D3=E3 =A9 =B1 =FA =B7 % P =E2 =ED u =AE ' F =BB U =9B .. .. .. \ | =E8 =E2 =89 { | =9E =A1 O =F8 =A6 v t =DC \ =D6 =93 x =F6 4 =FF =85 } =8D ? =E1 =EC i k =E8 =AF =B2 =A7 =FC ( V =AA =E9 =C8 =8F F =CC =A6 K =CC =90 ` =FA s =AF =82 I 3 =AB =8A =EF 4 =FE g =A8 =D3 =E3 =A9=B1=FA=B7%P=E2=ED =CFl=C8 =FF=D9 ** Where: to-image ** Near: to image! :value It seems, that Rebol does not understands, that it is an image? What else solutions there could help? Janeks On 16 Jan 2005 at 12:33, Ingo Hohmann wrote: