-
Notifications
You must be signed in to change notification settings - Fork 57
Open
Description
I see that decodeTiffWithPaletteAndMetadata :: ByteString -> Either String (PalettedImage, Metadatas) exists, which lets me extract the palette of a Tiff image. However, if I make changes to that palette, I see no way of encoding the same TIFF data, just with a different palette.
GIF and PNG have encodeGifImageWithPalette :: Image Pixel8 -> Palette -> Either String ByteString and encodePalettedPng :: PngPaletteSaveable a => Image a -> Image Pixel8 -> Either String ByteString respectively, but I see no equivalent for TIFFs.
Is there something I'm missing, that would let me modify the palette of a PalettedImage (TIFF in my current use case) and then re-encode the image?
Metadata
Metadata
Assignees
Labels
No labels