maim (make image) takes screenshots of your desktop. It has options to take only a region, and relies on slop to query for regions. maim is supposed to be an improved scrot.
This adds support for 24 bit RGB bitmaps without adding extra dependencies. I've tested it with RGBA and it seems to work just fine with the images being understood by the programs I tested, but there's an expanded header format for that and it'd be better to use a proper BMP library at that point to guarantee compatibility. I figure most people using BMP don't expect it to support transparency anyway.
For my desktop the improvement is from around 1.2 seconds with minimum quality PNGs to 360ms.
This adds support for 24 bit RGB bitmaps without adding extra dependencies. I've tested it with RGBA and it seems to work just fine with the images being understood by the programs I tested, but there's an expanded header format for that and it'd be better to use a proper BMP library at that point to guarantee compatibility. I figure most people using BMP don't expect it to support transparency anyway.
For my desktop the improvement is from around 1.2 seconds with minimum quality PNGs to 360ms.