Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
0 votes
1 answer
82 views

Resize only works when n % 4 = 0, when n = 1 or when i resize a 2x2-pixel BMP and n =2

I don't know exactly where is the problem. Resize gives me a bunch of different colors when n % 4 !=0. Can you guys help me understand what I'm doing wrong? // iterate over infile's scanlines { //...
Paulo Loyola's user avatar