2011/12/7 Graeme Geldenhuys <graemeg.li...@gmail.com>:
> 2011/12/7 Ing. Héctor F. Fiandor Rosario <hfiandor@....>:
>>
>> thanks very much,
>
> My pleasure. If you are storing *.bmp files, they are uncompressed
> images (always I think), so can be rather large. If storage size might
> be a problem, I would then suggest you base64 encode the image, then
> gzip the base64 tex, then store in a field. This reduces the storage
> size considerably. This is what I use in some of my projects.

I wonder: why base64 encode the image in the first place? I thought it
was to make plain ascii, suitable for a text field.

Then I don't understand how you can keep it plain ascii (no null
characters, for example), if you gzip it.

Vincent

--
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to