Subject AW: [IBO] IB_Image compression ??
Author Gerhard Knapp
hi
i use JPG-Files for storing in DB,
they are high compressed with but have true color,
and so high quality ...
- is also good for fetch Pictures out of the db and
send it to browsers (web)
- i don't know whether IB_Image supports jpg or other formats ...


- i use: EDBImage (Freeware) from http://www.torry.net/db_images.htm
- i stored the jpg in a blob-field (foto blob type 0 size 80)
- and in the delphi form i use IBO, TIBOQuery and a normal Datasource
i hope it helps you ...

if you need BMP and cannot use JPG, then a good way could be,
to use ZIP, store the Picture in the zipped format, and extract it
after fetching out of the db ...
-> you could use the Zipmaster Component:
http://www.geocities.com/rjpeters_au/zipmaster.html

regards
-Gerhard



-----Ursprüngliche Nachricht-----
Von: Alan McDonald [mailto:alan@...]
Gesendet: Freitag, 04. Juli 2003 11:50
An: IBObjects@yahoogroups.com
Betreff: [IBO] IB_Image compression ??


I have a client who is determined to save images in the db.. so I gave him
the ability (boo hoo)
So far only 27 bitmaps have been stored making a nice little 12-15Mb
database get to 57Mb in an instant. I'm thinking of the not too distant
future....

I'm using IB_image and it works very nicely... load from file, copy from
clipboard etc...

Is there a nice (easy) way to compress bitmaps before they are stored into a
blob field? (and of course uncompress them on the way out?

thanks
Alan




___________________________________________________________________________
IB Objects - direct, complete, custom connectivity to Firebird or InterBase
without the need for BDE, ODBC or any other layer.
___________________________________________________________________________
http://www.ibobjects.com - your IBO community resource for Tech Info papers,
keyword-searchable FAQ, community code contributions and more !

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/