/var/www/restricted/ssh/stm32/www/stm32circle/ STM CircleOS forum / BMP converter

Username:     
Password:     
             

Forum

# 1   2012-12-19 21:39:00 BMP converter

m_milan
New member
Registered: 2011-06-23
Posts: 5

BMP converter

Hi all,

I downloaded the demo code of $1. There is a picture on the screen.

I would like to ask $1. The header file consists the following: 0x424D, 0x408B, 0x0000, 0x0000, 0x0000, 0x3604, 0x0000, 0x2800, 0x0000, 0xF000, 0x0000, 0xF000, 0x0000, 0x0100, 0x0800, 0x0100, 0x0000, 0x0A87, 0x0000, 0x130B, 0x0000, 0x130B, 0x0000, 0x0001, 0x0000, 0x0001, 0x0000, 0x0C24, 0x0400, 0x162F, 0x0800, 0x0C30, etc.
$1

This project is available on:
http://www.stm32circle.com/projects/project.php?id=128

Thanks
Milan

Offline

 

# 2   2012-12-20 10:17:55 BMP converter

yrt
Administrator
From: Grenoble-France
Registered: 2008-06-11
Posts: 520
Website

Re: BMP converter

Hi,

You can use the utilities provided by Ride and located in {Ride}\bin, bin2hex and hex2bin as below:
"bin2hex toto.bmp" will produce "toto.hex" (hex programming format)
"hex2bin -t toto.hex" will produce "toto.h" (header file in array format)

Rgds

Offline

 

# 3   2012-12-20 11:12:30 BMP converter

m_milan
New member
Registered: 2011-06-23
Posts: 5

Re: BMP converter

Thanks

Offline

 

# 4   2013-01-03 14:15:28 BMP converter

yrt
Administrator
From: Grenoble-France
Registered: 2008-06-11
Posts: 520
Website

Re: BMP converter

Hi,

I'm sorry but the good answer would be here : we provide a specific application for converting BMP file to header files, in order to include it into CircleOS application, at resources page.
Take a loot at :
http://www.stm32circle.com/projects/project.php?id=129

Rgds

Offline

 

Board footer