Active Topics

 



Notices


Reply
Thread Tools
Posts: 3 | Thanked: 0 times | Joined on May 2010 @ india
#1
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
 
Posts: 2,225 | Thanked: 3,822 times | Joined on Jun 2010 @ Florida
#2
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
 
Posts: 265 | Thanked: 96 times | Joined on Aug 2010 @ Sydney, Australia
#3
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)
 
Posts: 2,225 | Thanked: 3,822 times | Joined on Jun 2010 @ Florida
#4
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).
 

The Following 2 Users Say Thank You to Mentalist Traceur For This Useful Post:
Posts: 36 | Thanked: 8 times | Joined on Jun 2010
#5
Why not just input a bigger resolution image? It will automatically fit into your screen.
 
Posts: 3 | Thanked: 0 times | Joined on May 2010 @ india
#6
it does not fit the screen can anyone tell me how to change its proportion or fit the screen.......
 
Posts: 244 | Thanked: 354 times | Joined on Jul 2010 @ Scotland
#7
Easy enough to do on the N900 itself.

Install ImageMagick (http://maemo.org/packages/view/imagemagick/):

Code:
apt-get install imagemagick
Then resize and crop the image to the desire size:

Code:
convert myfile.jpg -resize 800x480 -gravity center -extent 800x480 background.png
This creates a resized and cropped (from the centre of the image) copy of myfile.jpg to 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

Last edited by gregoranderson; 2011-01-04 at 15:46.
 
Posts: 3 | Thanked: 0 times | Joined on May 2010 @ india
#8
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......
 
Posts: 244 | Thanked: 354 times | Joined on Jul 2010 @ Scotland
#9
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 
Usage: ./bgconv.sh [image-to-convert] [background number]
Example:

Code:
./bgconv.sh /media/mmc1/DCIM/20101231_004.jpg 3
Converts the above photo to an 800x480 png (with oversize to compensate for the 5:3 ratio) and makes this my background image for home screen 3.
Attached Files
File Type: txt bgconv.sh.txt (732 Bytes, 150 views)
 

The Following User Says Thank You to gregoranderson For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 16:05.