• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: .png images getting corrupted?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: .png images getting corrupted?


  • Subject: Re: .png images getting corrupted?
  • From: Steve Christensen <email@hidden>
  • Date: Mon, 12 Apr 2010 06:34:13 -0700

In the project/target settings, look for the "Compress PNG Files" (COMPRESS_PNG_FILES). I don't remember now what the default value is for a newly-created target but I have it turned on. When I try to open the PNGs in the app bundle, Preview just shows empty windows. Interestingly, Default.png does display in Preview, so perhaps it's not compressed so it will load faster on app startup?

steve


On Apr 12, 2010, at 2:06 AM, Rick Mann wrote:

I'm trying to change the icon in the iPad version of my app, and suddenly I can't get any icon at all.

I have an entry in my Info.plist:

	<key>CFBundleIconFile~ipad</key>
	<string>icon-iPad.png</string>

but the file that appears in the bundle is empty. That is, it has a blank thumbnail in the Finder, and opening it in Preview it contains nothing.

Do the images get processed in some way when added to the bundle? My other images behave similarly, but seem to still show up in the app. It's just the app icon that shows up on the device as white.

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

  • Follow-Ups:
    • Re: .png images getting corrupted?
      • From: Patrick Mau <email@hidden>
References: 
 >.png images getting corrupted? (From: Rick Mann <email@hidden>)

  • Prev by Date: Re: Xcode-users Digest, Vol 7, Issue 153
  • Next by Date: Re: .png images getting corrupted?
  • Previous by thread: .png images getting corrupted?
  • Next by thread: Re: .png images getting corrupted?
  • Index(es):
    • Date
    • Thread