From: bjo-sag@online.no   
      
   "Jim Hargan" wrote in message   
   news:w9sotv4yzww2$.aiehda4esgsi$.dlg@40tude.net...   
   > On Fri, 9 Mar 2007 18:54:54 +0100, Bjorn Sagbakken wrote:   
   >   
   >> Hi   
   >>   
   >> As Bertil has pointed out, Paradox 11 saves JPG files a bit strange.   
   >> There   
   >> is supposed to be some options to alter the compression rate or file   
   >> size. I   
   >> have tried this out myself, and as Bertil concluded, the JPG file does   
   >> not   
   >> change with the options. In fact, the compression is so heavy that the   
   >> images are too much degraded. I have used outside Paradox s/w to manually   
   >> convert Paradox - table images (bmp) to JPG's.   
   >>   
   >> Now, the question here is: Is there an addon to Paradox I can use to   
   >> programmatically read images from Paradox tables and save them as JPG's   
   >> in a   
   >> way that I can decide the compression rate to keep the image quality?   
   >>   
   >> Bjorn   
   >   
   > What Anders said; BMP is uncompressed and so does not degrade. The only   
   > reason to store as JPEG would be to save disk space.   
   >   
   > FWIW, most folk around here only store the path to the graphic file, and   
   > use code to display the graphic in an undefined graphics object. This has   
   > several advantages:   
   > 1. Graphics objects stored in tables are notoriously corruption-prone.   
   > 2. This saves all sorts of space.   
   > 3. You get to manage your graphics with graphics programs instead of a   
   > database program with a few graphics commands.   
      
   There is also another reason to store as JPEG: The very same database is the   
   source to some web-pages, and in that aspect there is a concern for speed an   
   performance. With a high quality JPEG compression, there is very little   
   degrading of the images. My hope was there could be integrated a third-party   
   s/w for this into Paradox.   
      
   You may have some points in storing graphics outside the database, and only   
   storing the path. However, there are also some drawbacks doing this. Reports   
   in Paradox draw images directly from the tables in a very nice way. With the   
   files stored outside the database there will be a problem doing this. The   
   same goes for showing images in a table grid on a form, I do not know how   
   this can be obtained without the images beeing in a Paradox table.   
      
   Bjorn   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   
|