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)

Syntax

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

Property Value

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

Remarks

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

Reference