This documentation is for the old version. Go to the latest Graphics Mill docs

LosslessJpegTransform.SampleSize Property

Returns a value that specifies the sample size of the JPEG file.

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


Visual Basic
Public ReadOnly Property SampleSize As Integer
public int SampleSize { get; }

Property Value

A sample size that is used in the currently opened JPEG image.


JPEG compressed data is stored in blocks (samples) of several pixels, typically of 8, 16, or other number divisible by 8. Sometimes, it is necessary to take the sample size into account, for example, when cropping images.

See Also