Note: You must be registered in order to post a reply. To register, click here. Registration is FREE!
T O P I C R E V I E W
EnvisionIT
Posted - Sep 23 2015 : 22:18:47 Have an issue, we use ImageEn to display images / capture images from camera's etc. They are stored in a DB. We have several clients that over time have image db's in the hundreds of GB.
I'd like to write a utility that shrinks the overall size of the image to 800 x 600 and convert the image to a jpg to minimize the physical size of the image.
I've got an TImageEnDBView component on a form. To convert the image to JPG's I've been using the SaveToFile('test.jpg', toJPEG).
Is there an easier way to shrink the image and convert to jpg's?
3 L A T E S T R E P L I E S (Newest First)
xequte
Posted - Sep 27 2015 : 20:54:39 Sorry, that method should be Resample, not Resize. I have updated the example.