From eb8598ce486a74ffaa09d9f36426b9521290a639 Mon Sep 17 00:00:00 2001 From: Stefan `Sec` Zehl Date: Thu, 4 Aug 2011 23:45:52 +0200 Subject: [PATCH] Another offset by 4 --- tools/image/img2lcd.pl | 2 +- tools/image/lcd/i42.lcd | Bin 864 -> 864 bytes tools/image/lcd/r0ket.lcd | Bin 864 -> 864 bytes 3 files changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/image/img2lcd.pl b/tools/image/img2lcd.pl index d6738c6..44e3014 100755 --- a/tools/image/img2lcd.pl +++ b/tools/image/img2lcd.pl @@ -54,7 +54,7 @@ my @img; for my $y (0..$h-1){ for my $x (0..$w-1){ my $px= $image->getPixel($x,$y); - $img[$x][$y/8]|=$px<<(7-$y%8); + $img[$x][($y+4)/8]|=$px<<(7-($y+4)%8); if($verbose){ $px=~y/01/ */; print STDERR $px; }; diff --git a/tools/image/lcd/i42.lcd b/tools/image/lcd/i42.lcd index 4fbf52446919c0b2d59ce756c92a86d8cb891244..f8b96a32a9ed170490fd8ac402e39fc2f2e9c2c6 100644 GIT binary patch literal 864 zcmcIhF%H8Z3F{53Qu4w1FGw$QWX@1EbR>l`|R^sX6*kM zr)g62ycpwMP5?0ir0k4YW;Ll=a?b*ky3W0VJqNigT1p|LRPTAtIUj=Em$d(c7=|`= z9u-8*&*_c18G`pTn2?`{k4#7@(Mt)!{Zs)FPq_mTA=jYy-ean0MaQ5-Eb$<;B>qV zUEnq688T^k8a~ejh&RHG!hw8} zD_tAmIU04_iCR696RRl&CcTK7!y&}4jxfh_k}F+Lc2HrhbiXq5+G|x~1&+^B;6v~9 WOtgau26iI$|FW+i%^0tYtVG{MxreL( literal 864 zcmcJL%?*Sg5QS$liQJ$B8X=(-J8=>lqXS!@gB@=k4DN_~!h;(&`wp1*eDm=m@?Ra# za!AI-rWc(dbWPZ0;nKWBuR6{pF7qetA~r+9ki$TgD2LQ94Iu+d)9kd9#R}yL6z1yC zPMy4VOmRtqrE3=eBpW1Y+7>%~1|T2C#ELw{X$)T9D|hnlW4mP5bEDB;2K64CWxv;c POG?>feXX*U@;&GcxrN-Z