- Status Closed
- Percent Complete
- Task Type Bugs
- Category
-
Assigned To
bagder - Operating System
- Severity Medium
- Priority Low
- Reported Version Daily build (which?)
- Due in Version Undecided
-
Due Date
Undecided
- Votes
- Private
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
Loading...
Available keyboard shortcuts
- Alt + ⇧ Shift + l Login Dialog / Logout
- Alt + ⇧ Shift + a Add new task
- Alt + ⇧ Shift + m My searches
- Alt + ⇧ Shift + t focus taskid search
Tasklist
- o open selected task
- j move cursor down
- k move cursor up
Task Details
- n Next task
- p Previous task
- Alt + ⇧ Shift + e ↵ Enter Edit this task
- Alt + ⇧ Shift + w watch task
- Alt + ⇧ Shift + y Close Task
Task Editing
- Alt + ⇧ Shift + s save task
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).
this bug is fixed with patch 708098