D 2014-03-26T20:59:26.596 L reference_table P 9d2ecbe4e05dbe15a02ffed4caca392a8763a791 U sandro W 7003 Back to RasterLite2 doc index

Work in progress

Supported sample types

FamilyBitsMnemonicNotes
Unsigned Integer 1 1-BIT
Min value: 0
Min value: 1
2 2-BIT
Min value: 0
Min value: 3
4 4-BIT
Min value: 0
Min value: 15
8 UINT8
Min value: 0
Min value: 255
16 UINT16
Min value: 0
Min value: 65,535
32 UINT32
Min value: 0
Min value: 4,294,967,295
Signed Integer 8 INT8
Min value: -128
Min value: 127
16 INT16
Min value: -32,768
Min value: 32,767
32 INT32
Min value: -2,147,483,648
Min value: 2,147,483,647
Floating Point 32 FLOAT
Min value: -3.402823e+038
Min value: 3.402823e+038
64 DOUBLE
Min value: -1.797693e+308
Min value: 1.797693e+308


Supported pixel types

MnemonicBandsSample typeNotes
MONOCHROME 1 1-BIT the implicit photometric interpretation always is:
  • 0: full transparent
  • 1: black, opaque
PALETTE 1 1-BIT
2-BIT
4-BIT
UINT8
the implicit photometric interpretation is always the one defined by the Palette Color associated to the Raster Coverage.
This actually corresponds to an RGB output image, the color of each pixel being indirectly determined by its palette index.
GRAYSCALE 1 2-BIT
4-BIT
UINT8
the implicit photometric interpretation is always of the Grayscale type.
0 always corresponds to full black, and the max value to full white.
RGB 3 UINT8
UINT16
the implicit photometric interpretation is always of the RGB type.
MULTIBAND > 1
< 256
UINT8
UINT16
there is no implicit photometric interpretation.
DATAGRID 1 INT8
UINT8
INT16
UINT16
INT32
UINT32
FLOAT
DOUBLE
there is no implicit photometric interpretation.


Supported compression algorithms

MnemonicCompression typeNotes
DEFLATE lossless a general purpose compression algorithm used by ZIP archives and implemented by zlib.
You can find more detailed information about this algorithm here.
LZMA lossless an advanced general purpose compression algorithm used by 7-ZIP archives and implemented by liblzma.
You can find more detailed information about this algorithm here.

Please note: this algorithm is very slow while compressing, but is reasonably fast while decompressing; and usually ensurees better compression ratios than DEFLATE.
FAX4 lossless an highly specialized compression algorithm only supporting monochrome images initially developed for fax machines: implemented by libtiff. You can find more detailed information about this algorithm here.
JPEG lossy an universally spread photographic image format supporting RGB and Grayscale colorspaces but completely lacking of any transparency support. Implemented by the someway obsolete libjpeg.
You can find more detailed information about this algorithm here.



Back to RasterLite2 doc index Z e355ba5e16a170b9b8ff15169f1a0b9a