Searched refs:PngIndexedColor (Results 1 – 6 of 6) sorted by relevance
162 | PngIndexedColor constructor416 put PngIndexedColor = putWord8 3425 imageTypeOfCode 3 = return PngIndexedColor
57 | otherwise = Right $ genericEncodePng (Just pal) Nothing PngIndexedColor metas img67 …| otherwise = Right $ genericEncodePng (Just opaquePalette) (Just alphaPal) PngIndexedColor metas …
407 sampleCountOfImageType PngIndexedColor = 1 function428 | bitDepth ihdr == 1 = unparse ihdr (Just paletteRGB1) t PngIndexedColor bytes429 | bitDepth ihdr == 2 = unparse ihdr (Just paletteRGB2) t PngIndexedColor bytes430 | bitDepth ihdr == 4 = unparse ihdr (Just paletteRGB4) t PngIndexedColor bytes434 unparse _ Nothing _ PngIndexedColor _ = Left "no valid palette found"441 unparse ihdr (Just plte) transparency PngIndexedColor bytes =