Attached is a "zip" file containg two bmp files. They are the exact same size 28 dpi, 320 x 240
One I created with a webgraphic in Photoshop. The other is from Molski's kitchen as a sample image. Problem is whenever I try convert them it says file too large? Anyone have any ideas?
Molski's script (splash1):
Make sure you got a file named splash1.bmp in your splash folder!
Press any key to continue . . .
Converting Bitmap into .nb SplashScreen file....
LZ77 compress \DEVPACK\splash\splash1.bmp to C:\DEVPACK\tools\splash\splash1\9d0
00000-HTC.nb...
Input file: 230456 bytes
Output file: 75679 bytes (32.8%)
Warning: This bitmap is too big to fit into flash memory
Done!
Moving first SplashScreen file to Splash folder in the ROMDUMP....
Done!
Press any key to continue . . .
Click to expand...
Click to collapse
I also tried using "image convertor" and flashing the resulting nb file. Both ways stop at 80% when flashing.
try to decrease colors to 32k, then save as bmp.
Must be 24 bitmap
If you are absolutely sure that the images are 240 x 320 save them as 24 bitmap images (Use MS Paint)
nothin said:
try to decrease colors to 32k, then save as bmp.
Click to expand...
Click to collapse
Sorry I am confused by your statement, they are 8bit RGB, and they are saved as 24bit bmp. How do I reduce color to 32k? This is probably the answer I am looking for, reduced color would be more compressible!
badbert said:
Sorry I am confused by your statement, they are 8bit RGB, and they are saved as 24bit bmp. How do I reduce color to 32k? This is probably the answer I am looking for, reduced color would be more compressible!
Click to expand...
Click to collapse
I use GIMP (so may work different with other graphic programs) but here's a couple of tricks:
* Open the .bmp up and then save it as a .gif. Close down that graphic window, and now open a new one with the .gif you just saved. Now save that to .bmp. Just doing this will sometimes flatten and modify the graphic enough to get it to compress and fit
* Save your .bmp to .jpg and really compress it (yeah, it gets grainy though. This is what I had to do to the HTC screen in Faria's Rom Kitchen and my Crossbow Reloaded. I think I put it down to like 40% or 60% before it would fit). Once you do that, now open that file back up and save it as a .bmp
* As stated above, play with switching between RGB And Indexed, and changing the color pallets.
Hope these ideas help...
Thanx mfrazz I'll give that a try!
mfrazzz said:
I use GIMP (so may work different with other graphic programs) but here's a couple of tricks:
* Open the .bmp up and then save it as a .gif. Close down that graphic window, and now open a new one with the .gif you just saved. Now save that to .bmp. Just doing this will sometimes flatten and modify the graphic enough to get it to compress and fit
* Save your .bmp to .jpg and really compress it (yeah, it gets grainy though. This is what I had to do to the HTC screen in Faria's Rom Kitchen and my Crossbow Reloaded. I think I put it down to like 40% or 60% before it would fit). Once you do that, now open that file back up and save it as a .bmp
* As stated above, play with switching between RGB And Indexed, and changing the color pallets.
Hope these ideas help...
Click to expand...
Click to collapse
I have been trying this in variations for two days, I still can't get that little devil to work!! Even changed the color from red to blue to green. If you use indexed color you can not save it as a 24bit bmp. So I saved as 8bit, wouldn't work. Reconverted it to 24 bit, didn't work. Gif file then bmp didn't work... Please I really want to know, I am pretty adept in PhotoShop, and I like to think I am pretty creative. If I can figure out how to make this work, I will make some unbelievable cool splash-screen/Logos!! I will even take requests!!
SOLVED!!
http://forum.xda-developers.com/showthread.php?t=284006
Note: If your own bitmap is compressed and the HTC_Logo.nb exceeds the 64K limit, the bitmap is too complex. The Lz compression can't handle it.
Save the BMP as a gif file, then open the gif and save it again as a bmp. The compression of gif is enough to simplify the bitmap.
Then try 1b-1c again.
If it still is not enough, then you'll have to convert to jpeg (try lowest compression first!) and re-convert it to BMP, after that try 1b-1c again..
Click to expand...
Click to collapse
Related
Hi,
I've been playing around transferring files onto my phone, but I just can't get my lock screen to look right.
1. Does anyone know what the exact dimensions of the lockscreen image should be? I read 320x480 somewhere, but this isn't correct. I've also tried 360x380, 340x480. Maybe it's 345x480? I want to get this right because...
2. Whenever I set an image onto the lock screen, the phone seems to compress the image really badly and I see loads of jpg artifacts on the parts that should be solid colour. I'm hoping that if the image is the right size, it won't convert/re-sample/re-compress the file.
Any ideas?
japher said:
1. Does anyone know what the exact dimensions of the lockscreen image should be?
Click to expand...
Click to collapse
The stock ones are 320 x 455, and I've had good results using those dimensions for my own images.
Im sure i read that converting your image to a png and using that instead of the png file gave better results also. Not 100% on that though lol
.png gives better quality than jpg.
320x455 px is the right size. But everytime you set wallpaper, HTC software it re-compress as JPEG in tragical quality. PNG or JPEG, that makes no difference.
Will be nice software like Wallpaper Set & Save for lock screen wallpaper. But I can't find something like that.
carnero said:
320x455 px is the right size. But everytime you set wallpaper, HTC software it re-compress as JPEG in tragical quality.
Click to expand...
Click to collapse
Not my experience. My own images are usually desktop 'papers resized and/or cropped to 320x455 and saved as JPEGs, and provided I ensure the green 'crop box' is expanded to encompass the entire image when selecting the lockscreen they look just as good as the originals.
I've tried many images. At most (as you) cropped or resized desktop wallpapers. I prepare the correct size and copy to phone. I keep JPEG at 90 to 100% of quality and also convert it to PNG. And every image was resampled during setting up as lock screen wallpaper. Everytime its quality goes rapidly down. Even I used exactly the same way like you.
It is not good visible on landscape wallpapers with. But on artifical images it's very big problem. It blurs every contrast line on image.
Try it on this image: http://anowia.deviantart.com/art/Light-Blaze-HD-Wallpaper-129153930 If you don't notice any resample after setting up as lock screen wallpaper, please provide screenshot.
carnero said:
Try it on this image: http://anowia.deviantart.com/art/Light-Blaze-HD-Wallpaper-129153930 If you don't notice any resample after setting up as lock screen wallpaper, please provide screenshot.
Click to expand...
Click to collapse
Here you go.... see what you think. View attachment lockscreen.zip
Not perfect, but it was a rush job. Resized from 1280x1024 to ???x455, then cropped to 320x455. Saved as JPEG @ 100% for use. Photoshop Elements 7 used. If I had more time I'd probably play with the sharpening to compensate for the downsizing.
carnero said:
I've tried many images. At most (as you) cropped or resized desktop wallpapers. I prepare the correct size and copy to phone. I keep JPEG at 90 to 100% of quality and also convert it to PNG. And every image was resampled during setting up as lock screen wallpaper. Everytime its quality goes rapidly down. Even I used exactly the same way like you.
It is not good visible on landscape wallpapers with. But on artifical images it's very big problem. It blurs every contrast line on image.
Try it on this image: http://anowia.deviantart.com/art/Light-Blaze-HD-Wallpaper-129153930 If you don't notice any resample after setting up as lock screen wallpaper, please provide screenshot.
Click to expand...
Click to collapse
Also having this issue with this image..
I have problems with all images. But on this it's good visible. And as Shluggity's screenshots shows, it's not only my problem. I think it's not good
I'm not sure what's going on but there's definitely some sort of degradation visible, a softening of the edges. I honestly haven't seen it in my own wallpapers, but I haven't used images like this with lots of thin sharp 'light beam' effects. Maybe original image res is a factor, maybe screen dpi, maybe something completely different... If I have time tomorrow I'll do some tests.
how does wallpaper set and save work? maybe the wallpaper directory is similar to the lockscreen directory?
Have you tried HeroLockWall? (Market)
lockscreen wallpaper help..
i have the same problem i cant get lockscreen wallpaper to work every time i try i get a tile wallpaper and not a stretch wallpaper that i want can sum body help me plz??
I have made gifs for a custom boot screen and have been playing around with getting it them to work.
I flash over the previous bootscreen it reboots, my images show but then when they are meant to be animated the image gets scrambled and makes no sense, i did rather cheekily just replace the .gifs from someone elses custom boot screen and signed the zip file.
does anyone know whats going wrong or can anyone point me in the direction of creating the files to go with the gifs so i can get this working.
Cheers
John
They need to be in indexed 255 colors. And they mustn't have any transparent layers. Then they should work just fine.
ahh tristan...you've learnt well... ;D
cheers for the help gents, will try it in the morning.
hmm this is annoying, i have my gif files all built nicely but not using indexed 255 .... does anyone know of a tutorial for converting it without loosing all animations? im searching the net at the moment but no luck
gimp -> image -> mode -> indexed
Will it change a current gif or do i have to make the frames again in gimp?
It works through all the frames.
just used gimp under ubuntu, opened the animations selected image >> mode >> indexed flashed my boot files and they are still not displaying right, beter as you can see part of the animation playing but its far from perfect.
shal i just try creating the images again? or has anyone got any other suggestions?
thanks for everyones help so far though
John
Hello, first post here. I am having the same problems as jonny in creating a custom bootscreen. The first frame of my animation will show before it scrambles. Iam using photoshop. I created my animation in imageready, imported to photoshop, made an indexed 255 color palate and went back to imageready and loaded the palate. I feel like I'm missing something obvious.
BTW, I love this forum. You are all great. I am learning so much. Recently created my own lockscreen, and after I can get the bootscreen down I want to try my hand at the taskbar icons
I swapped to GIMP image editor (which is 100% free) to actualy animate my gifs in indexed 255, i did it in photoshop but it didnt work for some reason even when using indexed 255 colour.
Okay, after much fooling around, I finally got it to work properly . In case anyone cares, here's what I did:
Created the animation in PS (didn't realize you could do animation in PS and didn't need IR) to how I want it to run. Once it looks exactly how you want it, click "Flatten frames into layers". Now delete your original layers so all you have left is the animation frames. Save PSD and open it in GIMP. Go to file, save as, and save as a gif. Click the "save as animation" and "convert to indexed" (that is the key right there) bubbles, and click "export" then save.
Viola! now more problems. I can't figure out how to post it as a gif, but it is the boot process from windows xp.
Okay,
I was fiddling around with boot animations on my sensation an made a sweet one that i like from a couple of youtube vids all credit goes to them ie korea android ad and i think a fellow in a design class made the other one (look below i have attached) but when i tried to do the same for my xoom i got stuck in the boot animation where it kept recylcing the boot and never actually booted into the rom... to say the least i had to do a nandroid to get back just from a boot animation which kinda sucks... anyway ill lay out the specifics
1. I used jpgs, same as with my sensation they seem to work just as well as .pngs but keep the zip much much smaller and dont look choppy
2. I use the original boot animation from the tiamat 2.2.2 version as my base zip file which i edited with my pictures
3. I used the actually spec'd dimensions of the xoom of 1280 x 800 for the pictures, however i noticed that the boot from tiamat used 704 x 440 maybe that could be it (i will be trying that now and report back)
4. as my boot time took a while i thought i may try to use 900 images (a bit dumb i know, in my sensation i use 400 and it gets through them nicely, each pic is a pretty quick segment tho) (i will edit the same amount as my sensation and try again)
can anyone shed some light onto why mine may not have worked other than the amount of pics..
here is a youtube link for what i actually made
boot
i tried to just change the resolution to 704 x 440... and i deleted half the images... and tried again... again it kept replaying and never actually booted into the rom so again i am nandroiding lol
You will need to edit your desc.txt file
1408 880 24
p 0 0 part 0
put all your pictures in folder named part0.
Then zip folder using 7zip and make sure you choose store as compression method.
Hope this helps.
i have done that but used done3 as my folder name.. as i said i used the tiamat moray boot animation as my base zip =]
the name of the folder inside the zip shouldn't make a difference especially as i got it to play but it keeps playing and playing a small bit and not the whole file nor booting into the rom...
on all my bootanimations, it helps if you make each image 960 x 600.
then on your desc.txt file, make the screen size 1280 x 800 (the correct size for the xoom).
sometimes if there is an extra pixel hanging off it could cause you to blackscreen or bootloop.
also, sometimes you'll get a bad jpg file, that could also cause the black screen or bootloop.
best suggestion would be to get the desc.txt file from a known working bootanimation and just adjust the frame rate. be sure to hit enter for a new line after you have put in the info for the last part folder.
oh, and a little trick i found. use the bootanimation installer to push the bootanimation, then restart the xoom and be sure to close the bootanimation installer.
leave your xoom connected to your pc. if you do get into a bootloop, wait a few minutes for it to loop then just reopen the bootanimation installer and push a known working bootanimation. after a few seconds the new bootanimation (or default one) should show and should boot normally. this is my procedure.
Sardo Numspa said:
on all my bootanimations, it helps if you make each image 960 x 600.
then on your desc.txt file, make the screen size 1280 x 800 (the correct size for the xoom).
sometimes if there is an extra pixel hanging off it could cause you to blackscreen or bootloop.
also, sometimes you'll get a bad jpg file, that could also cause the black screen or bootloop.
best suggestion would be to get the desc.txt file from a known working bootanimation and just adjust the frame rate. be sure to hit enter for a new line after you have put in the info for the last part folder.
oh, and a little trick i found. use the bootanimation installer to push the bootanimation, then restart the xoom and be sure to close the bootanimation installer.
leave your xoom connected to your pc. if you do get into a bootloop, wait a few minutes for it to loop then just reopen the bootanimation installer and push a known working bootanimation. after a few seconds the new bootanimation (or default one) should show and should boot normally. this is my procedure.
Click to expand...
Click to collapse
Sweet ill try that.. I tried 3 dimension sizes the true size, and 2 dimensions i got from boot animations with the roms.. I reduced the number of jpgs..
One last thing what setting do u choose for your jpg in photoshop? Or do u jyst use pngs.. I can use setting of 6 medium sized compression for me sensation even tho it works for my phone that may be affecting the xoom
Sent from my mind control device
doesnt really matter the file size. we've made bootanimations with upwards of 7 parts and 200+ mb.
i would say try it first with pngs and if it works then convert to jpgs. i use a file sizing program to make sure of the picture ratio, it gets rid of any of those hanging pixels.
Sardo Numspa said:
doesnt really matter the file size. we've made bootanimations with upwards of 7 parts and 200+ mb.
i would say try it first with pngs and if it works then convert to jpgs. i use a file sizing program to make sure of the picture ratio, it gets rid of any of those hanging pixels.
Click to expand...
Click to collapse
Well considering i set canvas size with photoshop that constricts pixel dimensions quiet well but ill take ya advice and try that and i might split it up too
Sent from my mind control device
also remember that there is a file number limit per part (folder).
looks good
Success it would seem.. Jpgs are fine.. I think i have found the upper limit of pictures no matter the amount of folders.. The 130 per folder helped.. Will update when i get home from work
Sent from my mind control device
Hi what is best? i took windows wallpapers they are JPG should i convert to PNG (bigger file size) is it better or just the best jpg?
Or What is best for wallpapers JPG or PNG and dont tell me to Google it cause i could not find the answear
PNG is better, JPG is way more compressed than PNG. Even better than PNG is BMP btw. Just try to draw something in MS paint, save it as JPG then as PNG and compare
It depends.
Regarding quality png is best since it uses a lossless compression. But since you are asking what format is best for a wallpaper I would go with jpg. File size should be far smaller with jpg. Unless it's a drawing or the like with not many colors and hard edges then png would probably be better again.
endrit9 said:
Hi what is best? i took windows wallpapers they are JPG should i convert to PNG (bigger file size) is it better or just the best jpg?
Or What is best for wallpapers JPG or PNG and dont tell me to Google it cause i could not find the answear
Click to expand...
Click to collapse
PNG is better because its faster and not compressed
PNG because supports transparency
Its just for wallpapers JPEG is the one you want and you don't need transparency on a background stick with jpeg it saves your memory and you won't see the difference
Sent from my Awesome I9000 running Slim Bean
why would you convert jpg to png? if the quality of jpg is already low, converting to png serves no purpose, right?
generally it's good to keep photos in png format. but if it is just pictures which originally comes from jpg, just stick with it since its size are mostly smaller.
dont even think of converting lower quality jpg to higher jpg as well.
either of the two. its ok.
As far as I can tell, it has all the right bits. 24 PNG files numbered in sequence, desc.txt in the right format, and ZIP file is set to "STORE", uncompressed. It's just 24 frames from a "starfield" animation I screen capped from LIghtspeed the screensaver, converted to PNG, rotated 90 degrees so it's portrait, and that's it.
I put the file in the /system/media subdir (renamed original to bootanimationold.zip) but the system didn't boot with it. It did the default "shadows over Android" bootanim instead. (the original bootanim was 6.0 default "dots" animation)
It's probably something simple, but it's 2AM and I can't think. If y'all spot my stupidity first, please enlighten me.
EDIT: I figured it out. I forgot to give it permissions to "others" (read). By default, files copied in only has OWNER and GROUP. I have to give "OTHERS" read permissions. Then it works.