TiffStreamWriter Class

Summary: Tiff stream writer.

Module: aspose.psd.fileformats.tiff.filemanagement

Full Name: aspose.psd.fileformats.tiff.filemanagement.TiffStreamWriter

Aspose.PSD Version: 24.9.0

Constructors

NameDescription
TiffStreamWriter(writer)Initializes a new instance of the TiffStreamWriter class.

Properties

NameTypeAccessDescription
positionlongr/wGets or sets the stream position.
sync_rootobjectrGets an object that can be used to synchronize access to the synchronized resource.

Methods

NameDescription
write(data)Writes the specified data.
write(data, offset, data_length)Writes the specified data.
write_double(data)Writes a single double value to the stream.
write_double_array(data)Writes an array of double values to the stream.
write_float(data)Writes a single float value to the stream.
write_float_array(data)Writes an array of float values to the stream.
write_rational(data)Writes a single rational number value to the stream.
write_rational_array(data)Writes an array of unsigned rational values to the stream.
write_s_byte(data)Writes a single signed byte value to the stream.
write_s_byte_array(data)Writes an array of signed byte values to the stream.
write_s_long_array(data)Writes an array of integer values to the stream.
write_s_rational(data)Writes a single signed rational number value to the stream.
write_s_rational_array(data)Writes an array of signed rational values to the stream.
write_s_short(data)Writes a single short value to the stream.
write_s_short_array(data)Writes an array of short values to the stream.
write_slong(data)Writes a single integer value to the stream.
write_u_byte(data)Writes a single byte value to the stream.
write_u_long(data)Writes a single unsigned integer value to the stream.
write_u_long_array(data)Writes an array of unsigned integer values to the stream.
write_u_short(data)Writes a single unsigned short value to the stream.
write_u_short_array(data)Writes an array of unsigned short values to the stream.

Constructor: TiffStreamWriter(writer)

 TiffStreamWriter(writer) 

Initializes a new instance of the TiffStreamWriter class.

Parameters:

ParameterTypeDescription
writerStreamContainerThe stream writer.

Method: write(data)

 write(data) 

Writes the specified data.

Parameters:

ParameterTypeDescription
databyteThe data to write.

Method: write(data, offset, data_length)

 write(data, offset, data_length) 

Writes the specified data.

Parameters:

ParameterTypeDescription
databyteThe data to write.
offsetintThe data offset.
data_lengthintLength of the data to writer.

Method: write_double(data)

 write_double(data) 

Writes a single double value to the stream.

Parameters:

ParameterTypeDescription
datadoubleThe value to write.

Method: write_double_array(data)

 write_double_array(data) 

Writes an array of double values to the stream.

Parameters:

ParameterTypeDescription
datadoubleThe array to write.

Method: write_float(data)

 write_float(data) 

Writes a single float value to the stream.

Parameters:

ParameterTypeDescription
datafloatThe value to write.

Method: write_float_array(data)

 write_float_array(data) 

Writes an array of float values to the stream.

Parameters:

ParameterTypeDescription
datafloatThe array to write.

Method: write_rational(data)

 write_rational(data) 

Writes a single rational number value to the stream.

Parameters:

ParameterTypeDescription
dataTiffRationalThe value to write.

Method: write_rational_array(data)

 write_rational_array(data) 

Writes an array of unsigned rational values to the stream.

Parameters:

ParameterTypeDescription
dataTiffRational[]The array to write.

Method: write_s_byte(data)

 write_s_byte(data) 

Writes a single signed byte value to the stream.

Parameters:

ParameterTypeDescription
datasbyteThe value to write.

Method: write_s_byte_array(data)

 write_s_byte_array(data) 

Writes an array of signed byte values to the stream.

Parameters:

ParameterTypeDescription
datasbyteThe array to write.

Method: write_s_long_array(data)

 write_s_long_array(data) 

Writes an array of integer values to the stream.

Parameters:

ParameterTypeDescription
dataintThe array to write.

Method: write_s_rational(data)

 write_s_rational(data) 

Writes a single signed rational number value to the stream.

Parameters:

ParameterTypeDescription
dataTiffSRationalThe value to write.

Method: write_s_rational_array(data)

 write_s_rational_array(data) 

Writes an array of signed rational values to the stream.

Parameters:

ParameterTypeDescription
dataTiffSRational[]The array to write.

Method: write_s_short(data)

 write_s_short(data) 

Writes a single short value to the stream.

Parameters:

ParameterTypeDescription
datashortThe value to write.

Method: write_s_short_array(data)

 write_s_short_array(data) 

Writes an array of short values to the stream.

Parameters:

ParameterTypeDescription
datashortThe array to write.

Method: write_slong(data)

 write_slong(data) 

Writes a single integer value to the stream.

Parameters:

ParameterTypeDescription
dataintThe value to write.

Method: write_u_byte(data)

 write_u_byte(data) 

Writes a single byte value to the stream.

Parameters:

ParameterTypeDescription
databyteThe value to write.

Method: write_u_long(data)

 write_u_long(data) 

Writes a single unsigned integer value to the stream.

Parameters:

ParameterTypeDescription
datauintThe value to write.

Method: write_u_long_array(data)

 write_u_long_array(data) 

Writes an array of unsigned integer values to the stream.

Parameters:

ParameterTypeDescription
datauintThe array to write.

Method: write_u_short(data)

 write_u_short(data) 

Writes a single unsigned short value to the stream.

Parameters:

ParameterTypeDescription
dataushortThe value to write.

Method: write_u_short_array(data)

 write_u_short_array(data) 

Writes an array of unsigned short values to the stream.

Parameters:

ParameterTypeDescription
dataushortThe array to write.