August 16, 2009 at 3:59 pm #24996
- Topics - 3
- Replies - 66
- Total Posts - 69
When the number of bytes per row is not evenly divisble by 3, you’re loop won’t work. Rewrite it to do one row at a time instead of the entire buffer in one pass.