1

I am using images in my app which need to have transparency. They are currently .png files, but converting them to .jp2 (JPEG 2000) reduces the file size considerably. I added them to the Xcode project, but they are not loading when I run the app. Does this mean Xcode/Objective C does not support .jp2 files?

Garoal
  • 2,364
  • 2
  • 19
  • 31
Dale Townsend
  • 671
  • 3
  • 13
  • 25
  • 1
    Actually, though the size on your disk may be bigger, Xcode and iOS have marvelous PNG optimizations built into them which run automagically. The resulting package is actually smaller and faster than what a JPEG based package would be. – CodaFi Nov 04 '12 at 09:37
  • 3
    See [this question](http://stackoverflow.com/q/7047984/730701). – Adam Nov 04 '12 at 10:08

2 Answers2

3

You have there files supported by apple, and i can't see jp2. So my answer is: no, jp2 is not supported.

edzio27
  • 4,126
  • 7
  • 33
  • 48
1

Here you can find what images are supported by iOS UIImage. .jp2 format isn't on that list. So it's not supported.

Garoal
  • 2,364
  • 2
  • 19
  • 31