Can someone help me with determining the width/height of the Samsung a10 - web

I am trying to figure-out the viewport for the phone Samsung a10 for responsive design of my website. Now it mentions a resolution of 720 x 1520 pixels, which is defiantly to big to be a phone size. It mentions a pxiel density of 271ppi. So, my question is how do I work out the actual viewport of the Samsugn a10
Here is a link to the specifications: https://www.gizmochina.com/product/samsung-galaxy-a10s/
I tried looking up answer elating to this, but don't quite understand the information.

Related

How to Measure camera exact white balance parameters value in auto white balance mode?

I have some images and I want to extract the exact color of them. Is it possible to find out which kelvin temperature were used by camera in auto white balance mode? I read this link below for that is for two years ago but by that answer in Wikipedia I couldn't calculate AWB parameter.
This is a part of my thesis and I really need to find a way to estimate the kelvin temperature that camera applied on the images. my images are almost one color and I want to know the real color of that.
Thanks.
Link:
How to get camera exact white balance parameters value when it is in auto mode?
Probably the top, industry standard tool is ExifTool by Phil Harvey.
Phil is very good about keeping up with the new cameras and is admirably conscientious about tracking down reported problems.
D:\pic\pedernales.river\nef\p5\>exiftool.exe -ColorTemperature -Tint *t.tif
Color Temperature : 3750
Tint : -10
And if you are dealing with RAW data, there are 2 pre-Bayer interpolation tags of interest (actually the ~same numbers A=B*256)
WB_GRBGLevels => 256 413 353 256
WB_RBLevels => 1.61328125 1.37890625 1 1
http://www.sno.phy.queensu.ca/~phil/exiftool/
There is also a very slick GUI that wraps by BogdanH it if you need it.
http://u88.n24.queensu.ca/exiftool/forum/index.php?topic=2750.0
And an indispensable Perl Module: cpan install Image::ExifTool
There is also a telepathic interface, but I can't remember where I put it. ;)
BrianP
exif exiftool Image::ExifTool

Which unit of measurement is used in this Office Open XML Element

The following element is a pic, it can be parsed by PowerPoint. I got confused with it's
measuring units for a couple of hours.
English Metric units (EMUs), points, picas, and inches ?
DPI=96
xmlns:p="http://schemas.openxmlformats.org/presentationml/2006/main"
xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main"
<p:pic>
....
<a:srcRect l="5556"/>
<p:spPr bwMode="auto">
<a:xfrm>
<a:off x="3545" y="759"/>
<a:ext cx="782" cy="150"/>
</a:xfrm>
.....
</p:spPr>
</p:pic>
English Metric Units are used for measuring sizes and positions of Vector Drawing and Pictures. Everything you need w.r.t. to Measuring Units in Open XML can be found here.
Hope this helped.
This involves more than a mere measure unit...
"DPI 96" comes from a VGA screen size of (or mode) 640x480... maybe other values you could find out there can be "DPI 72" for an EGA screen size of 640x350 or "DPI 48" for a CGA screen size of 640:200 ...
Those things came from the very beginning: MSDOS, Macintosh(Sw&Hw) and IBM PC. On those years (80's) there was several graphic modes each with their own pixel size that graphical drivers managed to draw on those very primitive monitors (very low resolutions and screen size, monochrome, no standars!). DPI 96 stands for "dot per inch 96x96", as VGA pixel is a square of 96x96. CGA and EGA have rectangular pixels of 48×96 and 72×96 respectively...
I'm sure that checking this URLs will help you...
Where does 96 DPI come from in Windows?
DPI & PPI explained

Preparing the images for retina-ready (web)

I have a question that have been on my mind for several time now: how should I prepare the images that I am going to use on a website to be retina-ready?
Yes, I have been spending hours on the interweb on this topic, but so far I haven't find the one 'ultimate answer'.
In this thread for example (link: image size for retina display), it is only mentioned that I need to double the dimensions. But how about the resolution?
Real life situation: an image is created using Photoshop (or whatever your fix) at dimension 400px x 200px, with resolution of 72 ppi.How should I modify this image?
800 x 400px at 72 ppi (just resize it, times two)
800 x 400px at 144 ppi (dimensions and resolution times two)
400 x 200px at 144 ppi (just double the resolution)
400 x 200px at 246 ppi (same dimension, higher resolution --I got the number 246 from some tutorial in designing ipad wallpaper)
...et cetera... ??
The target is to select the images and display them on both non-retina and retina displays (i.e. 'normal' computers / laptops, macs (both versions, retina and non), iDevices, Androids, et cetera)
Looking forward for any feedbacks :-)
You could use Retina.js to replace the image with a higher resolution version, but only if the users device is equipped with a retina display.
The question you link is correct. You need to double the size of the image to double the resolution.
What you are getting confused over is the PPI. PPI is Pixels Per Inch, it is simply a measure of how big a picture is, same as display dimensions.
One is not independent of the other.
An image of 400x200 will take up as much screen space on a 72 ppi display as a 800x400 image on a 144 ppi display. The difference is simply that the 144 ppi device is able to fit more pixels in one inch of screen space than the 72 ppi.
So, by doubling the resolution of a 72ppi image, you are indeed insuring that it looks the same/takes the same amount of screen space.
There's a new responsive images HTML5 standard. As of July 2014 it's only in beta builds of browsers yet. But the Picturefill polyfill is already available.
This article explains different use-cases quite well. But what you want here is to simply provide an alternative image for high-resolution (e.g. 'retina') displays:
<img srcset="small.jpg 1x, large.jpg 2x"
src="small.jpg"
alt="A rad wolf" />

HTC Desire resolution of the screen

I took a look at the phone specifications and is says something like this
"HTC Desire. It comes with a 3.7" LCD screen (480 x 800 pixels of resolution)"
ok the screen is 480x800 pixels but how many dips it has ? and how do I calculate that.
Also it is confusing for me the fact that Desire HD has the same resolution 480x800 pixcels, and they both use hdpi images. I have application and when I install myApp they both use the images from hdpi folder
can someone tall me what is the resolution in dips in desire and desireHD ?
You can get information about display, such as size, density, and font scaling using DisplayMetrics.
Documentation gives a usage example.

What are the dimensions of the usable area on a Nokia N97

What are the dimensions of the usable area on a Nokia N97 in portrait mode, excluding the top (signal/battery) and bottom (menu) bars?
Size: 3.5"
Resolution: 640 x 360 pixels
I know this isn't the answer you are looking for, but I am unclear as to why you would need the area you are talking about since the battery bar, signal bar, and operator logo can all be in different places depending on if your device is unlocked and/or a number of other factors. Take a look at these screen shots to see for yourself:
http://phonereport.info/wp-content/uploads/Nokia-N97-S60v5-screenshot-15.jpg
http://www.n97fanatics.com/wp-content/uploads/nokia-n97_011.png
http://i40.tinypic.com/ilj9l2.jpg
http://www.allaboutsymbian.com/news/images/rda/Nokia%20N97-5.png
You will notice that in the first and second pic the battery symbol is left of the battery bar and in the third and fourth pic the battery symbol is under the battery bar. Also the size changes again if the phone is horizontal. If you still need this info you should be able to deduce what the size is base on the links to the pics I provided since they are exact screen shots. Just open them up in paint and crop the usable portion to which you refer and see what size it is. When I did it I came up with 505px high for the image with the battery under the battery bar, and 535px for the image with the battery to the left of the battery bar. Hope this helps!

Resources