[Lazarus] about TDFB
Vincent Snijders
vincent.snijders at gmail.com
Thu Dec 8 13:19:26 CET 2011
2011/12/7 Graeme Geldenhuys <graemeg.lists at gmail.com>:
> 2011/12/7 Ing. Héctor F. Fiandor Rosario <hfiandor at ....>:
>>
>> 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
More information about the Lazarus
mailing list