How to C#: Imaging
Using Imaging SDK for C#.NET
Winforms Controls
Image Load
Image Access and Modify
Convert to JPEG2000
Convert to JPEG2000
Home ›› XImage.Raster ›› C# Raster: Convert to JPEG2000

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

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

c# pdf reader control, c# convert docx to pdf without word, tiff jpeg compression c#, c# add text to existing pdf file, pdf editor control, code 39 c# class.

Related .net document control helps: image viewer: ASP.NET Image Viewer Control(MVC & WebForms): view, annotate, redact, convert image files in html, JQuery dicom document viewer: ASP.NET Dicom Document Viewer Control: view, annotate dicom imaging files online in ASP.NET document viewer: EdgeDoc:ASP.NET Document Viewer C# Control: Open, view, annotate, redact, convert documents online in C#, VB.NET, AS... edit pdf text: ASP.NET PDF Text Edit Control: online edit PDF text content using C# ASP.NET mvc pdf editor: ASP.NET MVC PDF Viewer & Editor: view, annotate, redact, edit PDF document in C# ASP.NET MVC text file viewer: ASP.NET Text file viewer in MVC, WebForms: Open, view, annotate, convert txt files in C# ASP.NET pdf editor: EdgePDF: ASP.NET PDF Editor Web Control: Online view, annotate, redact, edit, process, convert PDF documents

Install XImage.Raster in C# Project

Add necessary references to your C#.NET project. Right-click the project and select "Add Reference..." to locate and add the following DLLs as project references; docx to pdf c#, c# pdf to image pdfsharp, pdf editor, how to add header and footer in pdf using c#, c# pdf stamper, c# code to convert tiff to pdf, add text to pdf.




Use corresponding namespaces;

  using RasterEdge.XImage.Raster;

Note: When you get the error "Could not load file or assembly 'RasterEdge.Imaging.Basic' or any other assembly or one of its dependencies. An attempt to load a program with an incorrect format", please check your configure as follows:


       If you are using x64 libraries/dlls, Right click the project -> Properties -> Build -> Platform target: x64.


       If using x86, the platform target should be x86.

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");
//Convert format and save. img.Save(outputFilePath);