We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Tiff to jpg image conversion using aspose

I am trying to convert tiff images to JPG formats using aspose.imaging. Is there an option to set the resultant image’s width and height to 3400 x 4400 by default ?
If so please let me know. I am currently creating a JpegImage with the default width and height and then using graphics class to draw the tiff image onto the created jpeg image. This process takes more time and memory. Is there any other way to set the width and height during conversion of tiff to jpg?


You can use resize should help to achieve the goal. Please visit the following documentation link on your end.

image.Resize(3400, 4400, ResizeType.AdaptiveResample)