Web browsers / image editors display images with different resolution? Unicorn Meta Zoo #1:...
Is it accepted to use working hours to read general interest books?
Can gravitational waves pass through a black hole?
Was Objective-C really a hindrance to Apple software development?
Simulate round-robin tournament draw
Does using the Inspiration rules for character defects encourage My Guy Syndrome?
Why did Israel vote against lifting the American embargo on Cuba?
Bright yellow or light yellow?
How did Elite on the NES work?
What is the definining line between a helicopter and a drone a person can ride in?
Is there a possibility to generate a list dynamically in Latex?
A journey... into the MIND
How can I wire a 9-position switch so that each position turns on one more LED than the one before?
Why aren't road bicycle wheels tiny?
What is ls Largest Number Formed by only moving two sticks in 508?
RIP Packet Format
Married in secret, can marital status in passport be changed at a later date?
Is it appropriate to mention a relatable company blog post when you're asked about the company?
What is a 'Key' in computer science?
Writing a T-SQL stored procedure to receive 4 numbers and insert them into a table
Israeli soda type drink
Where/What are Arya's scars from?
Retract an already submitted Recommendation Letter (written for an undergrad student)
/bin/ls sorts differently than just ls
What were wait-states, and why was it only an issue for PCs?
Web browsers / image editors display images with different resolution?
Unicorn Meta Zoo #1: Why another podcast?
Announcing the arrival of Valued Associate #679: Cesar ManaraWindows background issue with two screensDisplay is slightly blurry on (native) 1920x1080 resolutionmonitor “remembering” wrong resolution on multiple OSes on laptopMy browsers won't use my full screen resolution and also use different resolutions between themResolution - Why does an LCD TV look ugly as a monitor?Windows 8.1 second monitor large with low resolutionIs there a way to set the actual size of an external display for extending the desktop?Change resolution of Windows 2012 terminal windowScreen resolution in Control Panel different than Internet ExplorerWindows applications resized incorrectly when moving between monitors with different resolutions and scaling
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}
Below is an image on imgur.com that is 513x147.
If I view it (https://i.stack.imgur.com/HtVSr.png) in a web browser (Chrome or Firefox), it shows up as a slightly resized image, displayed on my screen as approx 642x183 pixels, even though I double-checked to make sure the web browser is displaying at 100% zoom.
If I download it to my PC and open it in an image editor like IrfanView or Windows Paint, it shows up in the correct size and looks nice and crisp.
If I plugin my PC into an external monitor, the same size difference is present (image editor smaller than browser), but now the image editors display it in what looks like a smaller size than normal, whereas the browser windows look fine. (This gets really weird in an image editor; if I take a screenshot of a full-screen window, then paste into the image editor and display at "100%" then it doesn't fill the entire screen.)
What's going on? I'm running Windows 10 on a Lenovo P51 with 1920x1080 display. I've tried external monitors with 1920x1200 resolution and 2560x1400.
For example, here's a screenshot of running IrfanView on my 1920x1200 monitor, after pasting a screenshot of the browser window at full screen. Note that IrfanView claims it is showing the image at 100% but it doesn't fill the screen.
windows-10 browser images resolution
add a comment |
Below is an image on imgur.com that is 513x147.
If I view it (https://i.stack.imgur.com/HtVSr.png) in a web browser (Chrome or Firefox), it shows up as a slightly resized image, displayed on my screen as approx 642x183 pixels, even though I double-checked to make sure the web browser is displaying at 100% zoom.
If I download it to my PC and open it in an image editor like IrfanView or Windows Paint, it shows up in the correct size and looks nice and crisp.
If I plugin my PC into an external monitor, the same size difference is present (image editor smaller than browser), but now the image editors display it in what looks like a smaller size than normal, whereas the browser windows look fine. (This gets really weird in an image editor; if I take a screenshot of a full-screen window, then paste into the image editor and display at "100%" then it doesn't fill the entire screen.)
What's going on? I'm running Windows 10 on a Lenovo P51 with 1920x1080 display. I've tried external monitors with 1920x1200 resolution and 2560x1400.
For example, here's a screenshot of running IrfanView on my 1920x1200 monitor, after pasting a screenshot of the browser window at full screen. Note that IrfanView claims it is showing the image at 100% but it doesn't fill the screen.
windows-10 browser images resolution
1
In the past, all displays had similar resolutions. So web authors e.g. made a text size of "14 px". Today, we have 5" phones with a resolution 2560 x 1440, and a 14 px text would be impossible to read on them. So it was decided, that CSS unit "px" no longer corresponds to hardware pixels. There is a property devicePixelRatio which defines the ratio for your device ("the zoom of everything"). It is 1.25 on your device. To get a width of 513 hardware pixels, you should set it to 458 CSS pixels.
– Ivan Kuckir
11 hours ago
add a comment |
Below is an image on imgur.com that is 513x147.
If I view it (https://i.stack.imgur.com/HtVSr.png) in a web browser (Chrome or Firefox), it shows up as a slightly resized image, displayed on my screen as approx 642x183 pixels, even though I double-checked to make sure the web browser is displaying at 100% zoom.
If I download it to my PC and open it in an image editor like IrfanView or Windows Paint, it shows up in the correct size and looks nice and crisp.
If I plugin my PC into an external monitor, the same size difference is present (image editor smaller than browser), but now the image editors display it in what looks like a smaller size than normal, whereas the browser windows look fine. (This gets really weird in an image editor; if I take a screenshot of a full-screen window, then paste into the image editor and display at "100%" then it doesn't fill the entire screen.)
What's going on? I'm running Windows 10 on a Lenovo P51 with 1920x1080 display. I've tried external monitors with 1920x1200 resolution and 2560x1400.
For example, here's a screenshot of running IrfanView on my 1920x1200 monitor, after pasting a screenshot of the browser window at full screen. Note that IrfanView claims it is showing the image at 100% but it doesn't fill the screen.
windows-10 browser images resolution
Below is an image on imgur.com that is 513x147.
If I view it (https://i.stack.imgur.com/HtVSr.png) in a web browser (Chrome or Firefox), it shows up as a slightly resized image, displayed on my screen as approx 642x183 pixels, even though I double-checked to make sure the web browser is displaying at 100% zoom.
If I download it to my PC and open it in an image editor like IrfanView or Windows Paint, it shows up in the correct size and looks nice and crisp.
If I plugin my PC into an external monitor, the same size difference is present (image editor smaller than browser), but now the image editors display it in what looks like a smaller size than normal, whereas the browser windows look fine. (This gets really weird in an image editor; if I take a screenshot of a full-screen window, then paste into the image editor and display at "100%" then it doesn't fill the entire screen.)
What's going on? I'm running Windows 10 on a Lenovo P51 with 1920x1080 display. I've tried external monitors with 1920x1200 resolution and 2560x1400.
For example, here's a screenshot of running IrfanView on my 1920x1200 monitor, after pasting a screenshot of the browser window at full screen. Note that IrfanView claims it is showing the image at 100% but it doesn't fill the screen.
windows-10 browser images resolution
windows-10 browser images resolution
edited 11 hours ago
Jason S
asked 11 hours ago
Jason SJason S
2,968115274
2,968115274
1
In the past, all displays had similar resolutions. So web authors e.g. made a text size of "14 px". Today, we have 5" phones with a resolution 2560 x 1440, and a 14 px text would be impossible to read on them. So it was decided, that CSS unit "px" no longer corresponds to hardware pixels. There is a property devicePixelRatio which defines the ratio for your device ("the zoom of everything"). It is 1.25 on your device. To get a width of 513 hardware pixels, you should set it to 458 CSS pixels.
– Ivan Kuckir
11 hours ago
add a comment |
1
In the past, all displays had similar resolutions. So web authors e.g. made a text size of "14 px". Today, we have 5" phones with a resolution 2560 x 1440, and a 14 px text would be impossible to read on them. So it was decided, that CSS unit "px" no longer corresponds to hardware pixels. There is a property devicePixelRatio which defines the ratio for your device ("the zoom of everything"). It is 1.25 on your device. To get a width of 513 hardware pixels, you should set it to 458 CSS pixels.
– Ivan Kuckir
11 hours ago
1
1
In the past, all displays had similar resolutions. So web authors e.g. made a text size of "14 px". Today, we have 5" phones with a resolution 2560 x 1440, and a 14 px text would be impossible to read on them. So it was decided, that CSS unit "px" no longer corresponds to hardware pixels. There is a property devicePixelRatio which defines the ratio for your device ("the zoom of everything"). It is 1.25 on your device. To get a width of 513 hardware pixels, you should set it to 458 CSS pixels.
– Ivan Kuckir
11 hours ago
In the past, all displays had similar resolutions. So web authors e.g. made a text size of "14 px". Today, we have 5" phones with a resolution 2560 x 1440, and a 14 px text would be impossible to read on them. So it was decided, that CSS unit "px" no longer corresponds to hardware pixels. There is a property devicePixelRatio which defines the ratio for your device ("the zoom of everything"). It is 1.25 on your device. To get a width of 513 hardware pixels, you should set it to 458 CSS pixels.
– Ivan Kuckir
11 hours ago
add a comment |
3 Answers
3
active
oldest
votes
I think I found it: Windows 10 has a per-monitor scaling settings. My laptop screen has it set at 125% (presumably because it's high-resolution on a small monitor) whereas my monitors are set at 100%.
Doesn't explain why the two types of programs display differently, though. (It seems like an interaction between the program and the OS. Maybe IrfanView + Paint query the OS to find "the scaling ratio" of my entire system and aren't programmed to handle multiple displays with different scaling ratios... not sure why the browsers get a different scaling factor.)
That's one I didn't think of!
– AFH
11 hours ago
add a comment |
Web browser's primary emphasis is consistent display of all of the elements of a web page, and so will adjust these according to parameters unique to the engine and browser.
Image editor's primary emphasis is to accurately display graphical information in image form so that decisions can be made regarding necessary modifications to those images.
Different browsers use different rendering engines and different parameters to display (render) images in sites. There is often automatic resizing going on to a greater or lesser extent.
This is a normal behavior, and a lot of web design is focused on the extensive efforts necessary to make websites display consistently across the common browsers, and often there are significant modifications that must be made to the site's style sheets or design framework to allow for a consistent UI across the various browsers.
When you factor in different screens, you're also dealing with scaling, where visual elements in Windows are adjusted to fill different numbers of pixels based on the physical size of the screen relative to the number of pixels that comprise it.
add a comment |
If you look at the source of your question, you will see that there is a style=
clause with width and height parameters which override the dimensions of the image:-
<a href="https://i.stack.imgur.com/HtVSr.png" rel="nofollow noreferrer">
<img src="https://i.stack.imgur.com/HtVSr.png" alt="enter image description here"
style="width: 513px; height: 147px;">
</a>
The SU submission process has reproduced the image dimensions in the style=
clause, but another web-site may not do so. The fact that different browsers exhibit the same scaling suggests that this is the reason for your observation.
Note that SU will scale large in-line images with reduced style=
dimensions to prevent panning or cropping.
forget this page's HTML and just open the image itself in another tab. I get the same scaling.
– Jason S
11 hours ago
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1428732%2fweb-browsers-image-editors-display-images-with-different-resolution%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
I think I found it: Windows 10 has a per-monitor scaling settings. My laptop screen has it set at 125% (presumably because it's high-resolution on a small monitor) whereas my monitors are set at 100%.
Doesn't explain why the two types of programs display differently, though. (It seems like an interaction between the program and the OS. Maybe IrfanView + Paint query the OS to find "the scaling ratio" of my entire system and aren't programmed to handle multiple displays with different scaling ratios... not sure why the browsers get a different scaling factor.)
That's one I didn't think of!
– AFH
11 hours ago
add a comment |
I think I found it: Windows 10 has a per-monitor scaling settings. My laptop screen has it set at 125% (presumably because it's high-resolution on a small monitor) whereas my monitors are set at 100%.
Doesn't explain why the two types of programs display differently, though. (It seems like an interaction between the program and the OS. Maybe IrfanView + Paint query the OS to find "the scaling ratio" of my entire system and aren't programmed to handle multiple displays with different scaling ratios... not sure why the browsers get a different scaling factor.)
That's one I didn't think of!
– AFH
11 hours ago
add a comment |
I think I found it: Windows 10 has a per-monitor scaling settings. My laptop screen has it set at 125% (presumably because it's high-resolution on a small monitor) whereas my monitors are set at 100%.
Doesn't explain why the two types of programs display differently, though. (It seems like an interaction between the program and the OS. Maybe IrfanView + Paint query the OS to find "the scaling ratio" of my entire system and aren't programmed to handle multiple displays with different scaling ratios... not sure why the browsers get a different scaling factor.)
I think I found it: Windows 10 has a per-monitor scaling settings. My laptop screen has it set at 125% (presumably because it's high-resolution on a small monitor) whereas my monitors are set at 100%.
Doesn't explain why the two types of programs display differently, though. (It seems like an interaction between the program and the OS. Maybe IrfanView + Paint query the OS to find "the scaling ratio" of my entire system and aren't programmed to handle multiple displays with different scaling ratios... not sure why the browsers get a different scaling factor.)
edited 10 hours ago
answered 11 hours ago
Jason SJason S
2,968115274
2,968115274
That's one I didn't think of!
– AFH
11 hours ago
add a comment |
That's one I didn't think of!
– AFH
11 hours ago
That's one I didn't think of!
– AFH
11 hours ago
That's one I didn't think of!
– AFH
11 hours ago
add a comment |
Web browser's primary emphasis is consistent display of all of the elements of a web page, and so will adjust these according to parameters unique to the engine and browser.
Image editor's primary emphasis is to accurately display graphical information in image form so that decisions can be made regarding necessary modifications to those images.
Different browsers use different rendering engines and different parameters to display (render) images in sites. There is often automatic resizing going on to a greater or lesser extent.
This is a normal behavior, and a lot of web design is focused on the extensive efforts necessary to make websites display consistently across the common browsers, and often there are significant modifications that must be made to the site's style sheets or design framework to allow for a consistent UI across the various browsers.
When you factor in different screens, you're also dealing with scaling, where visual elements in Windows are adjusted to fill different numbers of pixels based on the physical size of the screen relative to the number of pixels that comprise it.
add a comment |
Web browser's primary emphasis is consistent display of all of the elements of a web page, and so will adjust these according to parameters unique to the engine and browser.
Image editor's primary emphasis is to accurately display graphical information in image form so that decisions can be made regarding necessary modifications to those images.
Different browsers use different rendering engines and different parameters to display (render) images in sites. There is often automatic resizing going on to a greater or lesser extent.
This is a normal behavior, and a lot of web design is focused on the extensive efforts necessary to make websites display consistently across the common browsers, and often there are significant modifications that must be made to the site's style sheets or design framework to allow for a consistent UI across the various browsers.
When you factor in different screens, you're also dealing with scaling, where visual elements in Windows are adjusted to fill different numbers of pixels based on the physical size of the screen relative to the number of pixels that comprise it.
add a comment |
Web browser's primary emphasis is consistent display of all of the elements of a web page, and so will adjust these according to parameters unique to the engine and browser.
Image editor's primary emphasis is to accurately display graphical information in image form so that decisions can be made regarding necessary modifications to those images.
Different browsers use different rendering engines and different parameters to display (render) images in sites. There is often automatic resizing going on to a greater or lesser extent.
This is a normal behavior, and a lot of web design is focused on the extensive efforts necessary to make websites display consistently across the common browsers, and often there are significant modifications that must be made to the site's style sheets or design framework to allow for a consistent UI across the various browsers.
When you factor in different screens, you're also dealing with scaling, where visual elements in Windows are adjusted to fill different numbers of pixels based on the physical size of the screen relative to the number of pixels that comprise it.
Web browser's primary emphasis is consistent display of all of the elements of a web page, and so will adjust these according to parameters unique to the engine and browser.
Image editor's primary emphasis is to accurately display graphical information in image form so that decisions can be made regarding necessary modifications to those images.
Different browsers use different rendering engines and different parameters to display (render) images in sites. There is often automatic resizing going on to a greater or lesser extent.
This is a normal behavior, and a lot of web design is focused on the extensive efforts necessary to make websites display consistently across the common browsers, and often there are significant modifications that must be made to the site's style sheets or design framework to allow for a consistent UI across the various browsers.
When you factor in different screens, you're also dealing with scaling, where visual elements in Windows are adjusted to fill different numbers of pixels based on the physical size of the screen relative to the number of pixels that comprise it.
answered 11 hours ago
music2myearmusic2myear
32.4k860101
32.4k860101
add a comment |
add a comment |
If you look at the source of your question, you will see that there is a style=
clause with width and height parameters which override the dimensions of the image:-
<a href="https://i.stack.imgur.com/HtVSr.png" rel="nofollow noreferrer">
<img src="https://i.stack.imgur.com/HtVSr.png" alt="enter image description here"
style="width: 513px; height: 147px;">
</a>
The SU submission process has reproduced the image dimensions in the style=
clause, but another web-site may not do so. The fact that different browsers exhibit the same scaling suggests that this is the reason for your observation.
Note that SU will scale large in-line images with reduced style=
dimensions to prevent panning or cropping.
forget this page's HTML and just open the image itself in another tab. I get the same scaling.
– Jason S
11 hours ago
add a comment |
If you look at the source of your question, you will see that there is a style=
clause with width and height parameters which override the dimensions of the image:-
<a href="https://i.stack.imgur.com/HtVSr.png" rel="nofollow noreferrer">
<img src="https://i.stack.imgur.com/HtVSr.png" alt="enter image description here"
style="width: 513px; height: 147px;">
</a>
The SU submission process has reproduced the image dimensions in the style=
clause, but another web-site may not do so. The fact that different browsers exhibit the same scaling suggests that this is the reason for your observation.
Note that SU will scale large in-line images with reduced style=
dimensions to prevent panning or cropping.
forget this page's HTML and just open the image itself in another tab. I get the same scaling.
– Jason S
11 hours ago
add a comment |
If you look at the source of your question, you will see that there is a style=
clause with width and height parameters which override the dimensions of the image:-
<a href="https://i.stack.imgur.com/HtVSr.png" rel="nofollow noreferrer">
<img src="https://i.stack.imgur.com/HtVSr.png" alt="enter image description here"
style="width: 513px; height: 147px;">
</a>
The SU submission process has reproduced the image dimensions in the style=
clause, but another web-site may not do so. The fact that different browsers exhibit the same scaling suggests that this is the reason for your observation.
Note that SU will scale large in-line images with reduced style=
dimensions to prevent panning or cropping.
If you look at the source of your question, you will see that there is a style=
clause with width and height parameters which override the dimensions of the image:-
<a href="https://i.stack.imgur.com/HtVSr.png" rel="nofollow noreferrer">
<img src="https://i.stack.imgur.com/HtVSr.png" alt="enter image description here"
style="width: 513px; height: 147px;">
</a>
The SU submission process has reproduced the image dimensions in the style=
clause, but another web-site may not do so. The fact that different browsers exhibit the same scaling suggests that this is the reason for your observation.
Note that SU will scale large in-line images with reduced style=
dimensions to prevent panning or cropping.
answered 11 hours ago
AFHAFH
14.7k31939
14.7k31939
forget this page's HTML and just open the image itself in another tab. I get the same scaling.
– Jason S
11 hours ago
add a comment |
forget this page's HTML and just open the image itself in another tab. I get the same scaling.
– Jason S
11 hours ago
forget this page's HTML and just open the image itself in another tab. I get the same scaling.
– Jason S
11 hours ago
forget this page's HTML and just open the image itself in another tab. I get the same scaling.
– Jason S
11 hours ago
add a comment |
Thanks for contributing an answer to Super User!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1428732%2fweb-browsers-image-editors-display-images-with-different-resolution%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
1
In the past, all displays had similar resolutions. So web authors e.g. made a text size of "14 px". Today, we have 5" phones with a resolution 2560 x 1440, and a 14 px text would be impossible to read on them. So it was decided, that CSS unit "px" no longer corresponds to hardware pixels. There is a property devicePixelRatio which defines the ratio for your device ("the zoom of everything"). It is 1.25 on your device. To get a width of 513 hardware pixels, you should set it to 458 CSS pixels.
– Ivan Kuckir
11 hours ago