Struct tiff::encoder::TiffKindStandard
source · pub struct TiffKindStandard;
Expand description
Create a standard Tiff file.
Trait Implementations§
source§impl TiffKind for TiffKindStandard
impl TiffKind for TiffKindStandard
§type OffsetType = u32
type OffsetType = u32
The type of offset fields,
u32
for normal Tiff, u64
for BigTiff.§type OffsetArrayType = [u32]
type OffsetArrayType = [u32]
Needed for the
convert_slice
method.source§fn write_header<W: Write>(writer: &mut TiffWriter<W>) -> TiffResult<()>
fn write_header<W: Write>(writer: &mut TiffWriter<W>) -> TiffResult<()>
Write the (Big)Tiff header.
source§fn convert_offset(offset: u64) -> TiffResult<Self::OffsetType>
fn convert_offset(offset: u64) -> TiffResult<Self::OffsetType>
Convert a file offset to
Self::OffsetType
. Read moresource§fn write_offset<W: Write>(
writer: &mut TiffWriter<W>,
offset: u64
) -> TiffResult<()>
fn write_offset<W: Write>( writer: &mut TiffWriter<W>, offset: u64 ) -> TiffResult<()>
Write an offset value to the given writer. Read more
source§fn write_entry_count<W: Write>(
writer: &mut TiffWriter<W>,
count: usize
) -> TiffResult<()>
fn write_entry_count<W: Write>( writer: &mut TiffWriter<W>, count: usize ) -> TiffResult<()>
Write the IFD entry count field with the given
count
value. Read moresource§fn convert_slice(slice: &[Self::OffsetType]) -> &Self::OffsetArrayType
fn convert_slice(slice: &[Self::OffsetType]) -> &Self::OffsetArrayType
Internal helper method for satisfying Rust’s type checker. Read more