Re: iOS-compliant PNGs
Re: iOS-compliant PNGs
- Subject: Re: iOS-compliant PNGs
- From: Steve Christensen <email@hidden>
- Date: Sat, 02 Apr 2011 11:28:51 -0700
What I have done for a ton of tab bar images in Photoshop CS2 is to:
1. Create a new document for the desired image size.
2. Fill the entire image with an arbitrary color.
3. Add a layer mask.
4. Switch to the layer mask and edit it to get the desired effect.
5. Save for web as PNG-24.
Perhaps the issue you were running into was that you didn't actually fill the image (vs mask) with non-transparent pixels so the image creation code might've optimized the result and generated an entirely transparent image.
On Apr 1, 2011, at 7:35 PM, G S wrote:
> Yes, I was aware that the image data itself had to be in the alpha channel.
>
> The good news is, I got it to work. The ordeal was a combo of the aforementioned Xcode bug and some plain old bad info floating around the Web.
>
> At some point I must have had a correct image that didn't get copied to the phone. Because really all you have to do is write a 24-bit PNG with transparency out of Photoshop. But since I had tried that and it didn't work, I started hunting around the Web for the "right" way.
>
> What does NOT work is creating a mask on a single-layer image in Photoshop, pasting the image data into it, and saving that as a PNG (even using the "save for Web" option). That's what some instructions out there claim you have to do.
>
> Thanks very much to everyone who replied. I appreciate your time. And, I'll check out those tutorials anyway for potential time-saving hints.
Attachment:
PGP.sig
Description: PGP signature
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden