I would agree it's a bug.
I have noticed it before too but I am not
sure if it has been reported, I think it
probably has. If no-one here responds in a few days
then report it to feedback.
I think you will have to use a combination of
img/offset and crop.
By the way, you can use:
layout [
img: image load-thru url
]
and path-thru url to see it in your public cache.
(or even load-thru/to ...)
Anton.
> The following code allows an image to be scrolled, but on my
> (Win95) system
> it intermittently leaves "image residue" at a screen edge.
> Try running the
> code and pressing the up-arrow key a few times to see what I
> mean. Is this
> a bug? Are negative crop values A Good Idea? Any work-arounds?
>
> REBOL []
>
> image-data: load read-thru/to
> http://www.rebol.com/view/demos/nyc.jpg %nyc.jpg
>
> view layout [
> img: image image-data effect reduce ['crop 0x0 image-data/size]
> sensor 0 keycode[up] [img/effect/crop: img/effect/crop -
> 0x20 show img]
> sensor 0 keycode[down] [img/effect/crop: img/effect/crop
> + 0x20 show img]
> sensor 0 keycode[left] [img/effect/crop: img/effect/crop
> - 20x0 show img]
> sensor 0 keycode[right] [img/effect/crop:
> img/effect/crop + 20x0 show img]
> ]
>
> Regards,
>
> Ashley
--
To unsubscribe from this list, please send an email to
[EMAIL PROTECTED] with "unsubscribe" in the
subject, without the quotes.