I tried different modifications of code:
myImg: http://127.0.0.1/cgi-bin/cgi.exe?with= a lot of
parameters that returns an image
mansLogs: layout [
image 200x200 myImg
]
view mansLogs
All worked fine if I used url reference to image files, also
saving from cgi.exe to file worked well, but with such url
like above there was errors or bugs.
Finaly my conclusions is that Rebview does not like such
urls, why I don't know...
Probably someone of Rebol gurus could explain or provide a
trick, how to manage without saving to a file ... !?
brgds
Janeks
On 16 Jan 2005 at 16:28, [EMAIL PROTECTED] wrote:
>
> Uups... forgot about /binary!
> Anyway helped partly...
> Now I can get image displayed in the layout, but it
> is no the image that I got in the web browser.
> And diferent versions reacts(1.2.46.31 and 1.2.1.3.1)
> differently: first gives something similar colors
> pixels, but second completely black image.
> The situation above is so in case, when I use in
> layout defs:
>
> image to-image myImg
>
> If I use directly "image myImg" , then in v.1.2.46.31
> I am geting blank image and message in console:
> Unrecognized parameter: #{474946383761}
> In v.1.2.1.3.1. I am getting the same black image,
> but with blue upper edge and no messages in conslole.
>
> I tried to save image to disk and then check/show it,
> in that case it appears as it should.
>
> ???
> plz help
> Janeks
>
> On 16 Jan 2005 at 14:37, Andreas Bolka wrote:
>
> >
> >
> > Sunday, January 16, 2005, 2:09:40 PM, sags wrote:
> >
> > > 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..."
> >
> > try using read/binary instead.
> >
> > --
> > Best regards,
> > Andreas
> >
> >
> > --
> > To unsubscribe from the list, just send an email to rebol-request at
> > rebol.com with unsubscribe as the subject.
> >
>
>
> --
> To unsubscribe from the list, just send an email to rebol-request at
> rebol.com with unsubscribe as the subject.
>
--
To unsubscribe from the list, just send an email to rebol-request
at rebol.com with unsubscribe as the subject.