ImageGear .NET v24.12 - Updated
Compression Property (ImGearEXIFMetadata)




ImageGear24.Formats.SimplifiedMetadata Assembly > ImageGear.Formats.EXIF Namespace > ImGearEXIFMetadata Class : Compression Property
Gets or sets Compression Tag value.
Syntax
'Declaration
 
Public Property Compression As Nullable(Of ImGearTIFFCompression)
'Usage
 
Dim instance As ImGearEXIFMetadata
Dim value As Nullable(Of ImGearTIFFCompression)
 
instance.Compression = value
 
value = instance.Compression
public Nullable<ImGearTIFFCompression> Compression {get; set;}
public: __property Nullable<ImGearTIFFCompression> get_Compression();
public: __property void set_Compression( 
   Nullable<ImGearTIFFCompression> value
);
public:
property Nullable<ImGearTIFFCompression> Compression {
   Nullable<ImGearTIFFCompression> get();
   void set (    Nullable<ImGearTIFFCompression> value);
}

Property Value

Nullable (boxed) ImageGear.Formats.TIF.ImGearTIFFCompression enumeration value.
Remarks
This property accesses the Compression tag. The tag specifies the compression scheme used on the image data.

Get accessor returns the tag value if the tag is present in the metadata tree, or null otherwise.

Set accessor replaces the current tag value if the tag is present in the metadata tree, adds the tag if it was not present, or deletes the tag if a null value is passed.

ImageGear ignores the value of this tag during image saving, and saves a value that corresponds to the saved image DIB's parameters.

See the TIFF 6.0 specification for tag usage details.

See Also

Reference

ImGearEXIFMetadata Class
ImGearEXIFMetadata Members
ImGearTIFFCompression Enumeration