[Q] Calculating height and width of Screen based on diagonal & aspect ratio. - General Questions and Answers

Ok sorry if this is more of a math question, but I am trying to figure out how to calculate the height and width of a screen using the screen size (diagonal) and aspect ratio, and my math just isn't adding up.
So lets say I have a phone that for instance has a 4.65" screen, and has a 1280x720 resolution, and I want to find out what the height and width of this screen is.
So I know that the pythagorean theorem says x^2 (width) + y^2 (height) = c^2 (diagonal) and I know that the diagonal is 4.65. (4.65^2 is 21.6225)
So I have two facts here
1:
x^2 +y^2 = 21.6225
I also know that on a 1280x720 resolution screen, that the aspect ratio is 1.77778. So I know that
2: y = 1.7778x
So if I combine these two equations, I should have this right:
x^2 + 1.778x^2 = 21.6225
If I solve for X here, I get x = 2.789, so the width of the screen should be 2.789 inches right?
Unfortunately, I know that the actual screen width is 2.28 Inches.... How come my equations above are spitting out 2.789 inches? I know it is a flaw in logic on my part...... but what is going on?

Moved

I would also like to know this, actually. Did you find a solution? Cheers

re: calculating iphone 4 aspect ratio
I was working on this same problem going in circles with just knowing the diagonal is 3.5 inches and dimensions 960px x 640 px!
Then I read that **pixels per inch** is 326 ppi !!
That should help you figure it out!
(w/out the diagonal dimension, obv.)

Related

[Q] can somebody post dimension of viewable screen

I got the Dimension of device from ASUS website - and know the screen size is 10.1" across diagonals. But I'd like to know the actual length and width of the Viewable screen to see what kindof documents I can get on the screen
Can somebody with a ruler handy be kind enough to post the " L x W " dimensions of Viewable display.
Thanks
21.6cm x 13.6cm

[Q] What size does a Wallpaper Image need to be?

Hey,
Just a quick one, what size does a Image have to be so that i can set it as a scrolling wallpaper without cropping, as its annoying to loose lots of the image!
Cheers in advance!
1080x960
greets,
ossy1337
Its still getting me to crop the picture :S
ossy1337 said:
1080x960
greets,
ossy1337
Click to expand...
Click to collapse
The included wallpapers are 3040x1710 or 1710x3040, so 16:9 horizontal or vertical.
the ratio of width to height should be 1.125, says 1080 x 960, but even that's the right resolution, cropping still occur. The workaround is adding a black frame around the wallpaper, so the final size should be 1.25 times larger than the original, for the 1080x960 wallpaper, it's 1350x1200. well the color of frame could be any, cuz it will be cropped out in any way. I put an example in the attachment.
I recommend using higher quality images rather than a border. due to cropping you will have to precisely move the field to avoid the border, otherwise it will show up when scrolling/reaching the edge, making the border visible. Really ugly.
The wallpaper should be any size higher than 1080x960. Oversampling due to the higher resolution of the image makes the image look more detailed and crips than if you have resized the image to 1080x960 in Photoshop for example, no matter how good it looks then. Because of the cropping even at 1080x960 the 'true' resolution is a few thousand pixels less from the true ~1MP image, resulting in a very slight upsizing by the OS - and even the smallest upsizing without control over the sampling method, might give vague results.
Senzune said:
I recommend using higher quality images rather than a border. due to cropping you will have to precisely move the field to avoid the border, otherwise it will show up when scrolling/reaching the edge, making the border visible. Really ugly.
The wallpaper should be any size higher than 1080x960. Oversampling due to the higher resolution of the image makes the image look more detailed and crips than if you have resized the image to 1080x960 in Photoshop for example, no matter how good it looks then. Because of the cropping even at 1080x960 the 'true' resolution is a few thousand pixels less from the true ~1MP image, resulting in a very slight upsizing by the OS - and even the smallest upsizing without control over the sampling method, might give vague results.
Click to expand...
Click to collapse
If you have tried my sample, you will find that the field just precisely match the border in the default position, so no border edge show up, and no cropping out. I just told my found that the ratio of entire area to the cropping area is 1.25
I just didn't described clearly in the previous post, sorry for my poor English.

Stock Wallpaper

Here are the Xperia Tablet Z stock wallpapers
Sent from my Sony Tablet S using xda app-developers app
thank you very much
useful for me
tanx tanx tanx
Sent from my HTC Sensation Z710e using Tapatalk 2
why wallpaper resolution is lower than 1920*1200?
Got wallpaper from system dump. May be due xda
Sent from my GT-S5830 using xda app-developers app
jumper62 said:
Here are the Xperia Tablet Z stock wallpapers
Click to expand...
Click to collapse
The posted images are not the correct resolution. The zip file linked below contains all of the XTZ's stock wallpaper images at the correct resolution of 2880 x 1920 pixels. If you want, you can add the link to your original post, after which I will remove the link from this post and edit it to say "Never mind."
XTZ_Stock_Wallpapers.zip - 56.95 MB
Cat McGowan said:
The posted images are not the correct resolution. The zip file linked below contains all of the XTZ's stock wallpaper images at the correct resolution of 2880 x 1920 pixels. If you want, you can add the link to your original post, after which I will remove the link from this post and edit it to say "Never mind."
XTZ_Stock_Wallpapers.zip - 56.95 MB
Click to expand...
Click to collapse
screen resolution of XTZ is 1200 x 1920 . Why wallpaper resolution is 2880 x 1920 pixels?
Rootk1t said:
screen resolution of XTZ is 1200 x 1920 . Why wallpaper resolution is 2880 x 1920 pixels?
Click to expand...
Click to collapse
Because when you swipe left or right to view additional home screens or switch from viewing home screens in landscape mode to viewing them in portrait mode, the tablet floats the 1920 x 1200 pixel viewable screen area (actually 1920 x 1128 in landscape mode, 1200 x 1848 in portrait mode) over the 2880 x 1920 pixel wallpaper image. Reading my post Wallpaper Template for Xperia Tablet Z may help you better understand why the XTZ's wallpaper image needs to be 2880 x 1920 pixels.
If you want to keep a fixed view of a 1920 x 1200 pixel wallpaper image (again, 1920 x 1128 in landscape mode, 1200 x 1848 in portrait mode), you will need to install a third-party app like Simple Image Wallpaper Free.
Cat McGowan said:
Because when you swipe left or right to view additional home screens or switch from viewing home screens in landscape mode to viewing them in portrait mode, the tablet floats the 1920 x 1200 pixel viewable screen area (actually 1920 x 1128 in landscape mode, 1200 x 1848 in portrait mode) over the 2880 x 1920 pixel wallpaper image. Reading my post Wallpaper Template for Xperia Tablet Z may help you better understand why the XTZ's wallpaper image needs to be 2880 x 1920 pixels.
Click to expand...
Click to collapse
Thanks for explaining. So i understood that i should manually resize all wallpapers, i want to use on tablet to 2880 x 1920 for pixel to pixel sharpness. But what will happen if i use for example walls from macbook with retina display with resolution 2880x1800? Will tablet stretch them one side to 1920 and therefore no px2px sharpness?
Rootk1t said:
Thanks for explaining. So i understood that i should manually resize all wallpapers, i want to use on tablet to 2880 x 1920 for pixel to pixel sharpness. But what will happen if i use for example walls from macbook with retina display with resolution 2880x1800? Will tablet stretch them one side to 1920 and therefore no px2px sharpness?
Click to expand...
Click to collapse
There are several different ways you could handle your situation. Without seeing the image you are talking about, here is what I think you should do to change the image from 2880x1800 to 2880x1920 without stretching the image.
Using your favorite image manipulation program (I use GIMP), do the following.
1. Set the image's background color to black.
2. Crop (not scale) the image's canvas size from 2880x1800 to 2880x1776 with X offset set to 0 and Y offset set to -12. Doing this horizontally cuts off 12 pixels from both the top and bottom of the image.
3. Increase the image's canvas size from 2880x1776 to 2880x1848 with both X and Y offsets set to 0. Doing this adds a black bar 72 pixels high to the bottom of the image. This bar will not be seen in either landscape or portrait mode because the tablet's lower opaque status bar covers it.
4. Increase the image's canvas size from 2880x1848 to 2880x1920 with X offset set to 0 and Y offset set to 72. Doing this adds a black bar 72 pixels high to the top of the image. This bar will only be seen in portrait mode but will be covered by the tablet's upper translucent status bar, so the bar being black is a good thing.
I hope I have helped you and good luck.
Another interesting thing is aspect ratio:
2880x1920 has an aspect ratio of 1.50 - 3:2
1920x1200 - 1.60 - 16:10
in many tablet reviews aspect ratio is wrongly defined as 16x10 or 16x9.
Hi there,
The link to the XTZ_Stock_Wallpapers.zip is dead, does anybody have those?
Thank you,
Alex
kwajongen said:
Hi there,
The link to the XTZ_Stock_Wallpapers.zip is dead, does anybody have those?
Thank you,
Alex
Click to expand...
Click to collapse
Reuploaded -> https://www.upload.ee/files/13323066/XTZ_Stock_Wallpapers.zip.html
Rootk1t said:
Reuploaded -> https://www.upload.ee/files/13323066/XTZ_Stock_Wallpapers.zip.html
Click to expand...
Click to collapse
Thank you!
I forgot to ask: where do I have to install the wallpapers?
I cannot find a folder called like that.
Once I know where, should I upload the full.zip or the individual images as I wish?
Thank you,
Alex
Anybody knows?
I don't have stock rom installed, so i can't tell you the exact path.
Look in this direction -> /etc/customization/content/com/sonyericsson/wallpaperpicker/wallpapers

[Q] Nexus 5 wallpaper resolution?

What is the resolution for the N5's viewable screen area? I want to make some custom wallpapers but I'm trying to find the best wallpaper resolution for them... the portrait size.
Thanks!
At the risk of being enabling, 1080x1920.
I'm not sure if the stock launcher lets you set static wallpapers though. If you're trying to fit it in that cross, you're going to have to make it bigger than 1080x1920. Sure you can find a template somewhere. Or use a different launcher.
Ryjabo said:
What is the resolution for the N5's viewable screen area? I want to make some custom wallpapers but I'm trying to find the best wallpaper resolution for them... the portrait size.
Click to expand...
Click to collapse
Still have no N5, but I might tell you about another android device I have.
I made double width size wallpaper and it asked to trim it. So far, so good.
To make jpg I used imagemagic remotelly with something like:
convert -size 2160x1920 xc:"#color" background.jpg
If this method fails, you could always try again.
Best regards.
I just run a bunch of tests on my Nexus 5x (the screen size is the same as Nexus 5) using an image with a grid and I thought I should write down my findings here.
I have icons on two screens, so it is asymmetric: I have my main screen and a screen on the right, there is no screen on the left. The image has to be a little larger so that it scrolls nicely. The thing is that my phone shows _the middle_ of the image on the main screen. So the main screen is 1920×1080, when I scroll right 60 more pixels on the right become visible. Since there is nowhere to scroll left, 60 leftmost pixels of the image are never visible.
To sum up: one needs a 1920×1200 image (1200 = 60 + 1080 + 60). Leftmost 60 pixels are never visible.

[Q] S9920 Display Resolution Problem

Hi all,
Just got my Star S9920 MTK 6572 from AliExpress.
As described on the page, it should have a display resolution of: 800x480 pixels
But I just see an actual resolution of about 400x480 pixels, i think, one row shown, one row missing
As you can see in the images:
- The android screenshot looks OK: 800x480 pixels of image, the dot of the letter "i" has 2 pixels, plus antialiasing
- The picture I took of the display shows missing pixel rows, the dot of "i" has only one pixel. And the text, especially small fonts, look really bad.
Can anyone please confirm it is supposed to be like this?
Or is that a setting in Android / Stock ROM / OpenGL / etc?
Or is my phone just broken.
Thanks,
Best regards,
Felix

Categories

Resources