glirc-2.33.1: Console IRC client

Copyright(c) Eric Mertens 2016
LicenseISC
Maintaineremertens@gmail.com
Safe HaskellNone
LanguageHaskell2010

Client.Image.PackedImage

Contents

Description

This module provides a more memory efficient way to store images.

Synopsis

Documentation

data Image' Source #

Packed, strict version of Image used for long-term storage of images.

Instances
Show Image' Source # 
Instance details

Defined in Client.Image.PackedImage

IsString Image' Source # 
Instance details

Defined in Client.Image.PackedImage

Methods

fromString :: String -> Image' #

Semigroup Image' Source # 
Instance details

Defined in Client.Image.PackedImage

Monoid Image' Source # 
Instance details

Defined in Client.Image.PackedImage

Packed image construction

imageWidth :: Image' -> Int Source #

Width in terms of terminal columns

splitImage Source #

Arguments

:: Int

image width

-> Image' 
-> (Image', Image')