Thanks!

It helped but partly.
That URL retrieves PNG (GIF, JPEG) image, that=20
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,=20
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=20
an image?

What else solutions there could help?

Janeks


On 16 Jan 2005 at 12:33, Ingo Hohmann wrote:

>=20
> Hi Janeks,
>=20
> I don't know the restrictions on url!s, but I know what zou could do
> about it, use it like this ...
>=20
>  >> read to url! "http://127.0.0.1/cgi-...";
>=20
> that is, use a string and convert it explicitly to an url.
>=20
>=20
> I hope that helps,
>=20
> Ingo
>=20
> --=20
> To unsubscribe from the list, just send an email to rebol-request at
> rebol.com with unsubscribe as the subject.
>=20


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

Reply via email to