Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » ElevateDB Technical Support » Support Forums » ElevateDB General » View Thread |
Messages 1 to 10 of 10 total |
Blob field with compression |
Thu, Feb 12 2009 3:36 AM | Permanent Link |
"Hershcu S" | Hello
I defined a blob field and set the compression level to optimal. Then I load a jpeg image into the fiels and save it after and the jpeg file size remain exactly the same. What the compression level does? Thanks Sorin |
Thu, Feb 12 2009 4:09 AM | Permanent Link |
Roy Lambert NLH Associates Team Elevate | Hershcu
It will compress whatever is in the field, however, jpegs are already pretty well compressed so ElevateDB won't be able to do anything. Try it with a bitmap that should show you something happening. Roy Lambert [Team Elevate] |
Sun, Feb 15 2009 7:20 AM | Permanent Link |
"Hershcu S" | > It will compress whatever is in the field, however, jpegs are already
> pretty well compressed so ElevateDB won't be able to do anything. Try it > with a bitmap that should show you something happening. > > Roy Lambert [Team Elevate] > I try with a bmp file and it also remain the same size and exactly the same Sorin |
Sun, Feb 15 2009 8:21 AM | Permanent Link |
Roy Lambert NLH Associates Team Elevate | Hershcu
>I try with a bmp file and it also remain the same size and exactly the same What size bitmap and what is the blob block size? Also what are you measuring - can you quote some figures? Roy Lambert [Team Elevate] |
Sun, Feb 15 2009 10:52 AM | Permanent Link |
"Hershcu S" | > What size bitmap and what is the blob block size? Also what are you > measuring - can you quote some figures? > > Roy Lambert [Team Elevate] The original bmp file is 11,655 KB On the Table after loaded the ElevateDB Manager show 11934054 bytes After SaveToFile from the table again 11,655KB Thanks Sorin |
Sun, Feb 15 2009 1:37 PM | Permanent Link |
Roy Lambert NLH Associates Team Elevate | Hershcu
>The original bmp file is 11,655 KB >After SaveToFile from the table again 11,655KB I'd certainly expect the actual file size to be the same after extracting from the table and saving to file. If it weren't I'd be really worried as you would no longer be able to display it. IE the compression is only for storage in the ElevateDB table. Its compressed as it goes in and decompressed when it comes out. >On the Table after loaded the ElevateDB Manager show 11934054 bytes Where are you getting this from? I don't know anywhere in EDBManager that shows table size (but I'm always prepared to learn). However, you may be missing something. If you've already stored an uncompressible image in the table that space will not be freed until you OPTIMIZE the table. Roy Lambert [Team Elevate] |
Mon, Feb 16 2009 2:51 AM | Permanent Link |
"Hershcu S" | "Roy Lambert" <roy.lambert@skynet.co.uk> wrote in message news:95D25BD6-DE6B-44F1-8760-09C69DBCDB6A@news.elevatesoft.com... > Hershcu > >>The original bmp file is 11,655 KB > >>After SaveToFile from the table again 11,655KB > > I'd certainly expect the actual file size to be the same after extracting > from the table and saving to file. If it weren't I'd be really worried as > you would no longer be able to display it. IE the compression is only for > storage in the ElevateDB table. Its compressed as it goes in and > decompressed when it comes out. > >>On the Table after loaded the ElevateDB Manager show 11934054 bytes > > Where are you getting this from? I don't know anywhere in EDBManager that > shows table size (but I'm always prepared to learn). When I open the table with the EDB Manager, on the columns of the blob field. It show the bytes size of each blob field record. >However, you may be missing something. If you've already stored an >uncompressible image in the table that space will not be freed until you > OPTIMIZE the table. > > Roy Lambert [Team Elevate] No, the blob field was defined as compressed from the begining Thanks Sorin |
Mon, Feb 16 2009 3:14 AM | Permanent Link |
"Hershcu S" | Hello
I make a diferent test I start from an empty table, then append 3 new records with a blob field. On each blob field I load a .Tif file 1318KB size. Then I check the size of .EDBBlb file and it show 3750KB. So where is the compression? Thanks Sorin |
Mon, Feb 16 2009 4:58 AM | Permanent Link |
"Jan-Erik Johansen" | "Hershcu S"
> Hello > > I make a diferent test > I start from an empty table, then append 3 new records with a blob field. > > On each blob field I load a .Tif file 1318KB size. > Then I check the size of .EDBBlb file and it show 3750KB. > > So where is the compression? Sorin, You can't compress a file that is already compressed. Generally, all image format files are compressed in the first place. ex. - jpg - tif -png -gif Examples on files that you can expect to compress are - bmp - txt - rtf - doc (the old word format) - xls (the old excel format) - all sorts of datafiles -- Jan-Erik |
Mon, Feb 16 2009 5:43 AM | Permanent Link |
"Hershcu S" | Thanks
yes with bmp file I can see the compress Sorin "Jan-Erik Johansen" <jej at morpheus dot no> wrote in message news:C8AFA86A-EB4A-4FD6-93E1-CE6EB44B750C@news.elevatesoft.com... > "Hershcu S" >> Hello >> >> I make a diferent test >> I start from an empty table, then append 3 new records with a blob field. >> >> On each blob field I load a .Tif file 1318KB size. >> Then I check the size of .EDBBlb file and it show 3750KB. >> >> So where is the compression? > > Sorin, > > You can't compress a file that is already compressed. > Generally, all image format files are compressed in the first place. > ex. > - jpg > - tif > -png > -gif > > Examples on files that you can expect to compress are > - bmp > - txt > - rtf > - doc (the old word format) > - xls (the old excel format) > - all sorts of datafiles > > -- > Jan-Erik > |
This web page was last updated on Tuesday, April 30, 2024 at 03:55 PM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |