Skip to content

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

img1b

Package img1b is a fork of the standard Go image package modified for 1-bit images. Images are kept packed so they take up to 8 times less memory and may be processed faster.

It provides an Image type that is in most aspects very similar to image.Paletted with palette limited to two colors.

img1b.Image implements image.PalettedImage and can be encoded with image/png and probably other encoders but that is not very efficient due to all the bit shuffling involved. Subpackage img1b/png is a modified png codec that processes whole rows which is several times faster.

About

Go package for efficient processing of 1-bit images

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages