In This Topic
JPEG2000 is an image compression for color and grayscale images and it is suitable for both lossless and lossy compression.
JPEG2000 compression compresses color and grayscale image more effectively than JPEG compression.
VintaSoft JPEG2000 .NET Plug-in has a set of classes for easy manipulation with JPEG2000 images.
JPEG2000File class
Jpeg2000File class allows to:
Here is C#/VB.NET code that shows how to load an existing Jpeg2000 file:
Vintasoft.Imaging.Codecs.ImageFiles.Jpeg2000.Jpeg2000File jpeg2kFile =
new Vintasoft.Imaging.Codecs.ImageFiles.Jpeg2000.Jpeg2000File("image.jp2");
Dim jpeg2kFile As New Vintasoft.Imaging.Codecs.ImageFiles.Jpeg2000.Jpeg2000File("image.jp2")
Jpeg2000Page class
Jpeg2000Page class allows to:
Here is C#/VB.NET code that shows how to get the page of Jpeg2000 file as VintasoftImage object:
Vintasoft.Imaging.Codecs.ImageFiles.Jpeg2000.Jpeg2000File jpeg2kFile =
new Vintasoft.Imaging.Codecs.ImageFiles.Jpeg2000.Jpeg2000File("image.jp2");
Vintasoft.Imaging.VintasoftImage pageImage = jpeg2kFile.Page.GetImage();
Dim jpeg2kFile As New Vintasoft.Imaging.Codecs.ImageFiles.Jpeg2000.Jpeg2000File("image.jp2")
Dim pageImage As Vintasoft.Imaging.VintasoftImage = jpeg2kFile.Page.GetImage()