Transcript
Page 1: Retina Display Textures

RETINA DISPLAY TEXTURESTap Into Better Clarity For Your Mobile Projects

Mark Riggan

Page 2: Retina Display Textures

WHAT’S A RETINA DISPLAY?

Page 3: Retina Display Textures

RETINA DISPLAYHigh Resolution Screen Technology introduced by Apple.Provides greater pixel density and higher contrast ratios.

Standard Retina Display

Page 4: Retina Display Textures

iPhone iPad

4 4S The New iPad

640x960 px(Previously 320x480)

1536x2048 px(Previously 768x1024)

Mac

2880x1800 px(Previously 1440x900)

Macbook Pro

Page 5: Retina Display Textures

SO IT MAKES STUFF LOOK MAGICALLY BETTER, RIGHT?

Page 6: Retina Display Textures

THAT DEPENDS

• Text and CSS-generated art are super sharp. AWESOME

• Images and CSS background textures are pixelated.UH OH, PROBLEM

Page 7: Retina Display Textures

OK, LET’S CLEAR THIS UP

Page 8: Retina Display Textures

FOR DESIGNERS

• Setup document at 200% scale of baseline resolution

• Export at 50% scale for non-Retina Display

• Preserves image quality

• Total of 2 output files

• Low-res file

• High-res file (2x resolution)

Page 9: Retina Display Textures

image2x.png (Original)600x600

image.png (Reduced)300x300

Page 10: Retina Display Textures

FOR DEVELOPERS

/* Original Image */

selector { width: 300px; height: 300px; background-image: image.png; }

/* For Retina Displays */

@media all and (-webkit-min-device-pixel-ratio: 2) {

selector { background-image: image2x.png; background-size: 300px auto; }

}

Page 11: Retina Display Textures

Before (300x300) After (600x600)

Page 12: Retina Display Textures

Before (300x300) After (600x600)

Page 13: Retina Display Textures

SWEET! LET’S SUMMARIZE

Page 14: Retina Display Textures

IN SUMMARY

• Enhances Quality for Users

• Easy to Implement (minimal code)

• Try Limiting to High Traffic Areas

• Can be Labor Intensive

• Increases Bandwidth Usage

• Impact on Future of Web?

Page 15: Retina Display Textures

RETINA DISPLAY TEXTURESTap Into Better Clarity For Your Mobile Projects

Mark RigganTwitter (@asuwebdesign)

Dribbble (markr)


Top Related