XImage.Raster
Features
Tech Specs
How-to C#
Pricing

C# Imaging Library
C# Raster - Convert Image to JPEG2000 in C#.NET


Online C# Guide for Converting Image to JPEG2000 in .NET Application



How to convert, export TIFF, PNG, JPG raster image to JPEG2000 file using C#?

  1. Download XImage.Raster C# imaging library
  2. Install C# library to convert, export TIFF, PNG, JPG raster image to JPEG2000 file in .NET applications
  3. Step by Step Tutorial










Convert RasterImage to JPEG2000

Sample Code (convert single frame image to JPEG2000):

ConvertHandler.Convert("input.jpeg", @"output.jp2");


Sample Code (convert multi-frame image to JPEG2000):

RasterImage img = new RasterImage("input.tiff");
img.Save(@"output.jp2");




How to convert image to JPEG2000 with options applied in C#?



When you convert image to JPEG2000 image file using XImage.Raster C# Imaging library, you can customize and apply the following JPEG2000 image options
  • SaveToGray if save the jp2 file to gray scale
  • PSNR set the Peak Signal to Noise Ratio(DB)
  • CompressRate set jp2 file's compression rate
  • ProgressOrder set jp2 file's progress order
  • TileWidth set jp2 file's tile width
  • TileHeigth set jp2 file's tile height
  • Lossless if save jp2 file in lossless format