elm package cache
Packages
Reroutes
About
lamdera.com
justgook
/
elm-image
/
4.0.0
NOTE: the latest version is
5.0.0
README
About
Versions
Source
Modules
Image.Info
type
Info
=
Png
PngInfo
|
Bmp
BmpInfo
|
Gif
GifInfo
|
FromData
FromDataInfo
type
PngColor
=
Greyscale
BitDepth1_2_4_8_16
|
GreyscaleAlpha
BitDepth8_16
|
TrueColour
BitDepth8_16
|
TrueColourAlpha
BitDepth8_16
|
IndexedColour
BitDepth1_2_4_8
type
alias
PngInfo
=
{ width
:
Int
, height
:
Int
, color
:
PngColor
, adam7
:
Bool
}
type
alias
BmpInfo
=
{ width
:
Int
, height
:
Int
, fileSize
:
Int
, pixelStart
:
Int
, dibHeader
:
Int
, color_planes
:
Int
, bitsPerPixel
:
BmpBitsPerPixel
, compression
:
Int
, dataSize
:
Int
}
type
alias
FromDataInfo
=
{ width
:
Int
, height
:
Int
, color
:
FromDataColor
}
Helper functions
dimensions
:
Info
-> { width
:
Int
, height
:
Int
}
Helper types
type
BitDepth1_2_4_8
=
BitDepth1_2_4_8__1
|
BitDepth1_2_4_8__2
|
BitDepth1_2_4_8__4
|
BitDepth1_2_4_8__8
type
BitDepth1_2_4_8_16
=
BitDepth1_2_4_8_16__1
|
BitDepth1_2_4_8_16__2
|
BitDepth1_2_4_8_16__4
|
BitDepth1_2_4_8_16__8
|
BitDepth1_2_4_8_16__16
type
BitDepth8_16
=
BitDepth8_16__8
|
BitDepth8_16__16
type
BmpBitsPerPixel
=
BmpBitsPerPixel8
|
BmpBitsPerPixel16
|
BmpBitsPerPixel24
|
BmpBitsPerPixel32
type
FromDataBitDepth
=
FromDataBitDepth1
|
FromDataBitDepth2
|
FromDataBitDepth4
|
FromDataBitDepth8
|
FromDataBitDepth16
type
FromDataColor
=
FromDataChannel1
FromDataBitDepth
|
FromDataChannel2
FromDataBitDepth
|
FromDataChannel3
FromDataBitDepth
|
FromDataChannel4
FromDataBitDepth
README
About
6 versions
Source
Modules
Image
Image.Color
Image.Magic
Image.Advanced
Image.Info