Image.File

Description

Name

class Tinman.Image.File

Derived from

Image

Reads image data from a file.

Fields / Required

data

Type

Data

Constraint

# != null

The data provider that reads the image file data.

Fields / Optional

format

Type

string

Default

'Any'

The image file format. If unknown, the format is inferred from the data stream.
The following default image file formats are available:

  • 'Any'

    Automatic image format

  • 'BMP'

    The BMP image file format.

    Write supported: yes
    IANA media type: image/bmp
    File extensions: .bmp

  • 'DDS'

    The DDS image file format.

    Write supported: no
    IANA media type: none
    File extensions: .dds

  • 'GIF'

    The GIF image file format.

    Write supported: no
    IANA media type: image/gif
    File extensions: .gif

  • 'JPG'

    The JPEG image file format.

    Write supported: no
    IANA media type: image/jpeg
    File extensions: .jpeg .jpg

  • 'PNG'

    The PNG image file format.

    Write supported: no
    IANA media type: image/png
    File extensions: .png

  • 'PXB'

    The PXB image file format ('PiXel Buffer', proprietary).

    Write supported: no
    IANA media type: none
    File extensions: .pxb

  • 'TGA'

    The TGA image file format.

    Write supported: yes
    IANA media type: none
    File extensions: .tga

  • 'TIFF'

    The TIFF image file format.

    Write supported: no
    IANA media type: image/tiff
    File extensions: .tif .tiff

  • 'TXB'

    The TXB image file format ('TeXel Buffer', proprietary).

    Write supported: no
    IANA media type: none
    File extensions: .txb

  • 'GDAL'

    Uses GDAL (>= v1.11), if installed.

  • 'GDAL+PROJ'

    Uses GDAL (>= v1.11) + PROJ(>= v4), if installed.

Fields / External

info

Type

Image.Info

Contains information about the image data source, including image format and embedded geo-referencing information.