Class TiffStreamWriter
- Namespace
- Aspose.Imaging.FileFormats.Tiff.FileManagement
- Assembly
- Aspose.Imaging.dll
The Tiff stream writer.
public class TiffStreamWriter : #=zxGUTFrklD4PGEf4eGKsc3gL0G_AllGKYEXlNWJTTJ9qablcRaoyoVec=
- Inheritance
-
#=zxGUTFrklD4PGEf4eGKsc3gL0G_AllGKYEXlNWJTTJ9qablcRaoyoVec=TiffStreamWriter
- Derived
- Inherited Members
Constructors
TiffStreamWriter(StreamContainer)
Initializes a new instance of the TiffStreamWriter class.
public TiffStreamWriter(StreamContainer writer)
Parameters
writer
StreamContainerThe stream writer.
Properties
Position
Gets or sets the stream position.
public long Position { get; set; }
Property Value
- long
The stream position.
SyncRoot
Gets an object that can be used to synchronize access to the synchronized resource.
public object SyncRoot { get; }
Property Value
- object
The object that can be used to synchronize access to the synchronized resource.
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
ProcessWriteDataInt(int[], byte[])
Performs a conversion from the specific data type to the raw bytes.
protected virtual void ProcessWriteDataInt(int[] data, byte[] dest)
Parameters
ProcessWriteDataLong(long[], byte[])
Performs a conversion from the specific data type to the raw bytes.
protected virtual void ProcessWriteDataLong(long[] data, byte[] dest)
Parameters
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
ProcessWriteDataUInt(uint[], byte[])
Performs a conversion from the specific data type to the raw bytes.
protected virtual void ProcessWriteDataUInt(uint[] data, byte[] dest)
Parameters
ProcessWriteDataULong(ulong[], byte[])
Performs a conversion from the specific data type to the raw bytes.
protected virtual void ProcessWriteDataULong(ulong[] data, byte[] dest)
Parameters
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(TiffRational)
Writes a single rational number value to the stream.
public void Write(TiffRational data)
Parameters
data
TiffRationalThe 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 a single signed rational number value to the stream.
public void Write(TiffSRational data)
Parameters
data
TiffSRationalThe value 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(byte)
Writes a single byte value to the stream.
public void Write(byte data)
Parameters
data
byteThe value to write.
Write(byte[])
Writes the specified data.
public void Write(byte[] data)
Parameters
data
byte[]The data to write.
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
intThe data offset.
dataLength
intLength of the data to writer.
Write(double)
Writes a single double value to the stream.
public void Write(double data)
Parameters
data
doubleThe 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(MemoryStream)
Writes the specified data.
public void Write(MemoryStream stream)
Parameters
stream
MemoryStreamThe stream.
Write(short)
Writes a single short value to the stream.
public void Write(short data)
Parameters
data
shortThe 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
intThe value 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(long)
Writes an array of signed long values to the stream.
public void Write(long data)
Parameters
data
longThe 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(sbyte)
Writes a single signed byte value to the stream.
public void Write(sbyte data)
Parameters
data
sbyteThe 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(float)
Writes a single float value to the stream.
public void Write(float data)
Parameters
data
floatThe 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(ushort)
Writes a single unsigned short value to the stream.
public void Write(ushort data)
Parameters
data
ushortThe 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(uint)
Writes a single unsigned integer value to the stream.
public void Write(uint data)
Parameters
data
uintThe 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(ulong)
Writes an array of unsigned long values to the stream.
public void Write(ulong data)
Parameters
data
ulongThe 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()