Class TiffStreamWriter
Namespace: Aspose.Imaging.FileFormats.Tiff.FileManagement
Assembly: Aspose.Imaging.dll (25.8.0)
The Tiff stream writer.
public class TiffStreamWriter : #=zU85mBKUdGUk9EPCGH1bnmi8dewIZIurnJTA6Opcbu4gJNsDs2ft9E7A=Inheritance
object ← #=zU85mBKUdGUk9EPCGH1bnmi8dewIZIurnJTA6Opcbu4gJNsDs2ft9E7A= ← TiffStreamWriter
Derived
BigTiffWriter , TiffBigEndianStreamWriter
Inherited Members
object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()
Constructors
TiffStreamWriter(StreamContainer)
Initializes a new instance of the Aspose.Imaging.FileFormats.Tiff.FileManagement.TiffStreamWriter class.
public TiffStreamWriter(StreamContainer writer)Parameters
writer StreamContainer
The stream writer.
Properties
Position
Gets or sets the stream position.
public long Position { get; set; }Property Value
SyncRoot
Gets an object that can be used to synchronize access to the synchronized resource.
public object SyncRoot { get; }Property Value
Methods
ProcessWriteDataDouble(double[], byte[])
Performs a conversion from the specific data type to the raw bytes.
protected virtual void ProcessWriteDataDouble(double[] data, byte[] dest)Parameters
data double
[]
The data to convert.
dest byte
[]
The destination array containing the converted data..
ProcessWriteDataFloat(float[], byte[])
Performs a conversion from the specific data type to the raw bytes.
protected virtual void ProcessWriteDataFloat(float[] data, byte[] dest)Parameters
data float
[]
The data to convert.
dest byte
[]
The destination array containing the converted data..
ProcessWriteDataInt(int[], byte[])
Performs a conversion from the specific data type to the raw bytes.
protected virtual void ProcessWriteDataInt(int[] data, byte[] dest)Parameters
data int
[]
The data to convert.
dest byte
[]
The destination array containing the converted data..
ProcessWriteDataLong(long[], byte[])
Performs a conversion from the specific data type to the raw bytes.
protected virtual void ProcessWriteDataLong(long[] data, byte[] dest)Parameters
data long
[]
The data to convert.
dest byte
[]
The destination array containing the converted data.
ProcessWriteDataRational(TiffRational[], byte[])
Performs a conversion from the specific data type to the raw bytes.
protected virtual void ProcessWriteDataRational(TiffRational[] data, byte[] dest)Parameters
data TiffRational
[]
The data to convert.
dest byte
[]
The destination array containing the converted data..
ProcessWriteDataShort(short[], byte[])
Performs a conversion from the specific data type to the raw bytes.
protected virtual void ProcessWriteDataShort(short[] data, byte[] dest)Parameters
data short
[]
The data to convert.
dest byte
[]
The destination array containing the converted data..
ProcessWriteDataUInt(uint[], byte[])
Performs a conversion from the specific data type to the raw bytes.
protected virtual void ProcessWriteDataUInt(uint[] data, byte[] dest)Parameters
data uint
[]
The data to convert.
dest byte
[]
The destination array containing the converted data..
ProcessWriteDataULong(ulong[], byte[])
Performs a conversion from the specific data type to the raw bytes.
protected virtual void ProcessWriteDataULong(ulong[] data, byte[] dest)Parameters
data ulong
[]
The data to convert.
dest byte
[]
The destination array containing the converted data.
ProcessWriteDataUShort(ushort[], byte[])
Performs a conversion from the specific data type to the raw bytes.
protected virtual void ProcessWriteDataUShort(ushort[] data, byte[] dest)Parameters
data ushort
[]
The data to convert.
dest byte
[]
The destination array containing the converted data..
Write(MemoryStream)
Writes the specified data.
public void Write(MemoryStream stream)Parameters
stream MemoryStream
The stream.
Write(byte[], int, int)
Writes the specified data.
public void Write(byte[] data, int offset, int dataLength)Parameters
data byte
[]
The data to write.
offset int
The data offset.
dataLength int
Length of the data to writer.
Write(byte[])
Writes the specified data.
public void Write(byte[] data)Parameters
data byte
[]
The data to write.
Write(double)
Writes a single double value to the stream.
public void Write(double data)Parameters
data double
The value to write.
Write(double[])
Writes an array of double values to the stream.
public void Write(double[] data)Parameters
data double
[]
The array to write.
Write(float)
Writes a single float value to the stream.
public void Write(float data)Parameters
data float
The value to write.
Write(float[])
Writes an array of float values to the stream.
public void Write(float[] data)Parameters
data float
[]
The array to write.
Write(TiffRational)
Writes a single rational number value to the stream.
public void Write(TiffRational data)Parameters
data TiffRational
The value to write.
Write(TiffSRational)
Writes a single signed rational number value to the stream.
public void Write(TiffSRational data)Parameters
data TiffSRational
The value to write.
Write(TiffRational[])
Writes an array of unsigned rational values to the stream.
public void Write(TiffRational[] data)Parameters
data TiffRational
[]
The array to write.
Write(TiffSRational[])
Writes an array of signed rational values to the stream.
public void Write(TiffSRational[] data)Parameters
data TiffSRational
[]
The array to write.
Write(sbyte)
Writes a single signed byte value to the stream.
public void Write(sbyte data)Parameters
data sbyte
The value to write.
Write(sbyte[])
Writes an array of signed byte values to the stream.
public void Write(sbyte[] data)Parameters
data sbyte
[]
The array to write.
Write(int[])
Writes an array of integer values to the stream.
public void Write(int[] data)Parameters
data int
[]
The array to write.
Write(short)
Writes a single short value to the stream.
public void Write(short data)Parameters
data short
The value to write.
Write(short[])
Writes an array of short values to the stream.
public void Write(short[] data)Parameters
data short
[]
The array to write.
Write(int)
Writes a single integer value to the stream.
public void Write(int data)Parameters
data int
The value to write.
Write(byte)
Writes a single byte value to the stream.
public void Write(byte data)Parameters
data byte
The value to write.
Write(uint)
Writes a single unsigned integer value to the stream.
public void Write(uint data)Parameters
data uint
The value to write.
Write(uint[])
Writes an array of unsigned integer values to the stream.
public void Write(uint[] data)Parameters
data uint
[]
The array to write.
Write(ushort)
Writes a single unsigned short value to the stream.
public void Write(ushort data)Parameters
data ushort
The value to write.
Write(ushort[])
Writes an array of unsigned short values to the stream.
public void Write(ushort[] data)Parameters
data ushort
[]
The array to write.
Write(long)
Writes an array of signed long values to the stream.
public void Write(long data)Parameters
data long
The array to write.
Write(long[])
Writes an array of signed long values to the stream.
public void Write(long[] data)Parameters
data long
[]
The array to write.
Write(ulong)
Writes an array of unsigned long values to the stream.
public void Write(ulong data)Parameters
data ulong
The array to write.
Write(ulong[])
Writes an array of unsigned long values to the stream.
public void Write(ulong[] data)Parameters
data ulong
[]
The array to write.
WriteHeader()
Writes Tiff header.
protected virtual void WriteHeader()