Last active
February 10, 2022 16:24
-
-
Save aspose-com-gists/2d1bcb9853315458808ffbcd9e7e3e02 to your computer and use it in GitHub Desktop.
Aspose.Imaging for .NET
This gist exceeds the recommended number of files (~10).
To access all files, please clone this gist.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Gist for Aspose.Imaging for .NET. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the APNG file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.apng")) | |
{ | |
// create an instance of BmpOptions | |
var options = new Aspose.Imaging.ImageOptions.BmpOptions(); | |
// save APNG as a BMP | |
image.Save(@"output.bmp", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the APNG file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.apng")) | |
{ | |
// create an instance of DicomOptions | |
var options = new Aspose.Imaging.ImageOptions.DicomOptions(); | |
// save APNG as a DICOM | |
image.Save(@"output.dicom", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the APNG file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.apng")) | |
{ | |
// create an instance of EmfOptions | |
var options = new Aspose.Imaging.ImageOptions.EmfOptions(); | |
// save APNG as a EMF | |
image.Save(@"output.emf", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the APNG file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.apng")) | |
{ | |
// create an instance of EmzOptions | |
var options = new Aspose.Imaging.ImageOptions.EmfOptions(){ Compress = true }; | |
// save APNG as a EMZ | |
image.Save(@"output.emz", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the APNG file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.apng")) | |
{ | |
// create an instance of GifOptions | |
var options = new Aspose.Imaging.ImageOptions.GifOptions(); | |
// save APNG as a GIF | |
image.Save(@"output.gif", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the APNG file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.apng")) | |
{ | |
// create an instance of HtmlOptions | |
var options = new Aspose.Imaging.ImageOptions.Html5CanvasOptions(); | |
// save APNG as a HTML | |
image.Save(@"output.html", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the APNG file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.apng")) | |
{ | |
// create an instance of J2kOptions | |
var options = new Aspose.Imaging.ImageOptions.Jpeg2000Options { Codec = Aspose.Imaging.FileFormats.Jpeg2000.Jpeg2000Codec.J2K }; | |
// save APNG as a J2K | |
image.Save(@"output.j2k", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the APNG file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.apng")) | |
{ | |
// create an instance of Jp2Options | |
var options = new Aspose.Imaging.ImageOptions.Jpeg2000Options { Codec = Aspose.Imaging.FileFormats.Jpeg2000.Jpeg2000Codec.Jp2 }; | |
// save APNG as a JP2 | |
image.Save(@"output.jp2", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the APNG file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.apng")) | |
{ | |
// create an instance of JpgOptions | |
var options = new Aspose.Imaging.ImageOptions.JpegOptions(); | |
// save APNG as a JPG | |
image.Save(@"output.jpg", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the APNG file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.apng")) | |
{ | |
// create an instance of PdfOptions | |
var options = new Aspose.Imaging.ImageOptions.PdfOptions(); | |
// save APNG as a PDF | |
image.Save(@"output.pdf", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the APNG file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.apng")) | |
{ | |
// create an instance of PsdOptions | |
var options = new Aspose.Imaging.ImageOptions.PsdOptions(); | |
// save APNG as a PSD | |
image.Save(@"output.psd", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the APNG file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.apng")) | |
{ | |
// create an instance of SvgOptions | |
var options = new Aspose.Imaging.ImageOptions.SvgOptions(); | |
// save APNG as a SVG | |
image.Save(@"output.svg", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the APNG file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.apng")) | |
{ | |
// create an instance of SvgzOptions | |
var options = new Aspose.Imaging.ImageOptions.SvgOptions(){ Compress = true }; | |
// save APNG as a SVGZ | |
image.Save(@"output.svgz", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the APNG file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.apng")) | |
{ | |
// create an instance of TgaOptions | |
var options = new Aspose.Imaging.ImageOptions.TgaOptions(); | |
// save APNG as a TGA | |
image.Save(@"output.tga", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the APNG file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.apng")) | |
{ | |
// create an instance of TiffOptions | |
var options = new Aspose.Imaging.ImageOptions.TiffOptions(Aspose.Imaging.FileFormats.Tiff.Enums.TiffExpectedFormat.Default); | |
// save APNG as a TIFF | |
image.Save(@"output.tiff", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the APNG file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.apng")) | |
{ | |
// create an instance of WebpOptions | |
var options = new Aspose.Imaging.ImageOptions.WebPOptions(); | |
// save APNG as a WEBP | |
image.Save(@"output.webp", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the APNG file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.apng")) | |
{ | |
// create an instance of WmfOptions | |
var options = new Aspose.Imaging.ImageOptions.WmfOptions(); | |
// save APNG as a WMF | |
image.Save(@"output.wmf", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the APNG file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.apng")) | |
{ | |
// create an instance of WmzOptions | |
var options = new Aspose.Imaging.ImageOptions.WmfOptions(){ Compress = true }; | |
// save APNG as a WMZ | |
image.Save(@"output.wmz", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the BMP file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.bmp")) | |
{ | |
// create an instance of DicomOptions | |
var options = new Aspose.Imaging.ImageOptions.DicomOptions(); | |
// save BMP as a DICOM | |
image.Save(@"output.dicom", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the BMP file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.bmp")) | |
{ | |
// create an instance of EmfOptions | |
var options = new Aspose.Imaging.ImageOptions.EmfOptions(); | |
// save BMP as a EMF | |
image.Save(@"output.emf", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the BMP file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.bmp")) | |
{ | |
// create an instance of EmzOptions | |
var options = new Aspose.Imaging.ImageOptions.EmfOptions(){ Compress = true }; | |
// save BMP as a EMZ | |
image.Save(@"output.emz", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the BMP file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.bmp")) | |
{ | |
// create an instance of GifOptions | |
var options = new Aspose.Imaging.ImageOptions.GifOptions(); | |
// save BMP as a GIF | |
image.Save(@"output.gif", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the BMP file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.bmp")) | |
{ | |
// create an instance of HtmlOptions | |
var options = new Aspose.Imaging.ImageOptions.Html5CanvasOptions(); | |
// save BMP as a HTML | |
image.Save(@"output.html", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the BMP file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.bmp")) | |
{ | |
// create an instance of J2kOptions | |
var options = new Aspose.Imaging.ImageOptions.Jpeg2000Options { Codec = Aspose.Imaging.FileFormats.Jpeg2000.Jpeg2000Codec.J2K }; | |
// save BMP as a J2K | |
image.Save(@"output.j2k", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the BMP file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.bmp")) | |
{ | |
// create an instance of Jp2Options | |
var options = new Aspose.Imaging.ImageOptions.Jpeg2000Options { Codec = Aspose.Imaging.FileFormats.Jpeg2000.Jpeg2000Codec.Jp2 }; | |
// save BMP as a JP2 | |
image.Save(@"output.jp2", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the BMP file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.bmp")) | |
{ | |
// create an instance of JpegOptions | |
var options = new Aspose.Imaging.ImageOptions.JpegOptions(); | |
// save BMP as a JPEG | |
image.Save(@"output.jpeg", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the BMP file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.bmp")) | |
{ | |
// create an instance of Jpeg2000Options | |
var options = new Aspose.Imaging.ImageOptions.Jpeg2000Options(); | |
// save BMP as a JPEG2000 | |
image.Save(@"output.jpeg2000", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the BMP file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.bmp")) | |
{ | |
// create an instance of JpgOptions | |
var options = new Aspose.Imaging.ImageOptions.JpegOptions(); | |
// save BMP as a JPG | |
image.Save(@"output.jpg", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the BMP file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.bmp")) | |
{ | |
// create an instance of PdfOptions | |
var options = new Aspose.Imaging.ImageOptions.PdfOptions(); | |
// save BMP as a PDF | |
image.Save(@"output.pdf", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the BMP file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.bmp")) | |
{ | |
// create an instance of PngOptions | |
var options = new Aspose.Imaging.ImageOptions.PngOptions(); | |
// save BMP as a PNG | |
image.Save(@"output.png", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the BMP file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.bmp")) | |
{ | |
// create an instance of PsdOptions | |
var options = new Aspose.Imaging.ImageOptions.PsdOptions(); | |
// save BMP as a PSD | |
image.Save(@"output.psd", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the BMP file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.bmp")) | |
{ | |
// create an instance of SvgOptions | |
var options = new Aspose.Imaging.ImageOptions.SvgOptions(); | |
// save BMP as a SVG | |
image.Save(@"output.svg", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the BMP file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.bmp")) | |
{ | |
// create an instance of SvgzOptions | |
var options = new Aspose.Imaging.ImageOptions.SvgOptions(){ Compress = true }; | |
// save BMP as a SVGZ | |
image.Save(@"output.svgz", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the BMP file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.bmp")) | |
{ | |
// create an instance of TgaOptions | |
var options = new Aspose.Imaging.ImageOptions.TgaOptions(); | |
// save BMP as a TGA | |
image.Save(@"output.tga", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the BMP file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.bmp")) | |
{ | |
// create an instance of TiffOptions | |
var options = new Aspose.Imaging.ImageOptions.TiffOptions(Aspose.Imaging.FileFormats.Tiff.Enums.TiffExpectedFormat.Default); | |
// save BMP as a TIFF | |
image.Save(@"output.tiff", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the BMP file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.bmp")) | |
{ | |
// create an instance of WebpOptions | |
var options = new Aspose.Imaging.ImageOptions.WebPOptions(); | |
// save BMP as a WEBP | |
image.Save(@"output.webp", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the BMP file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.bmp")) | |
{ | |
// create an instance of WmfOptions | |
var options = new Aspose.Imaging.ImageOptions.WmfOptions(); | |
// save BMP as a WMF | |
image.Save(@"output.wmf", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the BMP file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.bmp")) | |
{ | |
// create an instance of WmzOptions | |
var options = new Aspose.Imaging.ImageOptions.WmfOptions(){ Compress = true }; | |
// save BMP as a WMZ | |
image.Save(@"output.wmz", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the CDR file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.cdr")) | |
{ | |
// create an instance of ApngOptions | |
var options = new Aspose.Imaging.ImageOptions.ApngOptions(); | |
// save CDR as a APNG | |
image.Save(@"output.apng", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the CDR file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.cdr")) | |
{ | |
// create an instance of BmpOptions | |
var options = new Aspose.Imaging.ImageOptions.BmpOptions(); | |
// save CDR as a BMP | |
image.Save(@"output.bmp", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the CDR file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.cdr")) | |
{ | |
// create an instance of DicomOptions | |
var options = new Aspose.Imaging.ImageOptions.DicomOptions(); | |
// save CDR as a DICOM | |
image.Save(@"output.dicom", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the CDR file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.cdr")) | |
{ | |
// create an instance of EmfOptions | |
var options = new Aspose.Imaging.ImageOptions.EmfOptions(); | |
// save CDR as a EMF | |
image.Save(@"output.emf", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the CDR file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.cdr")) | |
{ | |
// create an instance of EmzOptions | |
var options = new Aspose.Imaging.ImageOptions.EmfOptions(){ Compress = true }; | |
// save CDR as a EMZ | |
image.Save(@"output.emz", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the CDR file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.cdr")) | |
{ | |
// create an instance of GifOptions | |
var options = new Aspose.Imaging.ImageOptions.GifOptions(); | |
// save CDR as a GIF | |
image.Save(@"output.gif", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the CDR file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.cdr")) | |
{ | |
// create an instance of HtmlOptions | |
var options = new Aspose.Imaging.ImageOptions.Html5CanvasOptions(); | |
// save CDR as a HTML | |
image.Save(@"output.html", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the CDR file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.cdr")) | |
{ | |
// create an instance of J2kOptions | |
var options = new Aspose.Imaging.ImageOptions.Jpeg2000Options { Codec = Aspose.Imaging.FileFormats.Jpeg2000.Jpeg2000Codec.J2K }; | |
// save CDR as a J2K | |
image.Save(@"output.j2k", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the CDR file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.cdr")) | |
{ | |
// create an instance of Jp2Options | |
var options = new Aspose.Imaging.ImageOptions.Jpeg2000Options { Codec = Aspose.Imaging.FileFormats.Jpeg2000.Jpeg2000Codec.Jp2 }; | |
// save CDR as a JP2 | |
image.Save(@"output.jp2", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the CDR file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.cdr")) | |
{ | |
// create an instance of JpegOptions | |
var options = new Aspose.Imaging.ImageOptions.JpegOptions(); | |
// save CDR as a JPEG | |
image.Save(@"output.jpeg", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the CDR file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.cdr")) | |
{ | |
// create an instance of JpgOptions | |
var options = new Aspose.Imaging.ImageOptions.JpegOptions(); | |
// save CDR as a JPG | |
image.Save(@"output.jpg", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the CDR file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.cdr")) | |
{ | |
// create an instance of PdfOptions | |
var options = new Aspose.Imaging.ImageOptions.PdfOptions(); | |
// save CDR as a PDF | |
image.Save(@"output.pdf", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the CDR file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.cdr")) | |
{ | |
// create an instance of PngOptions | |
var options = new Aspose.Imaging.ImageOptions.PngOptions(); | |
// save CDR as a PNG | |
image.Save(@"output.png", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the CDR file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.cdr")) | |
{ | |
// create an instance of PsdOptions | |
var options = new Aspose.Imaging.ImageOptions.PsdOptions(); | |
// save CDR as a PSD | |
image.Save(@"output.psd", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the CDR file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.cdr")) | |
{ | |
// create an instance of SvgOptions | |
var options = new Aspose.Imaging.ImageOptions.SvgOptions(); | |
// save CDR as a SVG | |
image.Save(@"output.svg", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the CDR file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.cdr")) | |
{ | |
// create an instance of SvgzOptions | |
var options = new Aspose.Imaging.ImageOptions.SvgOptions(){ Compress = true }; | |
// save CDR as a SVGZ | |
image.Save(@"output.svgz", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the CDR file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.cdr")) | |
{ | |
// create an instance of TgaOptions | |
var options = new Aspose.Imaging.ImageOptions.TgaOptions(); | |
// save CDR as a TGA | |
image.Save(@"output.tga", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the CDR file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.cdr")) | |
{ | |
// create an instance of TiffOptions | |
var options = new Aspose.Imaging.ImageOptions.TiffOptions(Aspose.Imaging.FileFormats.Tiff.Enums.TiffExpectedFormat.Default); | |
// save CDR as a TIFF | |
image.Save(@"output.tiff", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the CDR file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.cdr")) | |
{ | |
// create an instance of WebpOptions | |
var options = new Aspose.Imaging.ImageOptions.WebPOptions(); | |
// save CDR as a WEBP | |
image.Save(@"output.webp", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the CDR file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.cdr")) | |
{ | |
// create an instance of WmfOptions | |
var options = new Aspose.Imaging.ImageOptions.WmfOptions(); | |
// save CDR as a WMF | |
image.Save(@"output.wmf", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the CDR file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.cdr")) | |
{ | |
// create an instance of WmzOptions | |
var options = new Aspose.Imaging.ImageOptions.WmfOptions(){ Compress = true }; | |
// save CDR as a WMZ | |
image.Save(@"output.wmz", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the CMX file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.cmx")) | |
{ | |
// create an instance of ApngOptions | |
var options = new Aspose.Imaging.ImageOptions.ApngOptions(); | |
// save CMX as a APNG | |
image.Save(@"output.apng", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the CMX file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.cmx")) | |
{ | |
// create an instance of BmpOptions | |
var options = new Aspose.Imaging.ImageOptions.BmpOptions(); | |
// save CMX as a BMP | |
image.Save(@"output.bmp", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the CMX file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.cmx")) | |
{ | |
// create an instance of DicomOptions | |
var options = new Aspose.Imaging.ImageOptions.DicomOptions(); | |
// save CMX as a DICOM | |
image.Save(@"output.dicom", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the CMX file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.cmx")) | |
{ | |
// create an instance of EmfOptions | |
var options = new Aspose.Imaging.ImageOptions.EmfOptions(); | |
// save CMX as a EMF | |
image.Save(@"output.emf", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the CMX file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.cmx")) | |
{ | |
// create an instance of EmzOptions | |
var options = new Aspose.Imaging.ImageOptions.EmfOptions(){ Compress = true }; | |
// save CMX as a EMZ | |
image.Save(@"output.emz", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the CMX file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.cmx")) | |
{ | |
// create an instance of GifOptions | |
var options = new Aspose.Imaging.ImageOptions.GifOptions(); | |
// save CMX as a GIF | |
image.Save(@"output.gif", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the CMX file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.cmx")) | |
{ | |
// create an instance of HtmlOptions | |
var options = new Aspose.Imaging.ImageOptions.Html5CanvasOptions(); | |
// save CMX as a HTML | |
image.Save(@"output.html", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the CMX file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.cmx")) | |
{ | |
// create an instance of J2kOptions | |
var options = new Aspose.Imaging.ImageOptions.Jpeg2000Options { Codec = Aspose.Imaging.FileFormats.Jpeg2000.Jpeg2000Codec.J2K }; | |
// save CMX as a J2K | |
image.Save(@"output.j2k", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the CMX file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.cmx")) | |
{ | |
// create an instance of Jp2Options | |
var options = new Aspose.Imaging.ImageOptions.Jpeg2000Options { Codec = Aspose.Imaging.FileFormats.Jpeg2000.Jpeg2000Codec.Jp2 }; | |
// save CMX as a JP2 | |
image.Save(@"output.jp2", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the CMX file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.cmx")) | |
{ | |
// create an instance of JpegOptions | |
var options = new Aspose.Imaging.ImageOptions.JpegOptions(); | |
// save CMX as a JPEG | |
image.Save(@"output.jpeg", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the CMX file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.cmx")) | |
{ | |
// create an instance of JpgOptions | |
var options = new Aspose.Imaging.ImageOptions.JpegOptions(); | |
// save CMX as a JPG | |
image.Save(@"output.jpg", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the CMX file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.cmx")) | |
{ | |
// create an instance of PdfOptions | |
var options = new Aspose.Imaging.ImageOptions.PdfOptions(); | |
// save CMX as a PDF | |
image.Save(@"output.pdf", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the CMX file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.cmx")) | |
{ | |
// create an instance of PngOptions | |
var options = new Aspose.Imaging.ImageOptions.PngOptions(); | |
// save CMX as a PNG | |
image.Save(@"output.png", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the CMX file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.cmx")) | |
{ | |
// create an instance of PsdOptions | |
var options = new Aspose.Imaging.ImageOptions.PsdOptions(); | |
// save CMX as a PSD | |
image.Save(@"output.psd", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the CMX file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.cmx")) | |
{ | |
// create an instance of SvgOptions | |
var options = new Aspose.Imaging.ImageOptions.SvgOptions(); | |
// save CMX as a SVG | |
image.Save(@"output.svg", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the CMX file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.cmx")) | |
{ | |
// create an instance of SvgzOptions | |
var options = new Aspose.Imaging.ImageOptions.SvgOptions(){ Compress = true }; | |
// save CMX as a SVGZ | |
image.Save(@"output.svgz", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the CMX file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.cmx")) | |
{ | |
// create an instance of TgaOptions | |
var options = new Aspose.Imaging.ImageOptions.TgaOptions(); | |
// save CMX as a TGA | |
image.Save(@"output.tga", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the CMX file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.cmx")) | |
{ | |
// create an instance of TiffOptions | |
var options = new Aspose.Imaging.ImageOptions.TiffOptions(Aspose.Imaging.FileFormats.Tiff.Enums.TiffExpectedFormat.Default); | |
// save CMX as a TIFF | |
image.Save(@"output.tiff", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the CMX file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.cmx")) | |
{ | |
// create an instance of WebpOptions | |
var options = new Aspose.Imaging.ImageOptions.WebPOptions(); | |
// save CMX as a WEBP | |
image.Save(@"output.webp", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the CMX file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.cmx")) | |
{ | |
// create an instance of WmfOptions | |
var options = new Aspose.Imaging.ImageOptions.WmfOptions(); | |
// save CMX as a WMF | |
image.Save(@"output.wmf", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the CMX file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.cmx")) | |
{ | |
// create an instance of WmzOptions | |
var options = new Aspose.Imaging.ImageOptions.WmfOptions(){ Compress = true }; | |
// save CMX as a WMZ | |
image.Save(@"output.wmz", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the DIB file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.dib")) | |
{ | |
// create an instance of BmpOptions | |
var options = new Aspose.Imaging.ImageOptions.BmpOptions(); | |
// save DIB as a BMP | |
image.Save(@"output.bmp", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the DIB file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.dib")) | |
{ | |
// create an instance of DicomOptions | |
var options = new Aspose.Imaging.ImageOptions.DicomOptions(); | |
// save DIB as a DICOM | |
image.Save(@"output.dicom", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the DIB file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.dib")) | |
{ | |
// create an instance of EmfOptions | |
var options = new Aspose.Imaging.ImageOptions.EmfOptions(); | |
// save DIB as a EMF | |
image.Save(@"output.emf", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the DIB file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.dib")) | |
{ | |
// create an instance of EmzOptions | |
var options = new Aspose.Imaging.ImageOptions.EmfOptions(){ Compress = true }; | |
// save DIB as a EMZ | |
image.Save(@"output.emz", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the DIB file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.dib")) | |
{ | |
// create an instance of GifOptions | |
var options = new Aspose.Imaging.ImageOptions.GifOptions(); | |
// save DIB as a GIF | |
image.Save(@"output.gif", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the DIB file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.dib")) | |
{ | |
// create an instance of HtmlOptions | |
var options = new Aspose.Imaging.ImageOptions.Html5CanvasOptions(); | |
// save DIB as a HTML | |
image.Save(@"output.html", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the DIB file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.dib")) | |
{ | |
// create an instance of J2kOptions | |
var options = new Aspose.Imaging.ImageOptions.Jpeg2000Options { Codec = Aspose.Imaging.FileFormats.Jpeg2000.Jpeg2000Codec.J2K }; | |
// save DIB as a J2K | |
image.Save(@"output.j2k", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the DIB file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.dib")) | |
{ | |
// create an instance of Jp2Options | |
var options = new Aspose.Imaging.ImageOptions.Jpeg2000Options { Codec = Aspose.Imaging.FileFormats.Jpeg2000.Jpeg2000Codec.Jp2 }; | |
// save DIB as a JP2 | |
image.Save(@"output.jp2", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the DIB file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.dib")) | |
{ | |
// create an instance of JpegOptions | |
var options = new Aspose.Imaging.ImageOptions.JpegOptions(); | |
// save DIB as a JPEG | |
image.Save(@"output.jpeg", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the DIB file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.dib")) | |
{ | |
// create an instance of JpgOptions | |
var options = new Aspose.Imaging.ImageOptions.JpegOptions(); | |
// save DIB as a JPG | |
image.Save(@"output.jpg", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the DIB file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.dib")) | |
{ | |
// create an instance of PdfOptions | |
var options = new Aspose.Imaging.ImageOptions.PdfOptions(); | |
// save DIB as a PDF | |
image.Save(@"output.pdf", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the DIB file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.dib")) | |
{ | |
// create an instance of PngOptions | |
var options = new Aspose.Imaging.ImageOptions.PngOptions(); | |
// save DIB as a PNG | |
image.Save(@"output.png", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the DIB file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.dib")) | |
{ | |
// create an instance of PsdOptions | |
var options = new Aspose.Imaging.ImageOptions.PsdOptions(); | |
// save DIB as a PSD | |
image.Save(@"output.psd", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the DIB file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.dib")) | |
{ | |
// create an instance of SvgOptions | |
var options = new Aspose.Imaging.ImageOptions.SvgOptions(); | |
// save DIB as a SVG | |
image.Save(@"output.svg", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the DIB file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.dib")) | |
{ | |
// create an instance of SvgzOptions | |
var options = new Aspose.Imaging.ImageOptions.SvgOptions(){ Compress = true }; | |
// save DIB as a SVGZ | |
image.Save(@"output.svgz", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the DIB file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.dib")) | |
{ | |
// create an instance of TgaOptions | |
var options = new Aspose.Imaging.ImageOptions.TgaOptions(); | |
// save DIB as a TGA | |
image.Save(@"output.tga", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the DIB file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.dib")) | |
{ | |
// create an instance of TiffOptions | |
var options = new Aspose.Imaging.ImageOptions.TiffOptions(Aspose.Imaging.FileFormats.Tiff.Enums.TiffExpectedFormat.Default); | |
// save DIB as a TIFF | |
image.Save(@"output.tiff", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the DIB file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.dib")) | |
{ | |
// create an instance of WebpOptions | |
var options = new Aspose.Imaging.ImageOptions.WebPOptions(); | |
// save DIB as a WEBP | |
image.Save(@"output.webp", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the DIB file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.dib")) | |
{ | |
// create an instance of WmfOptions | |
var options = new Aspose.Imaging.ImageOptions.WmfOptions(); | |
// save DIB as a WMF | |
image.Save(@"output.wmf", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the DIB file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.dib")) | |
{ | |
// create an instance of WmzOptions | |
var options = new Aspose.Imaging.ImageOptions.WmfOptions(){ Compress = true }; | |
// save DIB as a WMZ | |
image.Save(@"output.wmz", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the DICOM file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.dicom")) | |
{ | |
// create an instance of ApngOptions | |
var options = new Aspose.Imaging.ImageOptions.ApngOptions(); | |
// save DICOM as a APNG | |
image.Save(@"output.apng", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the DICOM file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.dicom")) | |
{ | |
// create an instance of BmpOptions | |
var options = new Aspose.Imaging.ImageOptions.BmpOptions(); | |
// save DICOM as a BMP | |
image.Save(@"output.bmp", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the DICOM file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.dicom")) | |
{ | |
// create an instance of EmfOptions | |
var options = new Aspose.Imaging.ImageOptions.EmfOptions(); | |
// save DICOM as a EMF | |
image.Save(@"output.emf", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the DICOM file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.dicom")) | |
{ | |
// create an instance of EmzOptions | |
var options = new Aspose.Imaging.ImageOptions.EmfOptions(){ Compress = true }; | |
// save DICOM as a EMZ | |
image.Save(@"output.emz", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the DICOM file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.dicom")) | |
{ | |
// create an instance of GifOptions | |
var options = new Aspose.Imaging.ImageOptions.GifOptions(); | |
// save DICOM as a GIF | |
image.Save(@"output.gif", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the DICOM file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.dicom")) | |
{ | |
// create an instance of HtmlOptions | |
var options = new Aspose.Imaging.ImageOptions.Html5CanvasOptions(); | |
// save DICOM as a HTML | |
image.Save(@"output.html", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the DICOM file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.dicom")) | |
{ | |
// create an instance of J2kOptions | |
var options = new Aspose.Imaging.ImageOptions.Jpeg2000Options { Codec = Aspose.Imaging.FileFormats.Jpeg2000.Jpeg2000Codec.J2K }; | |
// save DICOM as a J2K | |
image.Save(@"output.j2k", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the DICOM file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.dicom")) | |
{ | |
// create an instance of Jp2Options | |
var options = new Aspose.Imaging.ImageOptions.Jpeg2000Options { Codec = Aspose.Imaging.FileFormats.Jpeg2000.Jpeg2000Codec.Jp2 }; | |
// save DICOM as a JP2 | |
image.Save(@"output.jp2", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the DICOM file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.dicom")) | |
{ | |
// create an instance of JpegOptions | |
var options = new Aspose.Imaging.ImageOptions.JpegOptions(); | |
// save DICOM as a JPEG | |
image.Save(@"output.jpeg", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the DICOM file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.dicom")) | |
{ | |
// create an instance of JpgOptions | |
var options = new Aspose.Imaging.ImageOptions.JpegOptions(); | |
// save DICOM as a JPG | |
image.Save(@"output.jpg", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the DICOM file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.dicom")) | |
{ | |
// create an instance of PdfOptions | |
var options = new Aspose.Imaging.ImageOptions.PdfOptions(); | |
// save DICOM as a PDF | |
image.Save(@"output.pdf", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the DICOM file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.dicom")) | |
{ | |
// create an instance of PngOptions | |
var options = new Aspose.Imaging.ImageOptions.PngOptions(); | |
// save DICOM as a PNG | |
image.Save(@"output.png", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the DICOM file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.dicom")) | |
{ | |
// create an instance of PsdOptions | |
var options = new Aspose.Imaging.ImageOptions.PsdOptions(); | |
// save DICOM as a PSD | |
image.Save(@"output.psd", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the DICOM file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.dicom")) | |
{ | |
// create an instance of SvgOptions | |
var options = new Aspose.Imaging.ImageOptions.SvgOptions(); | |
// save DICOM as a SVG | |
image.Save(@"output.svg", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the DICOM file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.dicom")) | |
{ | |
// create an instance of SvgzOptions | |
var options = new Aspose.Imaging.ImageOptions.SvgOptions(){ Compress = true }; | |
// save DICOM as a SVGZ | |
image.Save(@"output.svgz", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the DICOM file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.dicom")) | |
{ | |
// create an instance of TgaOptions | |
var options = new Aspose.Imaging.ImageOptions.TgaOptions(); | |
// save DICOM as a TGA | |
image.Save(@"output.tga", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the DICOM file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.dicom")) | |
{ | |
// create an instance of TiffOptions | |
var options = new Aspose.Imaging.ImageOptions.TiffOptions(Aspose.Imaging.FileFormats.Tiff.Enums.TiffExpectedFormat.Default); | |
// save DICOM as a TIFF | |
image.Save(@"output.tiff", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the DICOM file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.dicom")) | |
{ | |
// create an instance of WebpOptions | |
var options = new Aspose.Imaging.ImageOptions.WebPOptions(); | |
// save DICOM as a WEBP | |
image.Save(@"output.webp", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the DICOM file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.dicom")) | |
{ | |
// create an instance of WmfOptions | |
var options = new Aspose.Imaging.ImageOptions.WmfOptions(); | |
// save DICOM as a WMF | |
image.Save(@"output.wmf", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the DICOM file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.dicom")) | |
{ | |
// create an instance of WmzOptions | |
var options = new Aspose.Imaging.ImageOptions.WmfOptions(){ Compress = true }; | |
// save DICOM as a WMZ | |
image.Save(@"output.wmz", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the DJVU file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.djvu")) | |
{ | |
// create an instance of ApngOptions | |
var options = new Aspose.Imaging.ImageOptions.ApngOptions(); | |
// save DJVU as a APNG | |
image.Save(@"output.apng", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the DJVU file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.djvu")) | |
{ | |
// create an instance of BmpOptions | |
var options = new Aspose.Imaging.ImageOptions.BmpOptions(); | |
// save DJVU as a BMP | |
image.Save(@"output.bmp", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the DJVU file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.djvu")) | |
{ | |
// create an instance of DicomOptions | |
var options = new Aspose.Imaging.ImageOptions.DicomOptions(); | |
// save DJVU as a DICOM | |
image.Save(@"output.dicom", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the DJVU file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.djvu")) | |
{ | |
// create an instance of EmfOptions | |
var options = new Aspose.Imaging.ImageOptions.EmfOptions(); | |
// save DJVU as a EMF | |
image.Save(@"output.emf", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the DJVU file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.djvu")) | |
{ | |
// create an instance of EmzOptions | |
var options = new Aspose.Imaging.ImageOptions.EmfOptions(){ Compress = true }; | |
// save DJVU as a EMZ | |
image.Save(@"output.emz", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the DJVU file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.djvu")) | |
{ | |
// create an instance of GifOptions | |
var options = new Aspose.Imaging.ImageOptions.GifOptions(); | |
// save DJVU as a GIF | |
image.Save(@"output.gif", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the DJVU file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.djvu")) | |
{ | |
// create an instance of HtmlOptions | |
var options = new Aspose.Imaging.ImageOptions.Html5CanvasOptions(); | |
// save DJVU as a HTML | |
image.Save(@"output.html", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the DJVU file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.djvu")) | |
{ | |
// create an instance of J2kOptions | |
var options = new Aspose.Imaging.ImageOptions.Jpeg2000Options { Codec = Aspose.Imaging.FileFormats.Jpeg2000.Jpeg2000Codec.J2K }; | |
// save DJVU as a J2K | |
image.Save(@"output.j2k", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the DJVU file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.djvu")) | |
{ | |
// create an instance of Jp2Options | |
var options = new Aspose.Imaging.ImageOptions.Jpeg2000Options { Codec = Aspose.Imaging.FileFormats.Jpeg2000.Jpeg2000Codec.Jp2 }; | |
// save DJVU as a JP2 | |
image.Save(@"output.jp2", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the DJVU file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.djvu")) | |
{ | |
// create an instance of JpegOptions | |
var options = new Aspose.Imaging.ImageOptions.JpegOptions(); | |
// save DJVU as a JPEG | |
image.Save(@"output.jpeg", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the DJVU file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.djvu")) | |
{ | |
// create an instance of JpgOptions | |
var options = new Aspose.Imaging.ImageOptions.JpegOptions(); | |
// save DJVU as a JPG | |
image.Save(@"output.jpg", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the DJVU file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.djvu")) | |
{ | |
// create an instance of PdfOptions | |
var options = new Aspose.Imaging.ImageOptions.PdfOptions(); | |
// save DJVU as a PDF | |
image.Save(@"output.pdf", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the DJVU file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.djvu")) | |
{ | |
// create an instance of PngOptions | |
var options = new Aspose.Imaging.ImageOptions.PngOptions(); | |
// save DJVU as a PNG | |
image.Save(@"output.png", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the DJVU file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.djvu")) | |
{ | |
// create an instance of PsdOptions | |
var options = new Aspose.Imaging.ImageOptions.PsdOptions(); | |
// save DJVU as a PSD | |
image.Save(@"output.psd", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the DJVU file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.djvu")) | |
{ | |
// create an instance of SvgOptions | |
var options = new Aspose.Imaging.ImageOptions.SvgOptions(); | |
// save DJVU as a SVG | |
image.Save(@"output.svg", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the DJVU file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.djvu")) | |
{ | |
// create an instance of SvgzOptions | |
var options = new Aspose.Imaging.ImageOptions.SvgOptions(){ Compress = true }; | |
// save DJVU as a SVGZ | |
image.Save(@"output.svgz", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the DJVU file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.djvu")) | |
{ | |
// create an instance of TgaOptions | |
var options = new Aspose.Imaging.ImageOptions.TgaOptions(); | |
// save DJVU as a TGA | |
image.Save(@"output.tga", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the DJVU file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.djvu")) | |
{ | |
// create an instance of TiffOptions | |
var options = new Aspose.Imaging.ImageOptions.TiffOptions(Aspose.Imaging.FileFormats.Tiff.Enums.TiffExpectedFormat.Default); | |
// save DJVU as a TIFF | |
image.Save(@"output.tiff", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the DJVU file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.djvu")) | |
{ | |
// create an instance of WebpOptions | |
var options = new Aspose.Imaging.ImageOptions.WebPOptions(); | |
// save DJVU as a WEBP | |
image.Save(@"output.webp", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the DJVU file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.djvu")) | |
{ | |
// create an instance of WmfOptions | |
var options = new Aspose.Imaging.ImageOptions.WmfOptions(); | |
// save DJVU as a WMF | |
image.Save(@"output.wmf", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the DJVU file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.djvu")) | |
{ | |
// create an instance of WmzOptions | |
var options = new Aspose.Imaging.ImageOptions.WmfOptions(){ Compress = true }; | |
// save DJVU as a WMZ | |
image.Save(@"output.wmz", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the DNG file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.dng")) | |
{ | |
// create an instance of BmpOptions | |
var options = new Aspose.Imaging.ImageOptions.BmpOptions(); | |
// save DNG as a BMP | |
image.Save(@"output.bmp", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the DNG file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.dng")) | |
{ | |
// create an instance of DicomOptions | |
var options = new Aspose.Imaging.ImageOptions.DicomOptions(); | |
// save DNG as a DICOM | |
image.Save(@"output.dicom", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the DNG file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.dng")) | |
{ | |
// create an instance of EmfOptions | |
var options = new Aspose.Imaging.ImageOptions.EmfOptions(); | |
// save DNG as a EMF | |
image.Save(@"output.emf", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the DNG file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.dng")) | |
{ | |
// create an instance of EmzOptions | |
var options = new Aspose.Imaging.ImageOptions.EmfOptions(){ Compress = true }; | |
// save DNG as a EMZ | |
image.Save(@"output.emz", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the DNG file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.dng")) | |
{ | |
// create an instance of GifOptions | |
var options = new Aspose.Imaging.ImageOptions.GifOptions(); | |
// save DNG as a GIF | |
image.Save(@"output.gif", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the DNG file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.dng")) | |
{ | |
// create an instance of HtmlOptions | |
var options = new Aspose.Imaging.ImageOptions.Html5CanvasOptions(); | |
// save DNG as a HTML | |
image.Save(@"output.html", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the DNG file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.dng")) | |
{ | |
// create an instance of J2kOptions | |
var options = new Aspose.Imaging.ImageOptions.Jpeg2000Options { Codec = Aspose.Imaging.FileFormats.Jpeg2000.Jpeg2000Codec.J2K }; | |
// save DNG as a J2K | |
image.Save(@"output.j2k", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the DNG file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.dng")) | |
{ | |
// create an instance of Jp2Options | |
var options = new Aspose.Imaging.ImageOptions.Jpeg2000Options { Codec = Aspose.Imaging.FileFormats.Jpeg2000.Jpeg2000Codec.Jp2 }; | |
// save DNG as a JP2 | |
image.Save(@"output.jp2", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the DNG file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.dng")) | |
{ | |
// create an instance of JpegOptions | |
var options = new Aspose.Imaging.ImageOptions.JpegOptions(); | |
// save DNG as a JPEG | |
image.Save(@"output.jpeg", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the DNG file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.dng")) | |
{ | |
// create an instance of JpgOptions | |
var options = new Aspose.Imaging.ImageOptions.JpegOptions(); | |
// save DNG as a JPG | |
image.Save(@"output.jpg", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the DNG file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.dng")) | |
{ | |
// create an instance of PdfOptions | |
var options = new Aspose.Imaging.ImageOptions.PdfOptions(); | |
// save DNG as a PDF | |
image.Save(@"output.pdf", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the DNG file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.dng")) | |
{ | |
// create an instance of PngOptions | |
var options = new Aspose.Imaging.ImageOptions.PngOptions(); | |
// save DNG as a PNG | |
image.Save(@"output.png", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the DNG file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.dng")) | |
{ | |
// create an instance of PsdOptions | |
var options = new Aspose.Imaging.ImageOptions.PsdOptions(); | |
// save DNG as a PSD | |
image.Save(@"output.psd", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the DNG file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.dng")) | |
{ | |
// create an instance of SvgOptions | |
var options = new Aspose.Imaging.ImageOptions.SvgOptions(); | |
// save DNG as a SVG | |
image.Save(@"output.svg", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the DNG file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.dng")) | |
{ | |
// create an instance of SvgzOptions | |
var options = new Aspose.Imaging.ImageOptions.SvgOptions(){ Compress = true }; | |
// save DNG as a SVGZ | |
image.Save(@"output.svgz", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the DNG file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.dng")) | |
{ | |
// create an instance of TgaOptions | |
var options = new Aspose.Imaging.ImageOptions.TgaOptions(); | |
// save DNG as a TGA | |
image.Save(@"output.tga", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the DNG file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.dng")) | |
{ | |
// create an instance of TiffOptions | |
var options = new Aspose.Imaging.ImageOptions.TiffOptions(Aspose.Imaging.FileFormats.Tiff.Enums.TiffExpectedFormat.Default); | |
// save DNG as a TIFF | |
image.Save(@"output.tiff", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the DNG file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.dng")) | |
{ | |
// create an instance of WebpOptions | |
var options = new Aspose.Imaging.ImageOptions.WebPOptions(); | |
// save DNG as a WEBP | |
image.Save(@"output.webp", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the DNG file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.dng")) | |
{ | |
// create an instance of WmfOptions | |
var options = new Aspose.Imaging.ImageOptions.WmfOptions(); | |
// save DNG as a WMF | |
image.Save(@"output.wmf", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the DNG file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.dng")) | |
{ | |
// create an instance of WmzOptions | |
var options = new Aspose.Imaging.ImageOptions.WmfOptions(){ Compress = true }; | |
// save DNG as a WMZ | |
image.Save(@"output.wmz", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the EMF file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.emf")) | |
{ | |
// create an instance of BmpOptions | |
var options = new Aspose.Imaging.ImageOptions.BmpOptions(); | |
// save EMF as a BMP | |
image.Save(@"output.bmp", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the EMF file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.emf")) | |
{ | |
// create an instance of DicomOptions | |
var options = new Aspose.Imaging.ImageOptions.DicomOptions(); | |
// save EMF as a DICOM | |
image.Save(@"output.dicom", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the EMF file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.emf")) | |
{ | |
// create an instance of EmfOptions | |
var options = new Aspose.Imaging.ImageOptions.EmfOptions(); | |
// save EMF as a EMF | |
image.Save(@"output.emf", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the EMF file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.emf")) | |
{ | |
// create an instance of EmzOptions | |
var options = new Aspose.Imaging.ImageOptions.EmfOptions(){ Compress = true }; | |
// save EMF as a EMZ | |
image.Save(@"output.emz", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the EMF file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.emf")) | |
{ | |
// create an instance of GifOptions | |
var options = new Aspose.Imaging.ImageOptions.GifOptions(); | |
// save EMF as a GIF | |
image.Save(@"output.gif", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the EMF file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.emf")) | |
{ | |
// create an instance of HtmlOptions | |
var options = new Aspose.Imaging.ImageOptions.Html5CanvasOptions(); | |
// save EMF as a HTML | |
image.Save(@"output.html", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the EMF file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.emf")) | |
{ | |
// create an instance of J2kOptions | |
var options = new Aspose.Imaging.ImageOptions.Jpeg2000Options { Codec = Aspose.Imaging.FileFormats.Jpeg2000.Jpeg2000Codec.J2K }; | |
// save EMF as a J2K | |
image.Save(@"output.j2k", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the EMF file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.emf")) | |
{ | |
// create an instance of Jp2Options | |
var options = new Aspose.Imaging.ImageOptions.Jpeg2000Options { Codec = Aspose.Imaging.FileFormats.Jpeg2000.Jpeg2000Codec.Jp2 }; | |
// save EMF as a JP2 | |
image.Save(@"output.jp2", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the EMF file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.emf")) | |
{ | |
// create an instance of JpegOptions | |
var options = new Aspose.Imaging.ImageOptions.JpegOptions(); | |
// save EMF as a JPEG | |
image.Save(@"output.jpeg", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the EMF file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.emf")) | |
{ | |
// create an instance of JpgOptions | |
var options = new Aspose.Imaging.ImageOptions.JpegOptions(); | |
// save EMF as a JPG | |
image.Save(@"output.jpg", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the EMF file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.emf")) | |
{ | |
// create an instance of PdfOptions | |
var options = new Aspose.Imaging.ImageOptions.PdfOptions(); | |
// save EMF as a PDF | |
image.Save(@"output.pdf", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the EMF file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.emf")) | |
{ | |
// create an instance of PngOptions | |
var options = new Aspose.Imaging.ImageOptions.PngOptions(); | |
// save EMF as a PNG | |
image.Save(@"output.png", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the EMF file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.emf")) | |
{ | |
// create an instance of PsdOptions | |
var options = new Aspose.Imaging.ImageOptions.PsdOptions(); | |
// save EMF as a PSD | |
image.Save(@"output.psd", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the EMF file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.emf")) | |
{ | |
// create an instance of SvgOptions | |
var options = new Aspose.Imaging.ImageOptions.SvgOptions(); | |
// save EMF as a SVG | |
image.Save(@"output.svg", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the EMF file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.emf")) | |
{ | |
// create an instance of SvgzOptions | |
var options = new Aspose.Imaging.ImageOptions.SvgOptions(){ Compress = true }; | |
// save EMF as a SVGZ | |
image.Save(@"output.svgz", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the EMF file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.emf")) | |
{ | |
// create an instance of TgaOptions | |
var options = new Aspose.Imaging.ImageOptions.TgaOptions(); | |
// save EMF as a TGA | |
image.Save(@"output.tga", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the EMF file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.emf")) | |
{ | |
// create an instance of TiffOptions | |
var options = new Aspose.Imaging.ImageOptions.TiffOptions(Aspose.Imaging.FileFormats.Tiff.Enums.TiffExpectedFormat.Default); | |
// save EMF as a TIFF | |
image.Save(@"output.tiff", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the EMF file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.emf")) | |
{ | |
// create an instance of WebpOptions | |
var options = new Aspose.Imaging.ImageOptions.WebPOptions(); | |
// save EMF as a WEBP | |
image.Save(@"output.webp", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the EMF file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.emf")) | |
{ | |
// create an instance of WmfOptions | |
var options = new Aspose.Imaging.ImageOptions.WmfOptions(); | |
Aspose.Imaging.ImageOptions.EmfRasterizationOptions rasterizationOptions = | |
new Aspose.Imaging.ImageOptions.EmfRasterizationOptions(); | |
rasterizationOptions.PageWidth = image.Width; | |
rasterizationOptions.PageHeight = image.Height; | |
options.VectorRasterizationOptions = rasterizationOptions; | |
// save EMF as a WMF | |
image.Save(@"output.wmf", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the EMF file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.emf")) | |
{ | |
// create an instance of WmzOptions | |
var options = new Aspose.Imaging.ImageOptions.WmfOptions(){ Compress = true }; | |
Aspose.Imaging.ImageOptions.EmfRasterizationOptions rasterizationOptions = | |
new Aspose.Imaging.ImageOptions.EmfRasterizationOptions(); | |
rasterizationOptions.PageWidth = image.Width; | |
rasterizationOptions.PageHeight = image.Height; | |
options.VectorRasterizationOptions = rasterizationOptions; | |
// save EMF as a WMZ | |
image.Save(@"output.wmz", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the EMZ file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.emz")) | |
{ | |
// create an instance of BmpOptions | |
var options = new Aspose.Imaging.ImageOptions.BmpOptions(); | |
// save EMZ as a BMP | |
image.Save(@"output.bmp", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the EMZ file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.emz")) | |
{ | |
// create an instance of DicomOptions | |
var options = new Aspose.Imaging.ImageOptions.DicomOptions(); | |
// save EMZ as a DICOM | |
image.Save(@"output.dicom", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the EMZ file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.emz")) | |
{ | |
// create an instance of EmfOptions | |
var options = new Aspose.Imaging.ImageOptions.EmfOptions(); | |
// save EMZ as a EMF | |
image.Save(@"output.emf", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the EMZ file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.emz")) | |
{ | |
// create an instance of GifOptions | |
var options = new Aspose.Imaging.ImageOptions.GifOptions(); | |
// save EMZ as a GIF | |
image.Save(@"output.gif", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the EMZ file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.emz")) | |
{ | |
// create an instance of HtmlOptions | |
var options = new Aspose.Imaging.ImageOptions.Html5CanvasOptions(); | |
// save EMZ as a HTML | |
image.Save(@"output.html", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the EMZ file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.emz")) | |
{ | |
// create an instance of J2kOptions | |
var options = new Aspose.Imaging.ImageOptions.Jpeg2000Options { Codec = Aspose.Imaging.FileFormats.Jpeg2000.Jpeg2000Codec.J2K }; | |
// save EMZ as a J2K | |
image.Save(@"output.j2k", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the EMZ file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.emz")) | |
{ | |
// create an instance of Jp2Options | |
var options = new Aspose.Imaging.ImageOptions.Jpeg2000Options { Codec = Aspose.Imaging.FileFormats.Jpeg2000.Jpeg2000Codec.Jp2 }; | |
// save EMZ as a JP2 | |
image.Save(@"output.jp2", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the EMZ file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.emz")) | |
{ | |
// create an instance of JpgOptions | |
var options = new Aspose.Imaging.ImageOptions.JpegOptions(); | |
// save EMZ as a JPG | |
image.Save(@"output.jpg", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the EMZ file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.emz")) | |
{ | |
// create an instance of PdfOptions | |
var options = new Aspose.Imaging.ImageOptions.PdfOptions(); | |
// save EMZ as a PDF | |
image.Save(@"output.pdf", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the EMZ file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.emz")) | |
{ | |
// create an instance of PngOptions | |
var options = new Aspose.Imaging.ImageOptions.PngOptions(); | |
// save EMZ as a PNG | |
image.Save(@"output.png", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the EMZ file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.emz")) | |
{ | |
// create an instance of PsdOptions | |
var options = new Aspose.Imaging.ImageOptions.PsdOptions(); | |
// save EMZ as a PSD | |
image.Save(@"output.psd", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the EMZ file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.emz")) | |
{ | |
// create an instance of SvgOptions | |
var options = new Aspose.Imaging.ImageOptions.SvgOptions(); | |
// save EMZ as a SVG | |
image.Save(@"output.svg", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the EMZ file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.emz")) | |
{ | |
// create an instance of SvgzOptions | |
var options = new Aspose.Imaging.ImageOptions.SvgOptions(){ Compress = true }; | |
// save EMZ as a SVGZ | |
image.Save(@"output.svgz", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the EMZ file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.emz")) | |
{ | |
// create an instance of TgaOptions | |
var options = new Aspose.Imaging.ImageOptions.TgaOptions(); | |
// save EMZ as a TGA | |
image.Save(@"output.tga", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the EMZ file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.emz")) | |
{ | |
// create an instance of TiffOptions | |
var options = new Aspose.Imaging.ImageOptions.TiffOptions(Aspose.Imaging.FileFormats.Tiff.Enums.TiffExpectedFormat.Default); | |
// save EMZ as a TIFF | |
image.Save(@"output.tiff", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the EMZ file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.emz")) | |
{ | |
// create an instance of WebpOptions | |
var options = new Aspose.Imaging.ImageOptions.WebPOptions(); | |
// save EMZ as a WEBP | |
image.Save(@"output.webp", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the EMZ file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.emz")) | |
{ | |
// create an instance of WmfOptions | |
var options = new Aspose.Imaging.ImageOptions.WmfOptions(); | |
Aspose.Imaging.ImageOptions.EmfRasterizationOptions rasterizationOptions = | |
new Aspose.Imaging.ImageOptions.EmfRasterizationOptions(); | |
rasterizationOptions.PageWidth = image.Width; | |
rasterizationOptions.PageHeight = image.Height; | |
options.VectorRasterizationOptions = rasterizationOptions; | |
// save EMZ as a WMF | |
image.Save(@"output.wmf", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the EMZ file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.emz")) | |
{ | |
// create an instance of WmzOptions | |
var options = new Aspose.Imaging.ImageOptions.WmfOptions(){ Compress = true }; | |
Aspose.Imaging.ImageOptions.EmfRasterizationOptions rasterizationOptions = | |
new Aspose.Imaging.ImageOptions.EmfRasterizationOptions(); | |
rasterizationOptions.PageWidth = image.Width; | |
rasterizationOptions.PageHeight = image.Height; | |
options.VectorRasterizationOptions = rasterizationOptions; | |
// save EMZ as a WMZ | |
image.Save(@"output.wmz", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the EPS file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.eps")) | |
{ | |
// create an instance of BmpOptions | |
var options = new Aspose.Imaging.ImageOptions.BmpOptions(); | |
// save EPS as a BMP | |
image.Save(@"output.bmp", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the EPS file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.eps")) | |
{ | |
// create an instance of DicomOptions | |
var options = new Aspose.Imaging.ImageOptions.DicomOptions(); | |
// save EPS as a DICOM | |
image.Save(@"output.dicom", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the EPS file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.eps")) | |
{ | |
// create an instance of EmfOptions | |
var options = new Aspose.Imaging.ImageOptions.EmfOptions(); | |
// save EPS as a EMF | |
image.Save(@"output.emf", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the EPS file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.eps")) | |
{ | |
// create an instance of EmzOptions | |
var options = new Aspose.Imaging.ImageOptions.EmfOptions(){ Compress = true }; | |
// save EPS as a EMZ | |
image.Save(@"output.emz", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the EPS file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.eps")) | |
{ | |
// create an instance of GifOptions | |
var options = new Aspose.Imaging.ImageOptions.GifOptions(); | |
// save EPS as a GIF | |
image.Save(@"output.gif", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the EPS file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.eps")) | |
{ | |
// create an instance of HtmlOptions | |
var options = new Aspose.Imaging.ImageOptions.Html5CanvasOptions(); | |
// save EPS as a HTML | |
image.Save(@"output.html", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the EPS file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.eps")) | |
{ | |
// create an instance of J2kOptions | |
var options = new Aspose.Imaging.ImageOptions.Jpeg2000Options { Codec = Aspose.Imaging.FileFormats.Jpeg2000.Jpeg2000Codec.J2K }; | |
// save EPS as a J2K | |
image.Save(@"output.j2k", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the EPS file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.eps")) | |
{ | |
// create an instance of Jp2Options | |
var options = new Aspose.Imaging.ImageOptions.Jpeg2000Options { Codec = Aspose.Imaging.FileFormats.Jpeg2000.Jpeg2000Codec.Jp2 }; | |
// save EPS as a JP2 | |
image.Save(@"output.jp2", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the EPS file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.eps")) | |
{ | |
// create an instance of JpgOptions | |
var options = new Aspose.Imaging.ImageOptions.JpegOptions(); | |
// save EPS as a JPG | |
image.Save(@"output.jpg", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the EPS file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.eps")) | |
{ | |
// create an instance of PdfOptions | |
var options = new Aspose.Imaging.ImageOptions.PdfOptions(); | |
// save EPS as a PDF | |
image.Save(@"output.pdf", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the EPS file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.eps")) | |
{ | |
// create an instance of PngOptions | |
var options = new Aspose.Imaging.ImageOptions.PngOptions(); | |
// save EPS as a PNG | |
image.Save(@"output.png", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the EPS file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.eps")) | |
{ | |
// create an instance of PsdOptions | |
var options = new Aspose.Imaging.ImageOptions.PsdOptions(); | |
// save EPS as a PSD | |
image.Save(@"output.psd", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the EPS file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.eps")) | |
{ | |
// create an instance of SvgOptions | |
var options = new Aspose.Imaging.ImageOptions.SvgOptions(); | |
// save EPS as a SVG | |
image.Save(@"output.svg", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the EPS file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.eps")) | |
{ | |
// create an instance of SvgzOptions | |
var options = new Aspose.Imaging.ImageOptions.SvgOptions(){ Compress = true }; | |
// save EPS as a SVGZ | |
image.Save(@"output.svgz", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the EPS file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.eps")) | |
{ | |
// create an instance of TgaOptions | |
var options = new Aspose.Imaging.ImageOptions.TgaOptions(); | |
// save EPS as a TGA | |
image.Save(@"output.tga", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the EPS file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.eps")) | |
{ | |
// create an instance of TiffOptions | |
var options = new Aspose.Imaging.ImageOptions.TiffOptions(Aspose.Imaging.FileFormats.Tiff.Enums.TiffExpectedFormat.Default); | |
// save EPS as a TIFF | |
image.Save(@"output.tiff", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the EPS file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.eps")) | |
{ | |
// create an instance of WebpOptions | |
var options = new Aspose.Imaging.ImageOptions.WebPOptions(); | |
// save EPS as a WEBP | |
image.Save(@"output.webp", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the EPS file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.eps")) | |
{ | |
// create an instance of WmfOptions | |
var options = new Aspose.Imaging.ImageOptions.WmfOptions(); | |
// save EPS as a WMF | |
image.Save(@"output.wmf", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the EPS file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.eps")) | |
{ | |
// create an instance of WmzOptions | |
var options = new Aspose.Imaging.ImageOptions.WmfOptions(){ Compress = true }; | |
// save EPS as a WMZ | |
image.Save(@"output.wmz", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the GIF file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.gif")) | |
{ | |
// create an instance of ApngOptions | |
var options = new Aspose.Imaging.ImageOptions.ApngOptions(); | |
// save GIF as a APNG | |
image.Save(@"output.apng", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the GIF file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.gif")) | |
{ | |
// create an instance of BmpOptions | |
var options = new Aspose.Imaging.ImageOptions.BmpOptions(); | |
// save GIF as a BMP | |
image.Save(@"output.bmp", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the GIF file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.gif")) | |
{ | |
// create an instance of DicomOptions | |
var options = new Aspose.Imaging.ImageOptions.DicomOptions(); | |
// save GIF as a DICOM | |
image.Save(@"output.dicom", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the GIF file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.gif")) | |
{ | |
// create an instance of EmfOptions | |
var options = new Aspose.Imaging.ImageOptions.EmfOptions(); | |
// save GIF as a EMF | |
image.Save(@"output.emf", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the GIF file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.gif")) | |
{ | |
// create an instance of EmzOptions | |
var options = new Aspose.Imaging.ImageOptions.EmfOptions(){ Compress = true }; | |
// save GIF as a EMZ | |
image.Save(@"output.emz", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the GIF file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.gif")) | |
{ | |
// create an instance of HtmlOptions | |
var options = new Aspose.Imaging.ImageOptions.Html5CanvasOptions(); | |
// save GIF as a HTML | |
image.Save(@"output.html", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the GIF file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.gif")) | |
{ | |
// create an instance of J2kOptions | |
var options = new Aspose.Imaging.ImageOptions.Jpeg2000Options { Codec = Aspose.Imaging.FileFormats.Jpeg2000.Jpeg2000Codec.J2K }; | |
// save GIF as a J2K | |
image.Save(@"output.j2k", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the GIF file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.gif")) | |
{ | |
// create an instance of Jp2Options | |
var options = new Aspose.Imaging.ImageOptions.Jpeg2000Options { Codec = Aspose.Imaging.FileFormats.Jpeg2000.Jpeg2000Codec.Jp2 }; | |
// save GIF as a JP2 | |
image.Save(@"output.jp2", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the GIF file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.gif")) | |
{ | |
// create an instance of JpegOptions | |
var options = new Aspose.Imaging.ImageOptions.JpegOptions(); | |
// save GIF as a JPEG | |
image.Save(@"output.jpeg", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the GIF file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.gif")) | |
{ | |
// create an instance of JpgOptions | |
var options = new Aspose.Imaging.ImageOptions.JpegOptions(); | |
// save GIF as a JPG | |
image.Save(@"output.jpg", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the GIF file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.gif")) | |
{ | |
// create an instance of PdfOptions | |
var options = new Aspose.Imaging.ImageOptions.PdfOptions(); | |
// save GIF as a PDF | |
image.Save(@"output.pdf", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the GIF file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.gif")) | |
{ | |
// create an instance of PngOptions | |
var options = new Aspose.Imaging.ImageOptions.PngOptions(); | |
// save GIF as a PNG | |
image.Save(@"output.png", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the GIF file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.gif")) | |
{ | |
// create an instance of PsdOptions | |
var options = new Aspose.Imaging.ImageOptions.PsdOptions(); | |
// save GIF as a PSD | |
image.Save(@"output.psd", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the GIF file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.gif")) | |
{ | |
// create an instance of SvgOptions | |
var options = new Aspose.Imaging.ImageOptions.SvgOptions(); | |
// save GIF as a SVG | |
image.Save(@"output.svg", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the GIF file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.gif")) | |
{ | |
// create an instance of SvgzOptions | |
var options = new Aspose.Imaging.ImageOptions.SvgOptions(){ Compress = true }; | |
// save GIF as a SVGZ | |
image.Save(@"output.svgz", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the GIF file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.gif")) | |
{ | |
// create an instance of TgaOptions | |
var options = new Aspose.Imaging.ImageOptions.TgaOptions(); | |
// save GIF as a TGA | |
image.Save(@"output.tga", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the GIF file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.gif")) | |
{ | |
// create an instance of TiffOptions | |
var options = new Aspose.Imaging.ImageOptions.TiffOptions(Aspose.Imaging.FileFormats.Tiff.Enums.TiffExpectedFormat.Default); | |
// save GIF as a TIFF | |
image.Save(@"output.tiff", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the GIF file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.gif")) | |
{ | |
// create an instance of WebpOptions | |
var options = new Aspose.Imaging.ImageOptions.WebPOptions(); | |
// save GIF as a WEBP | |
image.Save(@"output.webp", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the GIF file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.gif")) | |
{ | |
// create an instance of WmfOptions | |
var options = new Aspose.Imaging.ImageOptions.WmfOptions(); | |
// save GIF as a WMF | |
image.Save(@"output.wmf", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the GIF file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.gif")) | |
{ | |
// create an instance of WmzOptions | |
var options = new Aspose.Imaging.ImageOptions.WmfOptions(){ Compress = true }; | |
// save GIF as a WMZ | |
image.Save(@"output.wmz", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the J2K file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.j2k")) | |
{ | |
// create an instance of BmpOptions | |
var options = new Aspose.Imaging.ImageOptions.BmpOptions(); | |
// save J2K as a BMP | |
image.Save(@"output.bmp", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the J2K file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.j2k")) | |
{ | |
// create an instance of DicomOptions | |
var options = new Aspose.Imaging.ImageOptions.DicomOptions(); | |
// save J2K as a DICOM | |
image.Save(@"output.dicom", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the J2K file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.j2k")) | |
{ | |
// create an instance of EmfOptions | |
var options = new Aspose.Imaging.ImageOptions.EmfOptions(); | |
// save J2K as a EMF | |
image.Save(@"output.emf", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the J2K file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.j2k")) | |
{ | |
// create an instance of EmzOptions | |
var options = new Aspose.Imaging.ImageOptions.EmfOptions(){ Compress = true }; | |
// save J2K as a EMZ | |
image.Save(@"output.emz", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the J2K file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.j2k")) | |
{ | |
// create an instance of GifOptions | |
var options = new Aspose.Imaging.ImageOptions.GifOptions(); | |
// save J2K as a GIF | |
image.Save(@"output.gif", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the J2K file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.j2k")) | |
{ | |
// create an instance of HtmlOptions | |
var options = new Aspose.Imaging.ImageOptions.Html5CanvasOptions(); | |
// save J2K as a HTML | |
image.Save(@"output.html", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the J2K file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.j2k")) | |
{ | |
// create an instance of Jp2Options | |
var options = new Aspose.Imaging.ImageOptions.Jpeg2000Options { Codec = Aspose.Imaging.FileFormats.Jpeg2000.Jpeg2000Codec.Jp2 }; | |
// save J2K as a JP2 | |
image.Save(@"output.jp2", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the J2K file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.j2k")) | |
{ | |
// create an instance of JpgOptions | |
var options = new Aspose.Imaging.ImageOptions.JpegOptions(); | |
// save J2K as a JPG | |
image.Save(@"output.jpg", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the J2K file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.j2k")) | |
{ | |
// create an instance of PdfOptions | |
var options = new Aspose.Imaging.ImageOptions.PdfOptions(); | |
// save J2K as a PDF | |
image.Save(@"output.pdf", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the J2K file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.j2k")) | |
{ | |
// create an instance of PngOptions | |
var options = new Aspose.Imaging.ImageOptions.PngOptions(); | |
// save J2K as a PNG | |
image.Save(@"output.png", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the J2K file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.j2k")) | |
{ | |
// create an instance of PsdOptions | |
var options = new Aspose.Imaging.ImageOptions.PsdOptions(); | |
// save J2K as a PSD | |
image.Save(@"output.psd", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the J2K file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.j2k")) | |
{ | |
// create an instance of SvgOptions | |
var options = new Aspose.Imaging.ImageOptions.SvgOptions(); | |
// save J2K as a SVG | |
image.Save(@"output.svg", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the J2K file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.j2k")) | |
{ | |
// create an instance of SvgzOptions | |
var options = new Aspose.Imaging.ImageOptions.SvgOptions(){ Compress = true }; | |
// save J2K as a SVGZ | |
image.Save(@"output.svgz", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the J2K file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.j2k")) | |
{ | |
// create an instance of TgaOptions | |
var options = new Aspose.Imaging.ImageOptions.TgaOptions(); | |
// save J2K as a TGA | |
image.Save(@"output.tga", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the J2K file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.j2k")) | |
{ | |
// create an instance of TiffOptions | |
var options = new Aspose.Imaging.ImageOptions.TiffOptions(Aspose.Imaging.FileFormats.Tiff.Enums.TiffExpectedFormat.Default); | |
// save J2K as a TIFF | |
image.Save(@"output.tiff", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the J2K file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.j2k")) | |
{ | |
// create an instance of WebpOptions | |
var options = new Aspose.Imaging.ImageOptions.WebPOptions(); | |
// save J2K as a WEBP | |
image.Save(@"output.webp", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the J2K file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.j2k")) | |
{ | |
// create an instance of WmfOptions | |
var options = new Aspose.Imaging.ImageOptions.WmfOptions(); | |
// save J2K as a WMF | |
image.Save(@"output.wmf", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the J2K file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.j2k")) | |
{ | |
// create an instance of WmzOptions | |
var options = new Aspose.Imaging.ImageOptions.WmfOptions(){ Compress = true }; | |
// save J2K as a WMZ | |
image.Save(@"output.wmz", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the JP2 file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.jp2")) | |
{ | |
// create an instance of BmpOptions | |
var options = new Aspose.Imaging.ImageOptions.BmpOptions(); | |
// save JP2 as a BMP | |
image.Save(@"output.bmp", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the JP2 file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.jp2")) | |
{ | |
// create an instance of DicomOptions | |
var options = new Aspose.Imaging.ImageOptions.DicomOptions(); | |
// save JP2 as a DICOM | |
image.Save(@"output.dicom", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the JP2 file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.jp2")) | |
{ | |
// create an instance of EmfOptions | |
var options = new Aspose.Imaging.ImageOptions.EmfOptions(); | |
// save JP2 as a EMF | |
image.Save(@"output.emf", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the JP2 file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.jp2")) | |
{ | |
// create an instance of EmzOptions | |
var options = new Aspose.Imaging.ImageOptions.EmfOptions(){ Compress = true }; | |
// save JP2 as a EMZ | |
image.Save(@"output.emz", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the JP2 file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.jp2")) | |
{ | |
// create an instance of GifOptions | |
var options = new Aspose.Imaging.ImageOptions.GifOptions(); | |
// save JP2 as a GIF | |
image.Save(@"output.gif", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the JP2 file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.jp2")) | |
{ | |
// create an instance of HtmlOptions | |
var options = new Aspose.Imaging.ImageOptions.Html5CanvasOptions(); | |
// save JP2 as a HTML | |
image.Save(@"output.html", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the JP2 file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.jp2")) | |
{ | |
// create an instance of J2kOptions | |
var options = new Aspose.Imaging.ImageOptions.Jpeg2000Options { Codec = Aspose.Imaging.FileFormats.Jpeg2000.Jpeg2000Codec.J2K }; | |
// save JP2 as a J2K | |
image.Save(@"output.j2k", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the JP2 file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.jp2")) | |
{ | |
// create an instance of JpgOptions | |
var options = new Aspose.Imaging.ImageOptions.JpegOptions(); | |
// save JP2 as a JPG | |
image.Save(@"output.jpg", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the JP2 file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.jp2")) | |
{ | |
// create an instance of PdfOptions | |
var options = new Aspose.Imaging.ImageOptions.PdfOptions(); | |
// save JP2 as a PDF | |
image.Save(@"output.pdf", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the JP2 file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.jp2")) | |
{ | |
// create an instance of PngOptions | |
var options = new Aspose.Imaging.ImageOptions.PngOptions(); | |
// save JP2 as a PNG | |
image.Save(@"output.png", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the JP2 file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.jp2")) | |
{ | |
// create an instance of PsdOptions | |
var options = new Aspose.Imaging.ImageOptions.PsdOptions(); | |
// save JP2 as a PSD | |
image.Save(@"output.psd", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the JP2 file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.jp2")) | |
{ | |
// create an instance of SvgOptions | |
var options = new Aspose.Imaging.ImageOptions.SvgOptions(); | |
// save JP2 as a SVG | |
image.Save(@"output.svg", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the JP2 file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.jp2")) | |
{ | |
// create an instance of SvgzOptions | |
var options = new Aspose.Imaging.ImageOptions.SvgOptions(){ Compress = true }; | |
// save JP2 as a SVGZ | |
image.Save(@"output.svgz", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the JP2 file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.jp2")) | |
{ | |
// create an instance of TgaOptions | |
var options = new Aspose.Imaging.ImageOptions.TgaOptions(); | |
// save JP2 as a TGA | |
image.Save(@"output.tga", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the JP2 file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.jp2")) | |
{ | |
// create an instance of TiffOptions | |
var options = new Aspose.Imaging.ImageOptions.TiffOptions(Aspose.Imaging.FileFormats.Tiff.Enums.TiffExpectedFormat.Default); | |
// save JP2 as a TIFF | |
image.Save(@"output.tiff", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the JP2 file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.jp2")) | |
{ | |
// create an instance of WebpOptions | |
var options = new Aspose.Imaging.ImageOptions.WebPOptions(); | |
// save JP2 as a WEBP | |
image.Save(@"output.webp", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the JP2 file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.jp2")) | |
{ | |
// create an instance of WmfOptions | |
var options = new Aspose.Imaging.ImageOptions.WmfOptions(); | |
// save JP2 as a WMF | |
image.Save(@"output.wmf", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the JP2 file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.jp2")) | |
{ | |
// create an instance of WmzOptions | |
var options = new Aspose.Imaging.ImageOptions.WmfOptions(){ Compress = true }; | |
// save JP2 as a WMZ | |
image.Save(@"output.wmz", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the JPEG file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.jpeg")) | |
{ | |
// create an instance of BmpOptions | |
var options = new Aspose.Imaging.ImageOptions.BmpOptions(); | |
// save JPEG as a BMP | |
image.Save(@"output.bmp", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the JPEG file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.jpeg")) | |
{ | |
// create an instance of DicomOptions | |
var options = new Aspose.Imaging.ImageOptions.DicomOptions(); | |
// save JPEG as a DICOM | |
image.Save(@"output.dicom", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the JPEG file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.jpeg")) | |
{ | |
// create an instance of EmfOptions | |
var options = new Aspose.Imaging.ImageOptions.EmfOptions(); | |
// save JPEG as a EMF | |
image.Save(@"output.emf", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the JPEG file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.jpeg")) | |
{ | |
// create an instance of GifOptions | |
var options = new Aspose.Imaging.ImageOptions.GifOptions(); | |
// save JPEG as a GIF | |
image.Save(@"output.gif", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the JPEG file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.jpeg")) | |
{ | |
// create an instance of PdfOptions | |
var options = new Aspose.Imaging.ImageOptions.PdfOptions(); | |
// save JPEG as a PDF | |
image.Save(@"output.pdf", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the JPEG file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.jpeg")) | |
{ | |
// create an instance of PngOptions | |
var options = new Aspose.Imaging.ImageOptions.PngOptions(); | |
// save JPEG as a PNG | |
image.Save(@"output.png", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the JPEG file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.jpeg")) | |
{ | |
// create an instance of PsdOptions | |
var options = new Aspose.Imaging.ImageOptions.PsdOptions(); | |
// save JPEG as a PSD | |
image.Save(@"output.psd", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the JPEG file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.jpeg")) | |
{ | |
// create an instance of SvgOptions | |
var options = new Aspose.Imaging.ImageOptions.SvgOptions(); | |
// save JPEG as a SVG | |
image.Save(@"output.svg", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the JPEG file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.jpeg")) | |
{ | |
// create an instance of TiffOptions | |
var options = new Aspose.Imaging.ImageOptions.TiffOptions(Aspose.Imaging.FileFormats.Tiff.Enums.TiffExpectedFormat.Default); | |
// save JPEG as a TIFF | |
image.Save(@"output.tiff", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the JPEG file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.jpeg")) | |
{ | |
// create an instance of WmfOptions | |
var options = new Aspose.Imaging.ImageOptions.WmfOptions(); | |
// save JPEG as a WMF | |
image.Save(@"output.wmf", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the JPEG2000 file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.jpeg2000")) | |
{ | |
// create an instance of BmpOptions | |
var options = new Aspose.Imaging.ImageOptions.BmpOptions(); | |
// save JPEG2000 as a BMP | |
image.Save(@"output.bmp", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the JPEG2000 file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.jpeg2000")) | |
{ | |
// create an instance of DicomOptions | |
var options = new Aspose.Imaging.ImageOptions.DicomOptions(); | |
// save JPEG2000 as a DICOM | |
image.Save(@"output.dicom", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the JPEG2000 file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.jpeg2000")) | |
{ | |
// create an instance of EmfOptions | |
var options = new Aspose.Imaging.ImageOptions.EmfOptions(); | |
// save JPEG2000 as a EMF | |
image.Save(@"output.emf", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the JPEG2000 file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.jpeg2000")) | |
{ | |
// create an instance of GifOptions | |
var options = new Aspose.Imaging.ImageOptions.GifOptions(); | |
// save JPEG2000 as a GIF | |
image.Save(@"output.gif", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the JPEG2000 file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.jpeg2000")) | |
{ | |
// create an instance of JpegOptions | |
var options = new Aspose.Imaging.ImageOptions.JpegOptions(); | |
// save JPEG2000 as a JPEG | |
image.Save(@"output.jpeg", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the JPEG2000 file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.jpeg2000")) | |
{ | |
// create an instance of PdfOptions | |
var options = new Aspose.Imaging.ImageOptions.PdfOptions(); | |
// save JPEG2000 as a PDF | |
image.Save(@"output.pdf", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the JPEG2000 file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.jpeg2000")) | |
{ | |
// create an instance of PngOptions | |
var options = new Aspose.Imaging.ImageOptions.PngOptions(); | |
// save JPEG2000 as a PNG | |
image.Save(@"output.png", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the JPEG2000 file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.jpeg2000")) | |
{ | |
// create an instance of PsdOptions | |
var options = new Aspose.Imaging.ImageOptions.PsdOptions(); | |
// save JPEG2000 as a PSD | |
image.Save(@"output.psd", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the JPEG2000 file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.jpeg2000")) | |
{ | |
// create an instance of SvgOptions | |
var options = new Aspose.Imaging.ImageOptions.SvgOptions(); | |
// save JPEG2000 as a SVG | |
image.Save(@"output.svg", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the JPEG2000 file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.jpeg2000")) | |
{ | |
// create an instance of TiffOptions | |
var options = new Aspose.Imaging.ImageOptions.TiffOptions(Aspose.Imaging.FileFormats.Tiff.Enums.TiffExpectedFormat.Default); | |
// save JPEG2000 as a TIFF | |
image.Save(@"output.tiff", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the JPEG2000 file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.jpeg2000")) | |
{ | |
// create an instance of WmfOptions | |
var options = new Aspose.Imaging.ImageOptions.WmfOptions(); | |
// save JPEG2000 as a WMF | |
image.Save(@"output.wmf", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the JPG file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.jpg")) | |
{ | |
// create an instance of BmpOptions | |
var options = new Aspose.Imaging.ImageOptions.BmpOptions(); | |
// save JPG as a BMP | |
image.Save(@"output.bmp", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the JPG file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.jpg")) | |
{ | |
// create an instance of DicomOptions | |
var options = new Aspose.Imaging.ImageOptions.DicomOptions(); | |
// save JPG as a DICOM | |
image.Save(@"output.dicom", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the JPG file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.jpg")) | |
{ | |
// create an instance of EmfOptions | |
var options = new Aspose.Imaging.ImageOptions.EmfOptions(); | |
// save JPG as a EMF | |
image.Save(@"output.emf", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
// load the JPG file in an instance of Image | |
using (var image = Aspose.Imaging.Image.Load(@"template.jpg")) | |
{ | |
// create an instance of EmzOptions | |
var options = new Aspose.Imaging.ImageOptions.EmfOptions(){ Compress = true }; | |
// save JPG as a EMZ | |
image.Save(@"output.emz", options); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment