Skip to content
This repository was archived by the owner on May 12, 2022. It is now read-only.

Commit 357f2fd

Browse files
committed
Fixed generated code for RGB565
1 parent 2d2571d commit 357f2fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Image2Bitmap/Form1.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ private String GenDrawCode_RGB332(Image image)
233233

234234
private String GenDrawCode_RGB565(Image image)
235235
{
236-
String result = "uint8_t image = {" + Environment.NewLine + "\t";
236+
String result = "uint16_t image = {" + Environment.NewLine + "\t";
237237

238238
using (Bitmap bmp = new Bitmap(image))
239239
{

0 commit comments

Comments
 (0)