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

Free Support Forum - aspose.com

Converting BufferedImage to TIFF

Hi,

i use the Aspose Image Lib for create a TIFF from BufferedImage. This process needs about 5 sec on my Notebook, that is to long for my application. Is that processtime normal?

My Methode:
Image image = ImageExtensions.fromJava(this.imageToConvert);
TiffOptions options = new TiffOptions(TiffExpectedFormat.TiffCcittFax4);
image.save(path, options);

The Imageinfo:
A JPEG with 1748x2480
300 dpi
8 Bit

Best regards

Hi Vadim,

Thank you for your inquiry.

Image processing time depends upon many factors. Size and quality of the image also affects the processing time. If you are running the application in debug mode, it also affects the execution time. Please forward us the sample image that you are using at your end. This will help us in further analysis.

Hi,

thank for your help. The problem is that i canĀ“t use the lib, because for my multifunctionprinter the lib size is to big and i get a java heap size exception.

Best regards

Hi Vadim,

Thank you for update. You may try setting the following parameters at your end:

  • Xms
  • Xmx
  • XXMaxPermSize