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

Free Support Forum - aspose.com

Tiff splitting spent too time

hi,


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()) {
multiImage.setActiveFrame(tiffFrame);
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);
tiffImage.save();
}
frameCounter++;
}

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.