Username:     
Password:     
             

Forum

# 1   2013-06-18 14:12:22 Size of the picture !

Flod
New member
Registered: 2013-06-10
Posts: 5

Size of the picture !

Hello everybody,

I want to put a picture in the Primer 2 but I don't know what features should have the picture ?

Thank you,

Best regards!

Flod

Offline

 

# 2   2013-06-19 09:18:03 Size of the picture !

Etienne.C
Administrator
Registered: 2012-12-04
Posts: 71

Re: Size of the picture !

Hello,
Read the documentation of CircleOS that you can find here:
http://www.stm32circle.com/projects/circleos.php

You will have all the information in the chapter 3 - LCD

CircleOS can display image with the DRAW_SetImage() function.
Several format can be use with this function :
Raw image (format used with previous CircleOS versions),
16-bits BMP image,
256 colours BMP image,
256 colours BMP image with RLE compression.

When called, the function search the information in the BMP header : a BMP always start with the code
0x42 0x4d at the begin of the file, also the bytes number 6 to 9 should be reserved and set to 0. If
those 2 conditions are fitted the data are read as BMP.

You can download and see image feature from Space-Invaders-10.1 example at http://www.stm32circle.com/projects/project.php?id=227

Best regards,

Offline

 

# 3   2013-06-20 11:23:37 Size of the picture !

Flod
New member
Registered: 2013-06-10
Posts: 5

Re: Size of the picture !

Thank you very much !

I succeed to put a picture !

Best regards,

Flod

Offline

 

Board footer