On 05-Dec-03, Henrik Mikael Kristensen wrote:
> Gabriele Santilli wrote:
>> Hi Henrik,
>> On Thursday, December 4, 2003, 3:18:36 PM, you wrote:
>>> Still, I'd like to know if there's an easier way to contain
>>> size with the data.
>> Just keep the image in the original format, i.e.:
>> im
Gabriele Santilli wrote:
> Hi Henrik,
>
> On Thursday, December 4, 2003, 3:18:36 PM, you wrote:
>
> HMK> Still, I'd like to know if there's an easier way to contain the image
> HMK> size with the data.
>
> Just keep the image in the original format, i.e.:
>
>image-data: read/binary %img.g
Hi, Henrik
given a Rebol image, a solution:
do decompress compress mold help.gif
Instead a more secure:
load decompress compress mold/all help.gif
fails for a load bug (Feedback Id #31r704220):
>> load mold/all help.gif
** Syntax Error: Invalid construct -- #[
** Near: (line 522) #[i
Hi Henrik,
On Thursday, December 4, 2003, 3:18:36 PM, you wrote:
HMK> Still, I'd like to know if there's an easier way to contain the image
HMK> size with the data.
Just keep the image in the original format, i.e.:
image-data: read/binary %img.gif
Then later you can LOAD it:
img: load
Henrik Mikael Kristensen wrote:
> Hi, all
>
> Sometimes image handling baffles me a bit. I want to embed a small
> 2-colored image in the script for use in a button. It would of course be
> nice to compress it to a chunk of binary data.
>
> However, I always lose the size of the image when do