VintaSoft Imaging .NET SDK v8.7
In This Topic
    JPEG2000: Overview
    In This Topic

    JPEG 2000 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 an example that shows how to load an existing Jpeg2000 file:
    ' The project, which uses this code, must have references to the following assemblies:
    ' - Vintasoft.Imaging.Jpeg2000Codec
    
    Dim jpeg2kFile As New Vintasoft.Imaging.Codecs.ImageFiles.Jpeg2000.Jpeg2000File("image.jp2")
                  
    
    // The project, which uses this code, must have references to the following assemblies:
    // - Vintasoft.Imaging.Jpeg2000Codec
    
    Vintasoft.Imaging.Codecs.ImageFiles.Jpeg2000.Jpeg2000File jpeg2kFile = 
        new Vintasoft.Imaging.Codecs.ImageFiles.Jpeg2000.Jpeg2000File("image.jp2");
                    
    



    Jpeg2000Page class

    Jpeg2000Page class allows to:
    Here is an example that shows how to get the page of Jpeg2000 file as VintasoftImage object:
    ' The project, which uses this code, must have references to the following assemblies:
    ' - Vintasoft.Imaging
    ' - Vintasoft.Imaging.Jpeg2000Codec
    
    Dim jpeg2kFile As New Vintasoft.Imaging.Codecs.ImageFiles.Jpeg2000.Jpeg2000File("image.jp2")
    Dim pageImage As Vintasoft.Imaging.VintasoftImage = jpeg2kFile.Page.GetImage()
                  
    
    // The project, which uses this code, must have references to the following assemblies:
    // - Vintasoft.Imaging
    // - Vintasoft.Imaging.Jpeg2000Codec
    
    Vintasoft.Imaging.Codecs.ImageFiles.Jpeg2000.Jpeg2000File jpeg2kFile = 
        new Vintasoft.Imaging.Codecs.ImageFiles.Jpeg2000.Jpeg2000File("image.jp2");
    Vintasoft.Imaging.VintasoftImage pageImage = jpeg2kFile.Page.GetImage();