Commit f519668d authored by Andrey's avatar Andrey

removed grayscale conversion.

parent e34e6d51
......@@ -341,10 +341,8 @@ class Printer {
final Image imgResized =
copyResize(image, width: newWidth, height: image.height);
final Image imgGreyscale = grayscale(imgResized);
final Image imgInvert = invert(imgGreyscale);
final bytes = imgInvert.getBytes(format: Format.luminance);
invert(imgResized);
final bytes = imgResized.getBytes(format: Format.luminance);
final res = _convert1bit(bytes);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment