https://bugzilla.wikimedia.org/show_bug.cgi?id=35844
Web browser: ---
Bug #: 35844
Summary: Images rendering for high-DPI / high device pixel
ratio / "retina" display
Product: MediaWiki
Version: unspecified
Platform: All
OS/Version: All
Status: UNCONFIRMED
Severity: enhancement
Priority: Unprioritized
Component: Images and files
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected], [email protected]
Classification: Unclassified
Mobile Platform: ---
To provide sharp images to (most notably) mobile devices, especially newer ones
with high-DPI, I suggest utilizing their physical / device pixels by offering
overly-sized images comparing to "displayed" size.
For example, for device-pixel-ratio:2 devices (e.g. iPhone 4, Galaxy Nexus, new
iPad), an image to be displayed in 300px×225px (measured in virtual pixels)
should be provided with one originally sized 600px×450px (measured in physical
pixels). Apart from device-pixel-ratio:2 there are also devices with ratio 1.5.
I see this is technically possible in Wikipedia for many thumbnail images,
since many raster images have their original size more than quadruple of their
thumbnail size, and many other images are simply vector. And it is left whether
the rendering engine can determine the best image resolution, either by client
side CSS or on server side.
Mobile browsers with webkit engine (Android browser, Safari, Chrome), Firefox
and Opera has already added device-pixel-ratio media filter in CSS3. While
Internet Explorer mobile for Windows Phone does not seem to support yet,
fallback to current resolution is still possible.
While this does not provide more information regarding the subject most of the
time, it still lets those devices show clearer and more detailed photos with
their full display capabilities. This can be important for diagrams shown on
such tiny screens.
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l