sixel-0.1.1.1: Sixel library to show images in a terminal emulator

Safe HaskellNone
LanguageHaskell2010

Data.Sixel

Documentation

c_img2sixel :: Ptr () -> Ptr () -> CInt -> CInt -> IO CInt Source #

newtype SixelImage Source #

Constructors

SixelImage 
Instances
Eq SixelImage Source # 
Instance details

Defined in Data.Sixel

Show SixelImage Source # 
Instance details

Defined in Data.Sixel

type Width = Int Source #

data SixelCmd Source #

Instances
Eq SixelCmd Source # 
Instance details

Defined in Data.Sixel

Show SixelCmd Source # 
Instance details

Defined in Data.Sixel

Show [SixelCmd] Source # 
Instance details

Defined in Data.Sixel

Methods

showsPrec :: Int -> [SixelCmd] -> ShowS #

show :: [SixelCmd] -> String #

showList :: [[SixelCmd]] -> ShowS #

ToSixel [SixelCmd] Source # 
Instance details

Defined in Data.Sixel

numDigits :: (Integral a, Ord a, Num a) => a -> Int Source #

class ToSixel a where Source #

Methods

toSixel :: a -> SixelImage Source #

Instances
ToSixel DynamicImage Source # 
Instance details

Defined in Data.Sixel

ToSixel [SixelCmd] Source # 
Instance details

Defined in Data.Sixel

ToSixel (Image PixelRGB8) Source # 
Instance details

Defined in Data.Sixel