SlideShare a Scribd company logo
Independence
                           Preparing Websites for Retina Displays




Thursday, July 19, 12
Why are we here?

              To discuss development techniques
              as they relate to high-res displays



Thursday, July 19, 12
That Retina Display Looks Great!
             So why does my website look terrible?

Thursday, July 19, 12
Why?
                   Packing more pixels in the same sized screens
                   In the past, 72dpi graphics were just scaled down
                   Retina displays scale up graphics anywhere from 224 to 326ppi
                   99% of all bitmap graphics on the web are 72dpi.*




                                     * I made that up, but it’s probably close or true.



Thursday, July 19, 12
So what can we do about it?




Thursday, July 19, 12
Learn from Print
                   Print has always had to deal with high-resolutions and varying dpi.
                   When dealing with bitmap images, print works with high-res sources.
                   Other images and typography use Resolution-Independent sources.
                        Embedded fonts
                        Vector artwork
                        Program FX (i.e. layer effects)



Thursday, July 19, 12
So what are the issues?
                   Photography
                   Logos and Icons
                   Fonts
                   UI elements




Thursday, July 19, 12
Photography
             High-res JPEGs
                   We’re not going to get away for bitmap graphics completely
                   Possible to use high-res files, but use with caution
                   Low res standard JPEGs of photography still look decent
                   New standards are being crafted right now
                   There are server-side and client-side options available




Thursday, July 19, 12
Logos and Icons
             SVG Files
                   Scalable Vector Graphics are like Illustrator files for the web
                   They look crisp and are often smaller files
                   Creating these can be tricky
                   Some special effects in Illustrator won’t work in the SVG file format
                   Won’t work for everything, but great for logos




Thursday, July 19, 12
Fonts
             Web Fonts
                   Using web fonts helps reduce development costs
                   Increases SEO and can lower overall bandwidth usage
                   There is no shame in using web safe fonts, but there are free solutions
                   if paid solutions are not available.
                   Also consider icon fonts (http://keyamoon.com/icomoon)
                   Advanced web typography doesn’t need graphical text
                   (http://letteringjs.com/)

Thursday, July 19, 12
UI Elements
             CSS Effects
                   Effects are generated by the browser. Similar to using Photoshop
                   Layer Effects.
                   Effects are resolution independent.
                   Can have dramatic results on the speed of a website.




Thursday, July 19, 12
CSS Effects
             CSS Drop Shadows
                   Text Shadows
                   Multiple Text Shadows
                   Box Shadows
                   Inset Box Shadows
                   Multiple Box Shadows
                   Only on boxes and text :(


Thursday, July 19, 12
CSS Effects
             CSS Drop Shadows
             1.Setting the distance via X/Y
             2.Setting the size (it’s possible to
               support spread as well)
             3.Color can be set via hex code
             4.or color and opacity can be
               set via RGBA values



Thursday, July 19, 12
CSS Effects
             Border Radius
                   Rounded Corners
                   You can make circles!
                   Control each corner




Thursday, July 19, 12
Perfect Resolution Independence
             Shadows and rounded corners scale beautifully

Thursday, July 19, 12
CSS Effects
             CSS Gradients
                   Can do linear or radial
                   Can do RGBA (transparency)
                   Can be layered for interesting effects
                   http://lea.verou.me/css3patterns/
                   Will be supported in IE10, but we can create fallbacks
                   Ultimate CSS Generator is great and works just like gradients in
                   Photoshop. http://www.colorzilla.com/gradient-editor/

Thursday, July 19, 12
Isn’t this more difficult?
                   Using web fonts shouldn’t impact design at all.
                   Using SVG is a little more hassle, but worth the effort.
                   Using CSS effects can ease development and designers only need to
                   be aware of how we’re using them.
                   Designers may need to keep track of high-res assets for developers.
                   Use “place” in Photoshop for example.




Thursday, July 19, 12
What other benefits are there?
                   Web fonts
                     Lower bandwidth due to few graphics
                     Easier to update
                     Necessary for dynamic text
                   SVG
                     Tiny files
                   CSS Effects
                     Lower bandwidth due to few graphics
                     Easier to update
                     Can change styles subtly without needing all new graphics
                     CSS animations!

Thursday, July 19, 12
This isn’t a mandate.
             There are no laws being made here.



Thursday, July 19, 12
Be aware of what’s possible.
                   Let’s push the envelope!



Thursday, July 19, 12
Thank you for listening!
                              Any Questions?




Thursday, July 19, 12

More Related Content

Viewers also liked

Wmit introduction 2012 english
Wmit introduction 2012 englishWmit introduction 2012 english
Wmit introduction 2012 english
gmesmatch
 
Presentazione Peopleware Marcom
Presentazione Peopleware MarcomPresentazione Peopleware Marcom
Presentazione Peopleware Marcom
robertoiacobino
 
X5 user manual v1.0a
X5 user manual v1.0aX5 user manual v1.0a
X5 user manual v1.0a
Neder Burgos
 
4 Seasons Virtual Field Trip
4 Seasons Virtual Field Trip4 Seasons Virtual Field Trip
4 Seasons Virtual Field Trip
hhfricke
 
Top Firefox Addons
Top Firefox AddonsTop Firefox Addons
Top Firefox Addons
technobz
 

Viewers also liked (18)

Oumh1103 bab 4
Oumh1103 bab 4Oumh1103 bab 4
Oumh1103 bab 4
 
AM01PRO
AM01PROAM01PRO
AM01PRO
 
Wmit introduction 2012 english
Wmit introduction 2012 englishWmit introduction 2012 english
Wmit introduction 2012 english
 
Presentazione Peopleware Marcom
Presentazione Peopleware MarcomPresentazione Peopleware Marcom
Presentazione Peopleware Marcom
 
X5 user manual v1.0a
X5 user manual v1.0aX5 user manual v1.0a
X5 user manual v1.0a
 
A Comparative Analysis of Data Privacy and Utility Parameter Adjustment, Usin...
A Comparative Analysis of Data Privacy and Utility Parameter Adjustment, Usin...A Comparative Analysis of Data Privacy and Utility Parameter Adjustment, Usin...
A Comparative Analysis of Data Privacy and Utility Parameter Adjustment, Usin...
 
Carta mordiscon
Carta mordisconCarta mordiscon
Carta mordiscon
 
Presentt
PresenttPresentt
Presentt
 
Towards A Differential Privacy Preserving Utility Machine Learning Classifier
Towards A Differential Privacy Preserving Utility Machine Learning ClassifierTowards A Differential Privacy Preserving Utility Machine Learning Classifier
Towards A Differential Privacy Preserving Utility Machine Learning Classifier
 
A Codon Frequency Obfuscation Heuristic for Raw Genomic Data Privacy
A Codon Frequency Obfuscation Heuristic for Raw Genomic Data PrivacyA Codon Frequency Obfuscation Heuristic for Raw Genomic Data Privacy
A Codon Frequency Obfuscation Heuristic for Raw Genomic Data Privacy
 
Vocab dict
Vocab dictVocab dict
Vocab dict
 
Burton Industries ppt 2012
Burton Industries ppt 2012Burton Industries ppt 2012
Burton Industries ppt 2012
 
HumanCloud - Trace
HumanCloud - TraceHumanCloud - Trace
HumanCloud - Trace
 
4 Seasons Virtual Field Trip
4 Seasons Virtual Field Trip4 Seasons Virtual Field Trip
4 Seasons Virtual Field Trip
 
Wonju Medical Industry Techno Valley Introduction
Wonju Medical Industry Techno Valley IntroductionWonju Medical Industry Techno Valley Introduction
Wonju Medical Industry Techno Valley Introduction
 
Iltabloidmotori
IltabloidmotoriIltabloidmotori
Iltabloidmotori
 
Kato Mivule - Utilizing Noise Addition for Data Privacy, an Overview
Kato Mivule - Utilizing Noise Addition for Data Privacy, an OverviewKato Mivule - Utilizing Noise Addition for Data Privacy, an Overview
Kato Mivule - Utilizing Noise Addition for Data Privacy, an Overview
 
Top Firefox Addons
Top Firefox AddonsTop Firefox Addons
Top Firefox Addons
 

Similar to Resolution Independence - Preparing Websites for Retina Displays

Ga london-html5&mobile advertising-tomlimongello
Ga london-html5&mobile advertising-tomlimongelloGa london-html5&mobile advertising-tomlimongello
Ga london-html5&mobile advertising-tomlimongello
Tom Limongello
 
File Types Pro Forma
File Types Pro FormaFile Types Pro Forma
File Types Pro Forma
Emily-F
 
Digital graphics pro forma
Digital graphics pro formaDigital graphics pro forma
Digital graphics pro forma
urquhart11
 
Responsive Design - ISCTE
Responsive Design - ISCTEResponsive Design - ISCTE
Responsive Design - ISCTE
fidibiko
 

Similar to Resolution Independence - Preparing Websites for Retina Displays (20)

Screen Based Design for Graphic Designer
Screen Based Design for Graphic DesignerScreen Based Design for Graphic Designer
Screen Based Design for Graphic Designer
 
Responsive Web Design & Workflow
Responsive Web Design & WorkflowResponsive Web Design & Workflow
Responsive Web Design & Workflow
 
Responsive design and retina displays
Responsive design and retina displaysResponsive design and retina displays
Responsive design and retina displays
 
File formats resub
File formats resubFile formats resub
File formats resub
 
File formats
File formatsFile formats
File formats
 
Lesson 7
Lesson 7Lesson 7
Lesson 7
 
UG141 - Week 5 (Graphics)
UG141 - Week 5 (Graphics)UG141 - Week 5 (Graphics)
UG141 - Week 5 (Graphics)
 
Ga london-html5&mobile advertising-tomlimongello
Ga london-html5&mobile advertising-tomlimongelloGa london-html5&mobile advertising-tomlimongello
Ga london-html5&mobile advertising-tomlimongello
 
File Types Pro Forma
File Types Pro FormaFile Types Pro Forma
File Types Pro Forma
 
File types.
File types.File types.
File types.
 
Digital graphics pro forma
Digital graphics pro formaDigital graphics pro forma
Digital graphics pro forma
 
Digital graphics pro forma copy
Digital graphics pro forma copyDigital graphics pro forma copy
Digital graphics pro forma copy
 
Unit 54 assignment 1
Unit 54   assignment 1Unit 54   assignment 1
Unit 54 assignment 1
 
Responsive Design - ISCTE
Responsive Design - ISCTEResponsive Design - ISCTE
Responsive Design - ISCTE
 
Graphics On The Website
Graphics On The WebsiteGraphics On The Website
Graphics On The Website
 
File types alis rose
File types alis rose File types alis rose
File types alis rose
 
File types pro forma(1)
File types pro forma(1)File types pro forma(1)
File types pro forma(1)
 
5 Major Challenges in Interactive Rendering
5 Major Challenges in Interactive Rendering5 Major Challenges in Interactive Rendering
5 Major Challenges in Interactive Rendering
 
NCDevCon2012_designing the mobile experience
NCDevCon2012_designing the mobile experienceNCDevCon2012_designing the mobile experience
NCDevCon2012_designing the mobile experience
 
File types pro forma(2)
File types pro forma(2)File types pro forma(2)
File types pro forma(2)
 

Recently uploaded

Search and Society: Reimagining Information Access for Radical Futures
Search and Society: Reimagining Information Access for Radical FuturesSearch and Society: Reimagining Information Access for Radical Futures
Search and Society: Reimagining Information Access for Radical Futures
Bhaskar Mitra
 

Recently uploaded (20)

Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
 
10 Differences between Sales Cloud and CPQ, Blanka Doktorová
10 Differences between Sales Cloud and CPQ, Blanka Doktorová10 Differences between Sales Cloud and CPQ, Blanka Doktorová
10 Differences between Sales Cloud and CPQ, Blanka Doktorová
 
Knowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and backKnowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and back
 
Search and Society: Reimagining Information Access for Radical Futures
Search and Society: Reimagining Information Access for Radical FuturesSearch and Society: Reimagining Information Access for Radical Futures
Search and Society: Reimagining Information Access for Radical Futures
 
Connector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a buttonConnector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a button
 
Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...
 
ODC, Data Fabric and Architecture User Group
ODC, Data Fabric and Architecture User GroupODC, Data Fabric and Architecture User Group
ODC, Data Fabric and Architecture User Group
 
Salesforce Adoption – Metrics, Methods, and Motivation, Antone Kom
Salesforce Adoption – Metrics, Methods, and Motivation, Antone KomSalesforce Adoption – Metrics, Methods, and Motivation, Antone Kom
Salesforce Adoption – Metrics, Methods, and Motivation, Antone Kom
 
JMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and GrafanaJMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and Grafana
 
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
 
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered QualitySoftware Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
 
Key Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdfKey Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdf
 
Powerful Start- the Key to Project Success, Barbara Laskowska
Powerful Start- the Key to Project Success, Barbara LaskowskaPowerful Start- the Key to Project Success, Barbara Laskowska
Powerful Start- the Key to Project Success, Barbara Laskowska
 
UiPath Test Automation using UiPath Test Suite series, part 1
UiPath Test Automation using UiPath Test Suite series, part 1UiPath Test Automation using UiPath Test Suite series, part 1
UiPath Test Automation using UiPath Test Suite series, part 1
 
In-Depth Performance Testing Guide for IT Professionals
In-Depth Performance Testing Guide for IT ProfessionalsIn-Depth Performance Testing Guide for IT Professionals
In-Depth Performance Testing Guide for IT Professionals
 
The architecture of Generative AI for enterprises.pdf
The architecture of Generative AI for enterprises.pdfThe architecture of Generative AI for enterprises.pdf
The architecture of Generative AI for enterprises.pdf
 
Introduction to Open Source RAG and RAG Evaluation
Introduction to Open Source RAG and RAG EvaluationIntroduction to Open Source RAG and RAG Evaluation
Introduction to Open Source RAG and RAG Evaluation
 
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
 
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
 
IoT Analytics Company Presentation May 2024
IoT Analytics Company Presentation May 2024IoT Analytics Company Presentation May 2024
IoT Analytics Company Presentation May 2024
 

Resolution Independence - Preparing Websites for Retina Displays

  • 1. Independence Preparing Websites for Retina Displays Thursday, July 19, 12
  • 2. Why are we here? To discuss development techniques as they relate to high-res displays Thursday, July 19, 12
  • 3. That Retina Display Looks Great! So why does my website look terrible? Thursday, July 19, 12
  • 4. Why? Packing more pixels in the same sized screens In the past, 72dpi graphics were just scaled down Retina displays scale up graphics anywhere from 224 to 326ppi 99% of all bitmap graphics on the web are 72dpi.* * I made that up, but it’s probably close or true. Thursday, July 19, 12
  • 5. So what can we do about it? Thursday, July 19, 12
  • 6. Learn from Print Print has always had to deal with high-resolutions and varying dpi. When dealing with bitmap images, print works with high-res sources. Other images and typography use Resolution-Independent sources. Embedded fonts Vector artwork Program FX (i.e. layer effects) Thursday, July 19, 12
  • 7. So what are the issues? Photography Logos and Icons Fonts UI elements Thursday, July 19, 12
  • 8. Photography High-res JPEGs We’re not going to get away for bitmap graphics completely Possible to use high-res files, but use with caution Low res standard JPEGs of photography still look decent New standards are being crafted right now There are server-side and client-side options available Thursday, July 19, 12
  • 9. Logos and Icons SVG Files Scalable Vector Graphics are like Illustrator files for the web They look crisp and are often smaller files Creating these can be tricky Some special effects in Illustrator won’t work in the SVG file format Won’t work for everything, but great for logos Thursday, July 19, 12
  • 10. Fonts Web Fonts Using web fonts helps reduce development costs Increases SEO and can lower overall bandwidth usage There is no shame in using web safe fonts, but there are free solutions if paid solutions are not available. Also consider icon fonts (http://keyamoon.com/icomoon) Advanced web typography doesn’t need graphical text (http://letteringjs.com/) Thursday, July 19, 12
  • 11. UI Elements CSS Effects Effects are generated by the browser. Similar to using Photoshop Layer Effects. Effects are resolution independent. Can have dramatic results on the speed of a website. Thursday, July 19, 12
  • 12. CSS Effects CSS Drop Shadows Text Shadows Multiple Text Shadows Box Shadows Inset Box Shadows Multiple Box Shadows Only on boxes and text :( Thursday, July 19, 12
  • 13. CSS Effects CSS Drop Shadows 1.Setting the distance via X/Y 2.Setting the size (it’s possible to support spread as well) 3.Color can be set via hex code 4.or color and opacity can be set via RGBA values Thursday, July 19, 12
  • 14. CSS Effects Border Radius Rounded Corners You can make circles! Control each corner Thursday, July 19, 12
  • 15. Perfect Resolution Independence Shadows and rounded corners scale beautifully Thursday, July 19, 12
  • 16. CSS Effects CSS Gradients Can do linear or radial Can do RGBA (transparency) Can be layered for interesting effects http://lea.verou.me/css3patterns/ Will be supported in IE10, but we can create fallbacks Ultimate CSS Generator is great and works just like gradients in Photoshop. http://www.colorzilla.com/gradient-editor/ Thursday, July 19, 12
  • 17. Isn’t this more difficult? Using web fonts shouldn’t impact design at all. Using SVG is a little more hassle, but worth the effort. Using CSS effects can ease development and designers only need to be aware of how we’re using them. Designers may need to keep track of high-res assets for developers. Use “place” in Photoshop for example. Thursday, July 19, 12
  • 18. What other benefits are there? Web fonts Lower bandwidth due to few graphics Easier to update Necessary for dynamic text SVG Tiny files CSS Effects Lower bandwidth due to few graphics Easier to update Can change styles subtly without needing all new graphics CSS animations! Thursday, July 19, 12
  • 19. This isn’t a mandate. There are no laws being made here. Thursday, July 19, 12
  • 20. Be aware of what’s possible. Let’s push the envelope! Thursday, July 19, 12
  • 21. Thank you for listening! Any Questions? Thursday, July 19, 12