Struct exif::experimental::Writer [] [src]

pub struct Writer<'a> { /* fields omitted */ }

The Writer struct is used to encode and write Exif data.

Methods

impl<'a> Writer<'a>
[src]

[src]

Constructs an empty Writer.

[src]

Appends a field to be written.

The fields can be appended in any order. Duplicate fields must not be appended.

The following fields are ignored and synthesized when needed: ExifIFDPointer, GPSInfoIFDPointer, InteropIFDPointer, StripOffsets, StripByteCounts, TileOffsets, TileByteCounts, JPEGInterchangeFormat, and JPEGInterchangeFormatLength.

[src]

Sets TIFF strips for the primary image. If this method is called multiple times, the last one is used.

[src]

Sets TIFF strips for the thumbnail image. If this method is called multiple times, the last one is used.

[src]

Sets TIFF tiles for the primary image. If this method is called multiple times, the last one is used.

[src]

Sets JPEG data for the thumbnail image. If this method is called multiple times, the last one is used.

[src]

Encodes Exif data and writes it into w.

The write position of w must be set to zero before calling this method.

Trait Implementations

impl<'a> Debug for Writer<'a>
[src]

[src]

Formats the value using the given formatter.