TiffSettings Class

Contains all the possible TIFF writing settings.

Namespace: Aurigma.GraphicsMill.Codecs
Assembly: Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)


public sealed class TiffSettings : WriterSettings


The main TIFF writing settings is a compression type. To change compression type use Compression property. This property accepts members of the CompressionType enumeration.

Another setting which can be specified is alpha premultiplication which has meaning only when saving image with alpha channel. You can turn it on or off using IsAlphaPremultiplied property. The default value of this property is false and content of the alpha channel is simply stored along with color channels of the image by default. The second way is to store image with "associated" alpha channel. This way implies that not only alpha channel itself will be written into the file, but also color channels of each pixel will be premultiplied with the corresponding alpha channel value.

You should use TIFF files with associated alpha if you have software which gain some benefit from them. For example, TIFF files with premultiplied alpha are correctly shown as partially transparent images in Adobe® Photoshop®, while images with unassociated alpha are shown as non transparent images with additional channel. But you should take into account that premultiplication is slow and introduces rounding errors. So you should not set this property to true without reason.

You can also provide meta-information. Use AdobeResources, Exif and Iptc properties to specify corresponding metadata objects.


    new TiffSettings(CompressionType.Jpeg));

Inheritance Hierarchy

L Aurigma.GraphicsMill.Codecs.WriterSettings
L Aurigma.GraphicsMill.Codecs.TiffSettings

Thread Safety

Static members of this type are not safe for multi-threaded operations. Instance members of this type are not safe for multi-threaded operations.

See Also