Hi.
I keep jpg images stored a dbf/fpt file pair. It works well. Just to give an example leading to my point; at a given customer site 350k jpg images are kept on an 80GB .fpt file.
I just noticed that at a more recent installation, 26k images occupy an .fpt file of 115GB. I'm suspecting that the resolution at which the jpgs were created was very high.
Using BlobExport() I can extract and re-create any single jpg image file from the .fpt. My question is: is there any way to change the resolution on an already existing jpg so that it creates a smaller jpg?
Thank you,
Reinaldo.
jpg resolution
- reinaldocrespo
- Posts: 979
- Joined: Thu Nov 17, 2005 5:49 pm
- Location: Fort Lauderdale, FL
- reinaldocrespo
- Posts: 979
- Joined: Thu Nov 17, 2005 5:49 pm
- Location: Fort Lauderdale, FL
- Rick Lipkin
- Posts: 2668
- Joined: Fri Oct 07, 2005 1:50 pm
- Location: Columbia, South Carolina USA
I use Infranview ( free ) .. It is a viewer conversion ( re-sampling ) image program . .stand alone.
You can download it from here :
http://www.irfanview.com/
Rick Lipkin
SC Dept of Health, USA
You can download it from here :
http://www.irfanview.com/
Rick Lipkin
SC Dept of Health, USA
- RAMESHBABU
- Posts: 626
- Joined: Fri Oct 21, 2005 5:54 am
- Location: Secunderabad (T.S), India
Mr.Reinaldo
I am using BMP2JPG.EXE, a file which converts a BMP file to JPG file
with the require percentage of quality. The Syntax is :
LOCAL cExec := 'BMP2JPG.EXE'
WaitRun(cExec+' -q'+LTRIM(STR(::nJpgQuality,3,0))+' -c' + ;
cOutputFile+' -o -s',0)
Please check your inbox for 'BMP2JPG.EXE'
- Ramesh Babu P
I am using BMP2JPG.EXE, a file which converts a BMP file to JPG file
with the require percentage of quality. The Syntax is :
LOCAL cExec := 'BMP2JPG.EXE'
WaitRun(cExec+' -q'+LTRIM(STR(::nJpgQuality,3,0))+' -c' + ;
cOutputFile+' -o -s',0)
Please check your inbox for 'BMP2JPG.EXE'
- Ramesh Babu P
Hi Reinaldo,
In IrfanView, on the "Save" or "Save as" dialog, below there is a "Show options checkbox".
When clicked, shows the "JPEG/GIF Save Options" dialog.
In the JPG group there is a "Save quality" scroll bar.
Around 55 to 60 saves with a good quality and a good compression (1/10).
HTH
Regards, Euclides
In IrfanView, on the "Save" or "Save as" dialog, below there is a "Show options checkbox".
When clicked, shows the "JPEG/GIF Save Options" dialog.
In the JPG group there is a "Save quality" scroll bar.
Around 55 to 60 saves with a good quality and a good compression (1/10).
HTH
Regards, Euclides
- RAMESHBABU
- Posts: 626
- Joined: Fri Oct 21, 2005 5:54 am
- Location: Secunderabad (T.S), India
You can have a look at "FastStone Image Viewer". It is free and having
lots of features.
http://www.FastStone.org
- Ramesh Babu P
lots of features.
http://www.FastStone.org
- Ramesh Babu P
- reinaldocrespo
- Posts: 979
- Joined: Thu Nov 17, 2005 5:49 pm
- Location: Fort Lauderdale, FL
Thank you very much for all the responses.
I'm going to try with IrfanView. It looks like it will do the job.
My plan is to use source code to extract all the images from the .fpt file creating a single .jpg for each image. Then use the IrfanView's batch convert option to convert each jpg to a lower resolution jpg in one single command.
In the meanwhile I changed my scanning routines to make sure scanning happens at a standarized resolution declared on an .ini file to avoid this **unnecesary** huge files from happening in the future.
Reinaldo.
I'm going to try with IrfanView. It looks like it will do the job.
My plan is to use source code to extract all the images from the .fpt file creating a single .jpg for each image. Then use the IrfanView's batch convert option to convert each jpg to a lower resolution jpg in one single command.
In the meanwhile I changed my scanning routines to make sure scanning happens at a standarized resolution declared on an .ini file to avoid this **unnecesary** huge files from happening in the future.
Reinaldo.