![]() |
background strench
hi to all
i m facing a problem with my nokia n900 when i set one the ix i clicked as background it does not fit the screen and results in a streched image or zoomed image.... so plz help me solve this problem thanx |
Re: background strench
You set an image that is one resolution, to be the background of another-resolution-ed desktop... And this surprises you how? And more importantly, what kind of fix can you possibly conceive of, beyond putting in a different picture?
N900 desktops are 800 by 480 pixels. Either 'stretch' or resize the picture yourself so that it's to your liking, or crop the part you want, so that when it's stretched into the 800 x 480 resolution, it's still the same proportions. Or, you know, if you can, take/get another picture of the same thing that's 800 x 480 pixels in size, and use that |
Re: background strench
the image you set as your background has to be a resolution of 800x480
i think it can be more or less but the ratio has to be the same (16:9) |
Re: background strench
The ratio is 5:3, not 16:9.
800:480 80:48 40:24 20:12 10:6 5:3 Actually, I believe the stock camera's two settings are 1:1 and 5:3 resolution (too lazy to launch the app and check). |
Re: background strench
Why not just input a bigger resolution image? It will automatically fit into your screen.
|
Re: background strench
it does not fit the screen can anyone tell me how to change its proportion or fit the screen.......
|
Re: background strench
Easy enough to do on the N900 itself.
Install ImageMagick (http://maemo.org/packages/view/imagemagick/): Code:
apt-get install imagemagick Code:
convert myfile.jpg -resize 800x480 -gravity center -extent 800x480 background.png Unfortunately, this version (6.3.7) does not allow for the ^ option (adaptive resize, introduce in 6.3.8) within resize which will see the width / height being overflow the pixel area. Might be worthwhile seeing if we can get a newer version compiled ... EDIT No need to a newer version of imagemagick if you are prepare to cause some grief to the CPU for brief moment. Found the following from http://www.imagemagick.org/Usage/resize/#space_fill So you would execute something along the lines of: Code:
convert 20100807_002.jpg -auto-orient -resize 800x -resize 'x800<' -resize x480 -gravity center -extent 800x480 background.png |
Re: background strench
i was not facing this problem earlier but a few days back i updated my phone and now the pix i click do not fit as background earlier it used to fit perfectly......
|
Re: background strench
1 Attachment(s)
Attached is a quick script to do the hard work for you. Just copy it to /home/user (trim off the .txt if you desire), chmod u+x it and run:
Code:
~ $ ./bgconv.sh Code:
./bgconv.sh /media/mmc1/DCIM/20101231_004.jpg 3 |
All times are GMT. The time now is 19:28. |
vBulletin® Version 3.8.8