• Status Closed
  • Percent Complete
  • Task Type Bugs
  • Category
  • Assigned To
  • Operating System
  • Severity Medium
  • Priority Low
  • Reported Version Daily build (which?)
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: Rockbox
Opened by meltedguy - 2002-12-20
Last edited by bagder - 2003-12-05

FS#648 - bmp2rb.exe does not work correctly

i create a bitmap file 8 bit depth with a size of 5 pixels
by 5 pixels yet when input the file i get an error saying
that its 1024 bit depth, and the bitmap i created is not
1024 bit depth, i even tried inputing a bitmap with only 1
bit depth and the program said it was 256 bit depth i
then tried a 4 bit depth bitmap and the program said
1048 depth.
here is the error

C:\rbuild\tools>bmp2rb -i freak -a freak.bmp
error - Bitmap uses more than 8 bit depth, got 1024

the bitmap file is attached

Closed by  bagder
2003-12-05 09:29
Reason for closing:  Works For Me
Project Manager

This works fine when I build and run on Linux.

I seriously suspect that the struct align stuff at line 41
in bmp2rb.c is not properly done for your compiler. Whatever
compiler it is (which you didn’t mention).

Anonymous Submitter commented on 2003-04-19 11:45

this bug is fixed with patch 708098


Available keyboard shortcuts


Task Details

Task Editing