|
#1
|
|||
|
|||
|
OK, firstly, yeah I know it's not exactly an iTouch programming question, but this forum doesn't have an iTouch designing section, so...
Moving on, I'm putting together a couple of icons for a colleague and I've done the designs and they're now finished and so all I need to do now is export them as PNGs in the correct sizes, etc. As I understand it, when I create the PNGs, there's no need for me to include any rounded corners with alpha-transparency, etc. as Apple add this themselves. OK, so that's fine, but the designs I've done make use of an inner-glow effect which follows the icon's rounded corners. So even if I export a flat square-cornered icon, I still need to know the corner radius of the icon so that I can set my inner-glow effect to follow the rounded corner that Apple will add afterwards. For the initial designs, I've worked on my own assumptions and guesstimates of what the corner radius is, but for the final product, I'd really like to be absolutely 100% pixel-perfect. So I'm asking if anyone here knows precisely what the corner-radius of the icons is? Now that's going on the knowledge I have that I need to create one uber-large icon at 512x512 (that Apple will scale down and use at several sizes on the App-Store) and one small icon at 57x57 that will be used on the iPhone / iPod itself. Is this also correct? So what I'd really need to know are BOTH corner-radiuses ("radii"?) for these two icons. Any precise confirmed information on this is appreciated. Thanks. |
|
#3
|
|||
|
|||
|
Quote:
Picture the scenario illustrated below, where the yellow is my glow effect (stretching right into the corners), and the dotted line is where Apple rounds off the corners. Although I've overly-exaggerated the radiuses somewhat in the bad examples, this should give you an idea of the scenarios I don't want to end up with. As for measuring an existing "live" icon on which to base mine... Well, if you can point me to a 512x512 example, then I'd use that, but surely there's some developer documentation which implicitly states what the corner radiuses are? Not being a developer, I don't know this... I'd still prefer to work to supplied exact measurements, rather than merely working off a screenshot. |
|
#4
|
|||
|
|||
|
12px radius @ 128px size icon square.
|
|
#5
|
||||
|
||||
|
From what I've seen, the developer docs don't give any details about the radius beyond that it's automatic. What I think you'd have to do is fire up iTunes and take a screenshot, or an iPhone and take one (power button followed by home button quickly) and just measure. Blow it up huge, and approximate the curve. It's unlikely that Apple uses different sizes.
EDIT: Or Zandog knows.
|
|
#6
|
|||
|
|||
|
Thanks for the reply, but that information doesn't appear to be correct.
I drew a blank round-cornered square with those measurements and it just didn't look right to me. It looked way too sharp. So I checked it against an existing icon from the App-Store, and sure enough, that appeared to be the case. Have a look at the example below. The existing icon on the left is just how it appears when it's sized to 128px. I have not applied any corner radius settings of my own. What you see there is the corner that Apple applies. The icon on the right is how it looks when I implement a 12px radius to it. You can see the Apple-rounded corner is somewhat larger than the one I have cut. You can still see the background colour that's UNDERNEATH the icon showing up INSIDE my corner-radius. Last edited by BrettArchibald; 01-21-2009 at 12:06 PM.. |
|
#7
|
|||
|
|||
|
dosen't x-code do this automatically?
|
|
#8
|
||||
|
||||
|
So you blow out/bleed the corners like so:
Hacky example, but it should demonstrate the point. Get it as close as you can from actual screenshots and iTunes estimates, and do that. That way, even if you're wrong, it'll mostly work. Quote:
|
|
#9
|
|||
|
|||
|
Quote:
Quote:
|
|
#10
|
||||
|
||||
|
Uh, I don't think we're obligated to support Jailbroken themes.
EDIT: Nevermind, I'm just confused now. Last edited by PoV; 01-21-2009 at 07:55 PM.. |
![]() |
| Thread Tools | |
| Display Modes | |
|
|