From 357f2fd18c09d226b439ff8a37ca431333c652c4 Mon Sep 17 00:00:00 2001 From: Fox_exe Date: Fri, 13 Oct 2017 18:42:45 +0500 Subject: [PATCH] Fixed generated code for RGB565 --- Image2Bitmap/Form1.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Image2Bitmap/Form1.cs b/Image2Bitmap/Form1.cs index 61cc379..601e5ab 100644 --- a/Image2Bitmap/Form1.cs +++ b/Image2Bitmap/Form1.cs @@ -233,7 +233,7 @@ private String GenDrawCode_RGB332(Image image) private String GenDrawCode_RGB565(Image image) { - String result = "uint8_t image = {" + Environment.NewLine + "\t"; + String result = "uint16_t image = {" + Environment.NewLine + "\t"; using (Bitmap bmp = new Bitmap(image)) {