I have written a servlet to be deployed in Adobe CQ5.5 that uploads images from a hard drive and creates assets for the images in the CQ repository. The images are all high resolution images (tif) and we would like to be able to also create a jpeg image from the tif. The low res image would be associated with an asset page and the high-res would be available for download.
My question is: Is there a way to programmatically convert the images from within CQ? I've searched for solutions to this but have not found any that solve our problem.