Remove Pointers to Image Lib
This commit is contained in:
parent
758503d33f
commit
60f5ce3cc1
4 changed files with 27 additions and 35 deletions
18
lib/Dither.dart
Normal file
18
lib/Dither.dart
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
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;
|
||||
}
|
||||
|
||||
}
|
||||
3
lib/dither.dart
Normal file
3
lib/dither.dart
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
library dither;
|
||||
|
||||
export 'Dither.dart';
|
||||
Loading…
Add table
Add a link
Reference in a new issue