Location:
Search - rgb565 b
Search list
Description: 把rgb565格式的文件写成bmp文件,并显示出来。-Rgb565 format to write bmp files, and displayed.
Platform: |
Size: 1789952 |
Author: chezuguo |
Hits:
Description: rgb565 - convert 24bits to 16bits -Usage: rgb565 [R] [G] [B]
R- red
G- green
B- Blue
Platform: |
Size: 1024 |
Author: Roger |
Hits:
Description: JPG2RGB565
说明:
1.对于单片机而言有的时候需要显示图片,一般单片机为了节约资源采用的图片一般为RGB565格式,
PC机上用的一般是RGB格式,也就是说PC机器上RGB(R,G,B)三个字节表示一个像素,单片机采
用两个字节表示一个像素,第一个字节的高5位表示R,第一个字节的低3位和第二个字节的高3位
表示G,第二个字节的低5位表示B
2.本程序支持JPG格式转为RGB565格式,显示在屏幕上或者用管道命令输出到一个文本文件
命令行:JPG2RGB565 <infile.jpg> > <outfile.h>
打开outfile.h,拷贝其中的数据即可
3.这个工具很简单,只有一个Main.go文件,可执行文件也很简单绿色环保。
代码很简单,采用Google公司的Go语言开发,同时也便于大家在Windows系统下使用编译好了可执行文件。如果需要在Linux和Mac下,只需要重新编译Main.go文件即可。
-JPG2RGB565- A tool for JPG picture file to convert RGB565 format.
Description:
(1) Most of microcontroller sometimes need to display pictures with RGB565 format data.And we often get the picture on PC of RGB888 format.This tools can help you to covert JPG file with RGB888(in most PCs) to RGB565 format to .h file.
PC RGB888 format use three byte represent one pixel,ie RGB. And the microcontroller uses two bytes to represent a pixel, the high five bits of the first byte is Red color, the low 3 bits of the first byte and the high 3 bits of the second byte stands yellow color toghter. And the rest 5 bits of the second byte stands blue color.
(2) This program supports JPG format to convert to RGB565 format.Use it under the command line:JPG2RGB565 <infile.jpg> > <outfile.h>. Then open outfile.h and add it to your C project or copy the data to your c head file directly.
(3) This tool is really simple, only one Main.go file written by Google Go language. I also provide the
Platform: |
Size: 356352 |
Author: Eric |
Hits:
Description: This function expands 8 pixels RGB565 (R, G, B high to low) to SkPMColor (all possible configurations supported) in the exact same way as SkPixel16ToPixel32.
-This function expands 8 pixels RGB565 (R, G, B high to low) to SkPMColor (all possible configurations supported) in the exact same way as SkPixel16ToPixel32.
Platform: |
Size: 2048 |
Author: cgqoupr |
Hits: