-- 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.1.0 module Data.Sixel c_bufsize :: CInt -> CInt -> IO CInt c_img2sixel :: Ptr () -> Ptr () -> CInt -> CInt -> IO CInt img2sixel :: Image PixelRGB8 -> String newtype SixelImage SixelImage :: String -> SixelImage [toSixelString] :: SixelImage -> String 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 -> SixelImage toSixelCmds :: Image PixelRGB8 -> [SixelCmd] pixel2colorMap :: Image PixelRGB8 -> Int -> Int -> SixelCmd putImage :: FilePath -> IO () demo :: [SixelCmd] instance GHC.Classes.Eq Data.Sixel.SixelCmd instance GHC.Classes.Eq Data.Sixel.SixelImage instance Data.Sixel.ToSixel [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] instance GHC.Show.Show Data.Sixel.SixelImage