mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-16 22:04:36 +00:00
![Nicholas Nethercote](/assets/img/avatar_default.png)
This patch implements proper color-scaling, instead of bit-shifting, and uses it for 16bpp images. It also cleans up the code relating to color masking in the process, by making BitFields a proper class and introducing the Value class within it. This fixes sub-optimal handling of four images in bmpsuite.