SlideShare a Scribd company logo
1 of 23
Download to read offline
Retina Display
The highest resolution in websites and apps today
What’s a Retina Display?
Overview
• Marketing Term created by Apple
• iPhone 4 was the first device (2010)
• High pixel density displays (~300 ppi or greater)
• One pixel split into 4 pixels
• Drastically reduces pixelation
See the difference?
See the difference?
Supported Devices
Device Resolution Pixel Density
iPhone 4S 960x640 326 ppi
iPhone 5 1136x640 326 ppi
iPad 3rd + 4th Gen. 2048x1536 264 ppi
Macbook Pro 13” 2560x1600 227 ppi
Macbook Pro 15” 2880x1800 220 ppi
...other companies investing as well in HiDPi displays
Designing for Retina
• Use for rasterized retina artwork
• Setup document 2x normal resolution
(960w @1x = 1920w @2x)
• Keep resolution at 72 ppi
• Typography follows 2x rule
(14px @1x = 28px @2x)
• Layer Style measurements divisible by 2
• Pay attention to zoom levels
• Use for vectorized retina artwork
• Does not require document setup adjustments
• Trim artboards to artwork when possible
• SVG format great for icons, logos, small graphics
• Export to <canvas> via free Ai plugin
Don’t forget favicons!
• Used for both websites and apps
• Supports HiDPi
• Saved as .png
(Can use Photoshop or Illustrator)
• Various sizes for mobile devices
Developing for Retina
Raster Artwork .jpg, .gif, .png
Vector Artwork .svg, <canvas>
Choose the right file type
Exporting Raster
• Export artwork twice per image
(1x and 2x the default resolution)
• Append @2x to file name for retina version
(image.png for 1x, image@2x.png for 2x)
• Pay attention to layer style settings!
• Tip: Use ImageOptim for safe image compressions
Exporting Vector
• Export artwork only once!
• Trim artboards to artwork when possible
(Lower file size and greater flexibility in CSS positioning)
• Use SVG default settings (SVG 1.1)
• SVG now fully recommended*
(Not supported in IE8 or lower, Android Browser 2.3 or lower)
Background Images
.sweet-graphic {
width: 50px;
height: 50px;
background-image: url(“images/sweet-graphic.png”);
}
• Use media queries for Background Images (raster only)
• Set background-size property to size of original graphic
• Tip: SVG backgrounds require background-size by default
Background Images
@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
only screen and (-o-min-device-pixel-ratio: 3/2),
only screen and (min--moz-device-pixel-ratio: 1.5),
only screen and (min-device-pixel-ratio: 1.5) {
.sweet-graphic {
background-image: url(“images/sweet-graphic@2x.png”);
background-size: 50px auto;
}
}
Inline Images
• Use Retina.JS for Inline Images
• Store both 1x and 2x graphics in same directory
Favicons!
<!-- For iPhone w/ retina -->
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="/filename.png">
<!-- For iPad w/o retina-->
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="/filename.png">
<!-- For iPad w/ retina -->
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="/filename.png">
<!-- For iPhone 3G, iPod Touch and Android, size=”57x57” -->
<link rel="apple-touch-icon-precomposed" href="/filename.png">
<!-- For everything else -->
<link rel="shortcut icon" href="/favicon.png">
Selling for Retina
The benefits are clear!
• PC + Mac devices moving toward HiDPi screens
• Mobile manufacturers ahead of the curve
• Improves user experience
• No performance hit on older technology
• Great for web/mobile apps, photo-centric sites
10%NEW PROJECTS TODAY
• Retroactive projects currently quoted on per case basis
(Not enough information at this time)
• Projects already in the mix with retina
(Picture.com, TweetBox, Ateb, Atlantic BT, Docurep, Muzik, etc.)
Retina Display
The highest resolution in websites and apps today

More Related Content

Similar to Retina Display - Supporting in Web Projects

Castro Chapter 5
Castro Chapter 5Castro Chapter 5
Castro Chapter 5
Jeff Byrnes
 

Similar to Retina Display - Supporting in Web Projects (20)

Mo’ Pixels Mo’ Problems: Moving Toward a Resolution Independent Web
Mo’ Pixels Mo’ Problems: Moving Toward a Resolution Independent WebMo’ Pixels Mo’ Problems: Moving Toward a Resolution Independent Web
Mo’ Pixels Mo’ Problems: Moving Toward a Resolution Independent Web
 
Chapter 23: Web Images
Chapter 23: Web ImagesChapter 23: Web Images
Chapter 23: Web Images
 
Castro Chapter 5
Castro Chapter 5Castro Chapter 5
Castro Chapter 5
 
Building Websites for Retina Displays: Making Friends with Pixels
Building Websites for Retina Displays: Making Friends with PixelsBuilding Websites for Retina Displays: Making Friends with Pixels
Building Websites for Retina Displays: Making Friends with Pixels
 
#PDR15 - Pebble Graphics
#PDR15 - Pebble Graphics#PDR15 - Pebble Graphics
#PDR15 - Pebble Graphics
 
High DPI for desktop applications
High DPI for desktop applicationsHigh DPI for desktop applications
High DPI for desktop applications
 
Trendsetting: Web Design and Beyond
Trendsetting: Web Design and BeyondTrendsetting: Web Design and Beyond
Trendsetting: Web Design and Beyond
 
SVG Strikes Back
SVG Strikes BackSVG Strikes Back
SVG Strikes Back
 
Designing Android apps for multiple screens
Designing Android apps for multiple screensDesigning Android apps for multiple screens
Designing Android apps for multiple screens
 
An Introduction to Responsive Design
An Introduction to Responsive DesignAn Introduction to Responsive Design
An Introduction to Responsive Design
 
Responsive web design
Responsive web designResponsive web design
Responsive web design
 
Responsive Web Design
Responsive Web DesignResponsive Web Design
Responsive Web Design
 
Responsive images, an html 5.1 standard
Responsive images, an html 5.1 standardResponsive images, an html 5.1 standard
Responsive images, an html 5.1 standard
 
Html5 Canvas and Mobile Graphics
Html5 Canvas and Mobile GraphicsHtml5 Canvas and Mobile Graphics
Html5 Canvas and Mobile Graphics
 
Designing for mobile
Designing for mobileDesigning for mobile
Designing for mobile
 
Responsive web - CC FE & UX
Responsive web -  CC FE & UXResponsive web -  CC FE & UX
Responsive web - CC FE & UX
 
W3C HTML5 KIG-The complete guide to building html5 games
W3C HTML5 KIG-The complete guide to building html5 gamesW3C HTML5 KIG-The complete guide to building html5 games
W3C HTML5 KIG-The complete guide to building html5 games
 
Computer class Software/Hardware Presentation
Computer class Software/Hardware PresentationComputer class Software/Hardware Presentation
Computer class Software/Hardware Presentation
 
Great Responsive-ability Web Design
Great Responsive-ability Web DesignGreat Responsive-ability Web Design
Great Responsive-ability Web Design
 
CSS3 and Advanced Design
CSS3 and Advanced DesignCSS3 and Advanced Design
CSS3 and Advanced Design
 

Recently uploaded

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Victor Rentea
 

Recently uploaded (20)

Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Cyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdfCyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdf
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 

Retina Display - Supporting in Web Projects

  • 1. Retina Display The highest resolution in websites and apps today
  • 2. What’s a Retina Display?
  • 3. Overview • Marketing Term created by Apple • iPhone 4 was the first device (2010) • High pixel density displays (~300 ppi or greater) • One pixel split into 4 pixels • Drastically reduces pixelation
  • 6. Supported Devices Device Resolution Pixel Density iPhone 4S 960x640 326 ppi iPhone 5 1136x640 326 ppi iPad 3rd + 4th Gen. 2048x1536 264 ppi Macbook Pro 13” 2560x1600 227 ppi Macbook Pro 15” 2880x1800 220 ppi ...other companies investing as well in HiDPi displays
  • 8. • Use for rasterized retina artwork • Setup document 2x normal resolution (960w @1x = 1920w @2x) • Keep resolution at 72 ppi • Typography follows 2x rule (14px @1x = 28px @2x) • Layer Style measurements divisible by 2 • Pay attention to zoom levels
  • 9.
  • 10. • Use for vectorized retina artwork • Does not require document setup adjustments • Trim artboards to artwork when possible • SVG format great for icons, logos, small graphics • Export to <canvas> via free Ai plugin
  • 11. Don’t forget favicons! • Used for both websites and apps • Supports HiDPi • Saved as .png (Can use Photoshop or Illustrator) • Various sizes for mobile devices
  • 13. Raster Artwork .jpg, .gif, .png Vector Artwork .svg, <canvas> Choose the right file type
  • 14. Exporting Raster • Export artwork twice per image (1x and 2x the default resolution) • Append @2x to file name for retina version (image.png for 1x, image@2x.png for 2x) • Pay attention to layer style settings! • Tip: Use ImageOptim for safe image compressions
  • 15. Exporting Vector • Export artwork only once! • Trim artboards to artwork when possible (Lower file size and greater flexibility in CSS positioning) • Use SVG default settings (SVG 1.1) • SVG now fully recommended* (Not supported in IE8 or lower, Android Browser 2.3 or lower)
  • 16. Background Images .sweet-graphic { width: 50px; height: 50px; background-image: url(“images/sweet-graphic.png”); } • Use media queries for Background Images (raster only) • Set background-size property to size of original graphic • Tip: SVG backgrounds require background-size by default
  • 17. Background Images @media only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (-o-min-device-pixel-ratio: 3/2), only screen and (min--moz-device-pixel-ratio: 1.5), only screen and (min-device-pixel-ratio: 1.5) { .sweet-graphic { background-image: url(“images/sweet-graphic@2x.png”); background-size: 50px auto; } }
  • 18. Inline Images • Use Retina.JS for Inline Images • Store both 1x and 2x graphics in same directory
  • 19. Favicons! <!-- For iPhone w/ retina --> <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/filename.png"> <!-- For iPad w/o retina--> <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/filename.png"> <!-- For iPad w/ retina --> <link rel="apple-touch-icon-precomposed" sizes="144x144" href="/filename.png"> <!-- For iPhone 3G, iPod Touch and Android, size=”57x57” --> <link rel="apple-touch-icon-precomposed" href="/filename.png"> <!-- For everything else --> <link rel="shortcut icon" href="/favicon.png">
  • 21. The benefits are clear! • PC + Mac devices moving toward HiDPi screens • Mobile manufacturers ahead of the curve • Improves user experience • No performance hit on older technology • Great for web/mobile apps, photo-centric sites
  • 22. 10%NEW PROJECTS TODAY • Retroactive projects currently quoted on per case basis (Not enough information at this time) • Projects already in the mix with retina (Picture.com, TweetBox, Ateb, Atlantic BT, Docurep, Muzik, etc.)
  • 23. Retina Display The highest resolution in websites and apps today