Loading bitmaps from SD card

Libraries, utilities, bootloaders...

Re: Loading bitmaps from SD card

Postby mougino » Tue Sep 29, 2015 5:06 pm

Well ;) I went the extra mile...

Here is a sketch with a function drawBitmapFromSd(x,y,"SdPicture.bmp") that allows to draw a bitmap from a genuine monochrome bitmap on SD-Card!

So any black and white bitmap saved from MsPaint for example can be read and drawn anywhere on the screen. No need to convert the image beforehand.

Getting the data to display the bitmap is a little slow, so this isn't something to be used for fast streaming of pictures. Only a proof of concept that it can be done, and something useful to start from for anyone wanting to load a bitmap from SD :mrgreen:

Don't hesitate to give feedback!

Cheers,
Nicolas
Attachments
drawBitmapFromSd.zip
(38.7 KiB) Downloaded 107 times
User avatar
mougino
 
Posts: 75
Joined: Sat Jul 25, 2015 8:15 am
Location: Paris, France

Previous

Return to Software Development

Who is online

Users browsing this forum: No registered users and 2 guests

cron