Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
img2sixel' :: Image PixelRGB8 -> ByteString Source #
newtype SixelImage Source #
Instances
Eq SixelImage Source # | |
Defined in Data.Sixel (==) :: SixelImage -> SixelImage -> Bool # (/=) :: SixelImage -> SixelImage -> Bool # | |
Show SixelImage Source # | |
Defined in Data.Sixel showsPrec :: Int -> SixelImage -> ShowS # show :: SixelImage -> String # showList :: [SixelImage] -> ShowS # |
type ColorNumber = Word8 Source #
type PixelPattern = Word8 Source #
Start Int Int Int | |
End | |
Size Int Int Int Int | |
ColorMapRGB ColorNumber Word8 Word8 Word8 | |
ColorMapHLS ColorNumber Int Int Int | |
Color ColorNumber | |
Sixel PixelPattern | |
Repeat Int PixelPattern | |
CR | |
LF |
class ToSixel a where Source #
toSixel :: a -> SixelImage Source #
Instances
ToSixel DynamicImage Source # | |
Defined in Data.Sixel toSixel :: DynamicImage -> SixelImage Source # | |
ToSixel [SixelCmd] Source # | |
Defined in Data.Sixel toSixel :: [SixelCmd] -> SixelImage Source # | |
ToSixel (Image PixelRGB8) Source # | |
Defined in Data.Sixel |