Rockbox

  • Status Closed
  • Percent Complete
    0%
  • Task Type Patches
  • Category
  • Assigned To No-one
  • Operating System
  • Severity Low
  • Priority Very Low
  • Reported Version
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: Rockbox
Opened by linusnielsen - 2006-01-21
Last edited by linusnielsen - 2006-01-28

FS#2934 - Color BMP support

Here is my first stab at color BMP support in Rockbox.

The read_bmp_file() function can now load both
monochrome and (24-bit) color BMP's. You can select
which format the BMP shall be stored in, either
FORMAT_MONO, FORMAT_NATIVE or FORMAT_ANY.

The read_bmp_file() function populates a bitmap struct
with the width, height, data pointer and the format, so
the application can select the proper lcd_bitmap
function to draw it.

The WPS is updated to make use of this and can now show
both monochrome and color BMP's.

Known issues:

1) Only 24-bit color BMP's supported yet

2) The rwps crashes if it tries to display a color BMP.
This is because the rwps shares images with the wps,
but doesn't know the bit depth of the attached screen.

Check it out and give me comments.

Closed by  linusnielsen
2006-01-28 12:12
Reason for closing:  Accepted
Anonymous Submitter commented on 2006-01-21 14:12

Linus, is there a hardcoded transparency color?
If not, we need one, cause the WPS just shows BG as white
and covers all the text.

Anonymous Submitter commented on 2006-01-22 18:28

just add pink (255,0,255) as a transparent color… if somebody really want to use pink…than he/she should
use some color really close to pink (i.e: 254,0,255)

Warning: Undefined array key "useheading" in /home/rockbox/flyspray/plugins/dokuwiki/inc/parser/xhtml.php on line 1099 Warning: Undefined array key "target" in /home/rockbox/flyspray/plugins/dokuwiki/inc/parser/xhtml.php on line 557 Warning: Trying to access array offset on value of type null in /home/rockbox/flyspray/plugins/dokuwiki/inc/parser/xhtml.php on line 557

Psyche sent a BMP transparency patch on Misticriver on the
"RockBox Build - H300 Optimized DISCUSSION THREAD - Page 16
- MisticRiver :: For iriver Enthusiasts" thread.
http://www.misticriver.net/attachment.php?attachmentid=3509&d=1137963643

Anonymous Submitter commented on 2006-01-25 21:13

Your patch work very fine Linus.
Please commit it to CVS for users that can't compile.

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing