dimage v0.3.0-beta.4 (2023-02-25T23:52:15Z)
Dub
Repo
Image.readPixel
dimage
base
Image
Reads a single 32bit pixel. If the image is indexed, a color lookup will be done.
class
Image
public @
safe
pure
ARGB8888
readPixel
(
uint
x
,
uint
y
)
Meta
Source
See Implementation
dimage
base
Image
functions
flipHorizontal
flipVertical
getBitplanes
imageData
palette
readPalette
readPixel
rightSideOrigin
topOrigin
properties
backgroundColor
backgroundColorIndex
getBitdepth
getPaletteBitdepth
getPalettePixelFormat
getPixelFormat
height
isIndexed
width
variables
_imageData
_palette
mod
shift
Reads a single 32bit pixel. If the image is indexed, a color lookup will be done.