Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > iPhone SDK Development Forums > iPhone SDK Development

Reply
 
LinkBack Thread Tools Display Modes
Old 12-21-2010, 06:09 PM   #1 (permalink)
Creator of From A to B
 
fudgie_no1's Avatar
 
Join Date: Nov 2010
Location: Wales
Posts: 45
fudgie_no1 is on a distinguished road
Question Recommended Image Sizes

Hi all, I was hoping you guys could share your experience with me with regards to the correct sizing of images in an app?? For example, If I have a UIImageview that's 30*30 pixels, what image size would you suggest I use?

Up until now I have been creating the images at 30*30 pixels, but obviously these images look a lot better when created at larger sizes and gives me more room to apply gradients etc. I want the app to look as crisp as possible but don't know how big I should go? Is there a general rule of thumb of say 5* the size of the frame??

What are you guys doing at the moment? Thank you for your time, much appreciated!
fudgie_no1 is offline   Reply With Quote
Old 12-21-2010, 06:41 PM   #2 (permalink)
Registered Member
 
Join Date: Jun 2010
Posts: 386
SoulRed12 is on a distinguished road
Default

Well, if you have an imageView at 30x30 pixels, your image should be 30x30 pixels. That is, unless you're building for retina display as well in which case you should have BOTH a 30x30 version AND a 60x60 version (named "imageName@2x.png"). IMO to look the best you shouldn't have any scaling in your images except with retina display graphics (and, in that case, the double-res won't be scaled down, but the regular-res images scaled up to fit the extra pixels in the display). Normal scaling down involves blending pixels together making the image less crisp, at least in my experience, so I'd stick to having images the same size as your image views (with retina display double-res graphics if you want your app to look REALLY nice).
__________________
HEY! Was this post helpful?
If so, it would be MUCH appreciated if you'd just click on one of these apps:



MyD
Take 1 minute to set up your MyD and you'll always be able to prove you own your device!

Membrik
Test your memory by sliding tiles to match chains of increasing difficulty.

©2011 Dardom Productions | Like us on Facebook!

Last edited by SoulRed12; 12-21-2010 at 06:45 PM.
SoulRed12 is offline   Reply With Quote
Old 12-21-2010, 07:22 PM   #3 (permalink)
Creator of From A to B
 
fudgie_no1's Avatar
 
Join Date: Nov 2010
Location: Wales
Posts: 45
fudgie_no1 is on a distinguished road
Default

Quote:
Originally Posted by SoulRed12 View Post
Well, if you have an imageView at 30x30 pixels, your image should be 30x30 pixels. That is, unless you're building for retina display as well in which case you should have BOTH a 30x30 version AND a 60x60 version (named "imageName@2x.png"). IMO to look the best you shouldn't have any scaling in your images except with retina display graphics (and, in that case, the double-res won't be scaled down, but the regular-res images scaled up to fit the extra pixels in the display). Normal scaling down involves blending pixels together making the image less crisp, at least in my experience, so I'd stick to having images the same size as your image views (with retina display double-res graphics if you want your app to look REALLY nice).
Thanks for your feedback. I assumed this was the case and this is what i've been doing until now. It's just that when I put a larger image in a smaller frame, the image usually looks a lot better? I wonder if other people do differently? Plenty of views this post but only you were kind enough to share your oppinion. Thanks.
fudgie_no1 is offline   Reply With Quote
Old 12-21-2010, 07:42 PM   #4 (permalink)
Registered Member
 
Join Date: Jun 2009
Location: Ypsilanti, Michigan
Age: 63
Posts: 1,549
RLScott is on a distinguished road
Default

Quote:
Originally Posted by fudgie_no1 View Post
Thanks for your feedback. I assumed this was the case and this is what i've been doing until now. It's just that when I put a larger image in a smaller frame, the image usually looks a lot better? I wonder if other people do differently? Plenty of views this post but only you were kind enough to share your oppinion. Thanks.
Whatever effect you are noticing when the iPhone renders an image at a lower resolution can also be achieved by any good image editing package, like Photoshop. Go ahead and create your original images at high resolution, and then reduce the resolution with one of these tools. It will look just as good as if you left it for the iPhone to do, and it will take up less memory.
RLScott is offline   Reply With Quote
Old 12-21-2010, 07:47 PM   #5 (permalink)
Creator of From A to B
 
fudgie_no1's Avatar
 
Join Date: Nov 2010
Location: Wales
Posts: 45
fudgie_no1 is on a distinguished road
Default

Quote:
Originally Posted by RLScott View Post
Whatever effect you are noticing when the iPhone renders an image at a lower resolution can also be achieved by any good image editing package, like Photoshop. Go ahead and create your original images at high resolution, and then reduce the resolution with one of these tools. It will look just as good as if you left it for the iPhone to do, and it will take up less memory.
thanks again for the reply. I was just concerned when I zoomed in that you could see the pixels. I'm a lot happier now that you're both saying that you make the image to the frame size (apart from x2 for the iphone 4 of course). Thanks both!
fudgie_no1 is offline   Reply With Quote
Reply

Bookmarks

Tags
image, pixels, quality, recommended, size

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



» Advertisements
» Online Users: 397
9 members and 388 guests
chemistry, daudrizek, HemiMG, jeroenkeij, Kirkout, PavelMik, whitey99
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,665
Threads: 94,120
Posts: 402,898
Top Poster: BrianSlick (7,990)
Welcome to our newest member, daudrizek
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 03:00 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0