floyd-steinberg-dithering/lib/Dither.dart

19 lines
290 B
Dart
Raw Normal View History

2018-02-12 14:55:45 +00:00
import 'dart:html';
class Dither {
static ImageData editImage(ImageData image) {
// image = contrast( image, 200);
for (var y = 0; y < image.height; y++) {
for (var x = 0; x < image.width; x++) {
// print(image.getPixel(x, y));
}
}
return image;
}
}