From 00c2f380823f9fcd33b468b1ce9ebd8611dda8c4 Mon Sep 17 00:00:00 2001 From: yam <19171514+nitrogenc@users.noreply.github.com> Date: Mon, 23 Nov 2020 23:05:59 +0100 Subject: [PATCH] Fixed Bitmap size field. --- README.md | 1 + bmc-tools.py | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 3e127fe..903a6f5 100644 --- a/README.md +++ b/README.md @@ -19,6 +19,7 @@ With the following arguments meaning: ``` ## Changelog ``` +23/11/2020 1.04 Fixed Bitmap size field. 30/04/2018 1.03 Added extra aggregated bitmap/collage output. 22/04/2018 1.02 Added support for (old?) bcache23.bmc files. 25/11/2016 1.01 Compressed data handling improved. diff --git a/bmc-tools.py b/bmc-tools.py index 0dec1b0..b5135e3 100755 --- a/bmc-tools.py +++ b/bmc-tools.py @@ -198,7 +198,7 @@ def b_export(self, dname): return True def b_export_bmp(self, width, height, data): if not self.pal: - return "BM"+pack("