Jump to content

Recommended Posts

Guest pasanowitz
Posted

is the nbimg file corrupted somehow?

i have tried to convert the bmp file to img and all i keep getting is nbimg stopped working and the size of splash.img is 0 KB.

i am trying to convert this image

SPLASH.bmp

Posted

HOW are you trying to convert it?

Please give full details including what you type or press and where

never mind

I converted it for you - attached just save/open the zip file

remember to rename it before flashing it

BTW your splash.bmp file was corrupt it's actually 2 files masquerading as a single file that's why it kept crashing nbimage

Why was it 2 seperate files trying to pretend it was one?

splash.zip

Posted
I've done some splash experimenting and here's what I've learned.

- Size should be 480x800 each pixel using 16 bits in 565 format. That means the file will be 768000 bytes.

- Image should be rotated 180 degrees

- Image is shifted 36 pixels (72 bytes) to the left unless you add a 72 bytes "header". I use 72 bytes of zero and it worked fine.

Here's the command I used for converting a (allready rotated) png file to a flashable splash screen.

convert -depth 8 splash.png rgb:splash.raw

to565 < splash.raw > splash.raw565

dd if=/dev/zero of=splash.img bs=1 count=72

cat splash.raw565 >> splash.img

The resulting splash.img should be 768072 bytes large.

- convert is part of ImageMagick

- to565 can be found here (needs to be compiled): http://android.git.kernel.org/?p=platform/...8340455;hb=HEAD

EDIT: Correction... it's 35 pixels so change count=72 to count=70 in the example above.

Nice one, that header was messing mine up, i had a few white pixels in the top left corner.

Guest pasanowitz
Posted

Thanks for converting it. I dont know why there was 2 files, could it be a result of renaming ans saving the same file in the same folder over and over again?

Anyway, I'll let you know what happens with the splash when I have time to flash it.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.