From 7a281d626ad5b1ad77a0d09393d4534435ba7a9b Mon Sep 17 00:00:00 2001 From: Sergiotarxz Date: Sat, 2 Nov 2024 21:59:56 +0100 Subject: [PATCH] Restoring brightness, my problem is faulty paper. --- lib/Exd/Printer.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Exd/Printer.pm b/lib/Exd/Printer.pm index 9e4b25c..d0f1556 100644 --- a/lib/Exd/Printer.pm +++ b/lib/Exd/Printer.pm @@ -121,7 +121,7 @@ sub print($self) { if system( qw/magick/, $image_file_in, - qw/-resize 384x -brightness-contrast +0.1 -dither FloydSteinberg -remap pattern:gray50/, + qw/-resize 384x -brightness-contrast +0.8 -dither FloydSteinberg -remap pattern:gray50/, $image_file_out ); $image_final = Exd::Utils::get_gd_image( $image_file_out . '' );