JFIFData

Inheritance: java.lang.Object

public final class JFIFData

The jfif segment.

Constructors

ConstructorDescription
JFIFData()Initializes a new instance of the JFIFData class.

Methods

MethodDescription
getDensityUnits()Gets the density units.
setDensityUnits(byte value)Sets the density units.
getThumbnail()Gets the thumbnail.
setThumbnail(RasterImage value)Sets the thumbnail.
getVersion()Gets the version.
setVersion(short value)Sets the version.
getXDensity()Gets the x density.
setXDensity(short value)Sets the x density.
getYDensity()Gets the y density.
setYDensity(short value)Sets the y density.

JFIFData()

public JFIFData()

Initializes a new instance of the JFIFData class.

getDensityUnits()

public byte getDensityUnits()

Gets the density units.

Returns: byte - the density units.

setDensityUnits(byte value)

public void setDensityUnits(byte value)

Sets the density units.

Parameters:

ParameterTypeDescription
valuebytethe density units.

getThumbnail()

public RasterImage getThumbnail()

Gets the thumbnail.

Returns: RasterImage - the thumbnail.

setThumbnail(RasterImage value)

public void setThumbnail(RasterImage value)

Sets the thumbnail.

Parameters:

ParameterTypeDescription
valueRasterImagethe thumbnail.

getVersion()

public short getVersion()

Gets the version.

Returns: short - the version.

setVersion(short value)

public void setVersion(short value)

Sets the version.

Parameters:

ParameterTypeDescription
valueshortthe version.

getXDensity()

public short getXDensity()

Gets the x density.

Returns: short - the x density.

setXDensity(short value)

public void setXDensity(short value)

Sets the x density.

Parameters:

ParameterTypeDescription
valueshortthe x density.

getYDensity()

public short getYDensity()

Gets the y density.

Returns: short - the y density.

setYDensity(short value)

public void setYDensity(short value)

Sets the y density.

Parameters:

ParameterTypeDescription
valueshortthe y density.