LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 03-19-2007, 09:15 AM   #1
bertramgeck
LQ Newbie
 
Registered: Nov 2006
Location: Germany
Distribution: SUSE 10.2
Posts: 8

Rep: Reputation: 0
Copy bitmap into framebuffer


HI,

I have an embedded device with a franmebuffer.

With
Code:
fbp = (char *)mmap(0, screensize, PROT_READ | PROT_WRITE, MAP_SHARED,fbfd, 0);
*(fbp + 1) = 100
I map the memory to the framebuffer and with that can write a pixel onto the framebuffer and it will be displayed onto the screen of the device.
Now I want to display a whole picture from /tmp/bitmap.bmp to the device.
Is there already a c- oder c++-function existing, I could use to copy the picture from i.e. 320x240 bits to the framebuffer-memory ?

Best regards
Bertram
 
  


Reply

Tags
framebuffer, programming


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
convertion of 24 bit bitmap image to 8 bit bitmap image vipulc Linux - General 2 03-10-2006 09:22 AM
How can I copy a bunch of text and then paste it, all in a framebuffer console? Shagrath239 Linux - Newbie 1 02-07-2006 12:32 AM
bitmap indexes in c++ crapodino Programming 2 11-27-2005 08:43 PM
VESA framebuffer vs Intel framebuffer in Slackware 10.0 with default kernel brancalessio Slackware 3 01-20-2005 04:21 PM
creating a bitmap schatoor Programming 1 12-04-2002 06:57 PM


All times are GMT -5. The time now is 05:22 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration