# README
Pxl
a package converts images to text
# Functions
No description provided by the author
Encode converts a fg & bg colour into a formatted pair of 'pixels', using the prevfg & prevbg colours to perform something akin to run-length encoding.
FromFile func is a convenience function that converts a file to a formatted string.
FromImage is the core function of `pxl`, It takes an image.Image and converts it to a string formatted for tview.
FromImageGeneric is the fallback function for processing images.
FromNRGBA saves a handful of μs when working with NRGBA images.
FromPaletted saves a few μs when working with paletted images.
FromReader is a convenience function that converts an io.Reader to a formatted string.