Exexif.Data.Thumbnail (Кропоткин Framework v0.1.0) View Source

Internal representation of Thumbnail tag in the EXIF.

Link to this section Summary

Functions

Converts the thumbnail to image and writes it to the file

Link to this section Types

Specs

t() :: %Exexif.Data.Thumbnail{
  thumbnail_offset: non_neg_integer(),
  thumbnail_size: non_neg_integer()
}

Link to this section Functions

Link to this function

to_image(file, thumbnail)

View Source

Specs

to_image(binary(), t()) :: :ok | {:error, :bad_thumbnail_data | :file.posix()}

Converts the thumbnail to image and writes it to the file