Aspose.Imaging has proved to be a powerful API for working with a variety of image formats. Along with single-page images, Aspose.Imaging also supports manipulating multipage images including GIF, TIFF, PSD, DICOM, CDR, and WebP. You can access pages of a multipage image and export them to a single page or another multipage image format. In this article, I’ll demonstrate how to access pages in multipage GIF, TIFF, PSD, etc and export them to other formats programmatically in C# and Java.
Access Pages in a Multipage Image using C# or Java
To access pages in a multipage image (GIF, TIFF, etc.), Aspose.Imaging provides the IMultipageImage interface. It allows you to get each page of the multipage image. You can explore more about the IMultipageImage interface from the following API reference articles.
The following code samples show how to access pages in a multipage TIFF.
Export Multipage Images in C# and Java
Aspose.Imaging allows you to export a multipage image to another multipage image or a page from a multipage image to a single page image format, i.e. PNG, JPG, etc. You can specify the page number or a range of page numbers to export a multipage image to a single page or another multipage format respectively.
Export Multipage Image to a Single Page Image
The following code samples show how to export a page from a multipage TIFF to a PNG image in C# and Java.
Export Multipage Image to Another Multipage Format
The following code samples show how to export a multipage GIF to a multipage TIFF in C# and Java.
Have any question?
In case you would have any questions or queries, feel free to let us know via our forum.