Using TAdvOfficeImage

I would like to use the capabilities of the TAdvOfficeImage component to support importing images which will be stored in a database. Prior to storing, the image will be resampled to a limited size. I could do this with the TImage component and the ScaleImage function of the GraphUtils unit, but the TAdvOfficeImage is more attractive for its support of various popular formats.

The design specification calls for images to be stored in JPEG format. I have been exploring the component source, but am still unsure how best to accomplish my  goal. Can you help?


TAdvOfficeImage was designed to visualize images in different formats and in different ways on a Delphi form. It is not designed as image conversion / scaling tool though, so there is not directly functionality built-in that will do this.