- expand loops to avoid checks for each iteration - use unsigned ints for looping over pixels - use inline functions for color conversion
- expand loops to avoid checks for each iteration - use unsigned ints for looping over pixels - use inline functions for color conversion