Documents for Imaging .NET Edition
Features / Save Image
In This Topic
    Save Image
    In This Topic

    GcImaging allows you to save images in various formats, such as JPEG, PNG, BMP, TIFF, and GIF. Each of these formats have a dedicated save method as shown below:

    Format Method
    JPEG (with specified quality) SaveAsJpeg
    PNG SaveAsPng
    BMP SaveAsBmp
    TIFF SaveAsTiff
    GIF SaveAsGif

    Each of these methods has two overloads, one saves the image in a file and other saves the image in a stream.

    C#
    Copy Code
    // Save image
    bmp.SaveAsJpeg("color-postits.jpg");
    
    // Save image using stream
    bmp.SaveAsJpeg(stream);