ImageGear .NET v25.2 - Updated
ImageGear.Formats.Common Assembly / ImageGear.Formats Namespace / ImGearCommonFormats Class / CreateJpegFormat Method




In This Topic
    CreateJpegFormat Method
    In This Topic
    Creates optimized (native) JPEG format instance.
    Syntax
    'Declaration
     
    Public Shared Function CreateJpegFormat() As IImGearFormat
    'Usage
     
    Dim value As IImGearFormat
     
    value = ImGearCommonFormats.CreateJpegFormat()
    public static IImGearFormat CreateJpegFormat()
    public: static IImGearFormat* CreateJpegFormat(); 
    public:
    static IImGearFormat^ CreateJpegFormat(); 

    Return Value

    IImGearFormat instance of JPEG format.
    Remarks

    The Initialize(String) method adds to the ImageGear's global formats list default (managed) JPEG format instance. Use this method to create optimized (native) JPEG format. Use ImGearFileFilters.Set to replace existing default JPEG format with this optimized one.

    Currently, the optimized (native) JPEG filter does not support some of the rarely used types of JPEG format. For details, please refer to JPEG Format.

    See Also