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

Free Support Forum - aspose.com

Tiff splitting spent too time


i’m tring to split multi tiff file with aspose imaging, but it spent too time. it’s normal or there is a problem in my code?

here code, also i’ve a licence…

TiffImage multiImage = (TiffImage) Image.load(myDir + myFile);

int frameCounter = 0;
for (TiffFrame tiffFrame : multiImage.getFrames()) {
Color[] pixels = multiImage.loadPixels(tiffFrame.getBounds());
TiffOptions createOptions = new TiffOptions();
createOptions.setSource(new FileCreateSource(String.format(myDir + outputName + frameCounter + “.tiff”), false));
TiffImage tiffImage = (TiffImage) Image.create(createOptions, tiffFrame.getWidth(), tiffFrame.getHeight());
tiffImage.savePixels(tiffFrame.getBounds(), pixels);

thanks your supports.

Hi Cyber,

Please check our response on your other thread, and feel free to write back if you have more concerns or questions.