Files
lcd-image-converter/resources/scan_scripts/scan_right2left_forward_band.js
2013-10-05 21:23:37 +06:00

17 lines
285 B
JavaScript

/*
* right to left
* forward
* bands
*/
var bandY = 0;
do {
for (var x = image.width - 1; x >= 0; x--) {
for (var y = 0; y < image.bandSize; y++) {
image.addPoint(x, bandY + y);
}
}
bandY += image.bandSize;
} while (bandY < image.height);