Recent News
image
California TV Ban Even Worse Than We Thought
The California Energy Commission’s ruling treats all TVs the same, regardless of the application. California retailers will suffer.


Designing Touchscreen Interfaces in Photoshop in True Life Size
Often, what you see on your computer monitor is not what you get on your touchscreen; here's how to perfect-size your GUIs
image

06.24.2009 — When you're designing a touchscreen interface in Photoshop, what you see on the screen is often a very different size than the way it will actually appear on the touchscreen display.

This is problematic when you're trying to size and space all of the elements of a user-friendly interface. Fortunately, there is a way to preview your design in the true size of your target display.

Photoshop has a "Print Size" command in the view menu. This not only allows you to view the canvas on screen at the actual size it would print, it's also great for viewing the canvas at the actual size of your target touchscreen.

To do this, you first need to tell Photoshop the dpi (dots per inch) of your computer display. Mine, for example, is 113.21. You can figure out yours with the handy dpi calculator at pxcalc.com or using the following formula:

dpi = sqrt (width_pixels^2 + height_pixels^2) / diagonal_inches

Once you know your display's dpi, open Photoshop's Units & Rulers preferences and set the Screen Resolution (under New Document Preset Resolutions) to that dpi. You'll only need to set this once.

image

image

And, by the way, if you've ever done print work and were frustrated because the Print Size view never provided you with accurate results, you've just solved your problem.

Now let's put this to work.

For our example, we'll create a new project for designing an iPhone interface. The iPhone has a pixel resolution of 320 x 480. The screen size is documented as being 3.5" diagonally. So, using the dpi calculator, we know it has a dpi of 164.83.

Whenever you create a new project, Photoshop provides you with text fields to enter this information. You enter the width and height in pixels and the resolution in pixels/inch. (Pixels are dots, so this is the same as dpi or dots per inch.)

image

And then, when you activate Print Size from the view menu you'll be experiencing your design in all its glorious true life size. You can also apply your new dpi knowledge to any application that allows you to zoom to a user-entered percentage. Simply take the dpi of your display and divide it by 72 if you're on a Mac or 96 if you're on a PC.

When I divide my display's dpi by 72, I get 1.57 as a result. Now just multiply that result by 100 to get your display's true life size zoom percentage. By zooming to 157%, I can work on documents, like Word and Illustrator, in the actual size they would print.

Morgan Strauss is Director of Operations for Guifx, developer of touchscreen interfaces for integrators. He has 16 years of experience designing digital and analog interfaces for the aerospace, medical, automation, and entertainment industries. He's taught many classes and seminars, including 'Interface Design for Touchscreens' at the Consumer Electronics Show (CES). For more design tips visit the guifx blog.


Subscribe to the CE Pro Newsletter

Get the latest news, products and more delivered straight to your inbox.

Morgan Strauss is Director of Operations for Guifx, developer of touchscreen interfaces for integrators. He has 16 years of experience designing digital and analog interfaces for the aerospace, medical, automation, and entertainment industries. He's taught many classes and seminars, including 'Interface Design for Touchscreens' at the Consumer Electronics Show (CES)
This entry has been viewed 2191 times.

tags
Subscribe to the CE Pro Newsletter
Subscribe to Email Alerts
Subscribe to the newsletter today! 

tagsThis Article Tagged

tagsNews Feeds

tagsSocial Bookmark
Submit to: , Digg, Delicious, Slashdot, Reddit, MyYahoo!, Google, Technorati, Learn about social bookmarking

Comments

Posted by ntdesigner  on  06/24  at  08:45 AM

Great post Morgan!  Thanks a lot!

Posted by Morgan Strauss  on  06/24  at  08:55 AM

Thanks ntdesigner. You’re welcome smile

Posted by Casey  on  06/24  at  09:37 AM

What frustrates me is trying to optimize my export settings to match the color capabilities of a given panel, to try to prevent horrible banding/dithering. This may be panel specific but I would love to see another article on CE Pro, or on your blog discussing this topic.

Posted by Morgan Strauss  on  06/24  at  01:44 PM

That is a great topic, Casey. One worth addressing in detail. In the meantime, try limiting your use of gradients to prevent that banding. The lower the color depth of the panel, the worse the banding will be.

Posted by Julie Jacobson  on  06/24  at  02:20 PM

@ntdesigner I second that. Thank you Morgan for sharing your expertise with our readers.

Posted by 39 Cent Stamp  on  06/25  at  09:10 PM

Awesome! Now i will just have to learn how to apply this to Fireworks or bite the bullet and switch teams smile.

No more tape measures held up against my monitor!

Casey, i hear ya.. I have been spoiled with the newer panels until recently when i had to work with some older ones.

Which sales guy is responsible for this? smile

Posted by Morgan Strauss  on  06/26  at  02:30 AM

@39 Cent Stamp. Thanks. I haven’t used Fireworks, but you should be able to apply the zoom technique described in the last 2 paragraphs.

Posted by Dave Stevens  on  06/26  at  05:01 AM

Thanks ntdesigner!

Posted by Dave Stevens  on  06/26  at  05:03 AM

I meant to say, “Thanks Morgan.”

Posted by Julie Jacobson  on  06/26  at  08:59 AM

39 ... for real? I was going to forward this to you but figured you knew it all. I mean, the guy who brought us CE Action figures ...!

Posted by 39 Cent Stamp  on  06/26  at  10:43 PM

Julie.. the sad truth is that im just a hack who only knows how to use the eraser tool to cause a bit of trouble smile.

Posted by 39 Cent Stamp  on  06/26  at  10:45 PM

Morgan Strauss,

Thanks.. cant wait to experiment once i get home from this installation.

I really have sat at my desk with a tape measure and windows picture viewer trying to determine if a button was large enough smile

Page 1 of 1 comment pages
Post a comment

Name:

Email:

Choose smileys | View comment guidelines

Remember my personal information

Notify me of follow-up comments?

Please answer the question below:

Type the last letter of the word "cable":


Rate this article
You must be logged in to rate articles. Login or register.
  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5
Average score: 0 / Total votes: 0