Location:
Search - mac tools.r
Search list
Description: Visual Basic开发的仿Mac工具栏程序,希望对大家有用.-Visual Basic development process like Mac toolbar, I hope useful for all of us.
Platform: |
Size: 19456 |
Author: hlh |
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: