You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you make a screenshot on a Retina computer (any modern Mac) and select a visible area of 200x200 px the screenshot file would be 400x400. Here is an example file:
Most of the browsers display such images as is - with the resolution of 400x400 (try to open this image in a new tab). So such images look twice as large from the original visible size. But it's possible to detect high density image, e.g. the screenshot above looks good because Github set 200px width, not 400px. But unlike Github, Astro when optimizing images doesn't take high density into account and doesn't reduce the value of the width attribute of the images. Is it possible to fix it?
The text was updated successfully, but these errors were encountered:
If you make a screenshot on a Retina computer (any modern Mac) and select a visible area of 200x200 px the screenshot file would be 400x400. Here is an example file:
Most of the browsers display such images as is - with the resolution of 400x400 (try to open this image in a new tab). So such images look twice as large from the original visible size. But it's possible to detect high density image, e.g. the screenshot above looks good because Github set 200px width, not 400px. But unlike Github, Astro when optimizing images doesn't take high density into account and doesn't reduce the value of the
width
attribute of the images. Is it possible to fix it?The text was updated successfully, but these errors were encountered: