-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | Sixel library to show images in a terminal emulator -- -- Sixel can show graphics on a terminal emulator. This library is -- developed to showing images on ghci. @package sixel @version 0.1.0.0 module Data.Sixel type ColorNumber = Word8 type PixelPattern = Word8 type Width = Int type Height = Int data SixelCmd Start :: Int -> Int -> Int -> SixelCmd End :: SixelCmd Size :: Int -> Int -> Int -> Int -> SixelCmd ColorMapRGB :: ColorNumber -> Word8 -> Word8 -> Word8 -> SixelCmd ColorMapHLS :: ColorNumber -> Int -> Int -> Int -> SixelCmd Color :: ColorNumber -> SixelCmd Sixel :: PixelPattern -> SixelCmd Repeat :: Int -> PixelPattern -> SixelCmd CR :: SixelCmd LF :: SixelCmd numDigits :: (Integral a, Ord a, Num a) => a -> Int class ToSixel a toSixel :: ToSixel a => a -> [SixelCmd] pixel2colorMap :: Image PixelRGB8 -> Int -> Int -> SixelCmd putImage :: FilePath -> IO () demo :: [SixelCmd] instance GHC.Classes.Eq Data.Sixel.SixelCmd instance Data.Sixel.ToSixel Codec.Picture.Types.DynamicImage instance Data.Sixel.ToSixel (Codec.Picture.Types.Image Codec.Picture.Types.PixelRGB8) instance GHC.Show.Show Data.Sixel.SixelCmd instance GHC.Show.Show [Data.Sixel.SixelCmd]