Image converter convert a PNG(size 6.5kb) image to a bigger size(225kb) array? How to avoid it?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Image converter convert a PNG(size 6.5kb) image to a bigger size(225kb) array? How to avoid it?

3,582 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by studyembedded on Thu Feb 26 23:01:18 MST 2015
Hi Friends,
I have an customized board with LPC1857 (with 3.5" TFT). I have manage to display images on LCD.
I have this one image attached with this post, which is around 6.5kb, size 320x240 pixel and .png format. To display this image on LCD i have used Segger emWin Bitmap converter and converted it to 24bpp C file, the resulting array is of 225kb.

For a 6.5kb png image converter gives 225kb array? which i really don't understand. But if this is correct then how can some body have 50 to 50 background images in project.
There must be some way to reduce the image size or may be display it differently...guys i am new to this ...can you please guide me .....to tutorial or some other image converter or procedure.


Thanks a lot.
标签 (1)
0 项奖励
回复
2 回复数

3,305 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by studyembedded on Thu Feb 26 23:51:59 MST 2015
Thanks ....i must have been a fool....thanks R2D2, i appreciate it.
0 项奖励
回复

3,305 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by R2D2 on Thu Feb 26 23:40:40 MST 2015

Quote: studyembedded
For a 6.5kb png image converter gives 225kb array? which i really don't understand.



:quest:

320 * 240 * 24bit / 8bit/byte =  230400 bytes

See: https://www.segger.com/emwin-bitmap-converter.html

and

https://www.segger.com/emwin-displaying-bitmap-files.html
0 项奖励
回复