x=0; y=0; for (j = 0; j < Math.Ceiling((double)img.Height / 32); j++) { for (i = 0; i < Math.Ceiling((double)(img.Width/ 32)); i++) { //transformation in each block of 32 x 32 pix a = i; b = j; for (q = b; q < y + 32;q++) { for (p = a; p < x + 32; p++) { //transformation } } x = x + 32; y = y + 32; } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)