Hello Anton,
Friday, October 10, 2003, 6:27:47 AM, you wrote:
AR> img: load %my-image.png
AR> img2: to-image layout [origin 0 image 50x50 img]
AR> save/png %my-image2.png img2
AR> Anton.
Thank you Anton, exactly what I was looking for. The trick is to use
'layout to perform the resizing.
--
img: load %my-image.png
img2: to-image layout [origin 0 image 50x50 img]
save/png %my-image2.png img2
Anton.
> To create image thumbnails, I am using View and a box with the desired
> size (for example the picture is 1024x780 and the box is 128x96).
>
> mybox/image: load mypicture
>
> The
Hi Patrick,
From the rebol documentation
(http://www.rebol.com/docs/changes.html#section-5.7):
bin: make binary! 2 ; (auto expands if necessary)
image: load %fred.gif
save/png bin image
Regards,
Ashley
--
To unsubscribe from this list, just send an email