Full frame gif support

Aspose.Imaging supports full-framed export from gif file format to another multi-pages formats.

Example of export from Gif to full-frame Tiff fileformat

using Aspose.Imaging;
using Aspose.Imaging.FileFormats.Apng;
using Aspose.Imaging.FileFormats.Png;
using Aspose.Imaging.FileFormats.Tiff.Enums;
using Aspose.Imaging.ImageOptions;
using Aspose.Imaging.Sources;
using System.IO;
string templatesFolder = @"c:\Users\USER\Downloads\templates\";
string dataDir = templatesFolder;
using (Image image = Image.Load(dataDir + "template.gif"))
{
image.Save(dataDir + "result.tiff", new TiffOptions(TiffExpectedFormat.TiffDeflateRgb) { MultiPageOptions = new MultiPageOptions(new IntRange(0, 1)), FullFrame = true });
image.Save(dataDir + "result2.tiff", new TiffOptions(TiffExpectedFormat.TiffDeflateRgb) { MultiPageOptions = new MultiPageOptions(new IntRange(0, 1)) });
}
File.Delete(dataDir + "result.tiff");
File.Delete(dataDir + "result2.tiff");

The result file after saving:

Gif animation

Full frame result

Download result

Example of export from Gif to full-frame Pdf fileformat

using Aspose.Imaging;
using Aspose.Imaging.FileFormats.Apng;
using Aspose.Imaging.FileFormats.Png;
using Aspose.Imaging.FileFormats.Tiff.Enums;
using Aspose.Imaging.ImageOptions;
using Aspose.Imaging.Sources;
using System.IO;
string templatesFolder = @"c:\Users\USER\Downloads\templates\";
string dataDir = templatesFolder;
using (Image image = Image.Load(dataDir + "template.gif"))
{
image.Save(dataDir + "result.pdf",
new PdfOptions() { MultiPageOptions = new MultiPageOptions(new IntRange(0, 1)), FullFrame = true });
}
File.Delete(dataDir + "result.pdf");

The result file after saving:

Gif animation

Full frame result

Download result