Supported image and video formats in iPhone projects

Question: I am a departed Microsoft Visual Studio programmer and have to build some iPhone apps now. What are the supported image types in iPhone 4 projects? Can I use Microsoft bitmaps and video formats? Answer: Welcome to the club. In iOS, all drawing, regardless of OpenGL, Quartz, UIKit, or Core Animation…, occurs within an UIView object. UIView-s define the portion of the screen in which drawing occurs. We usually do not need custom drawing code. UIKit supports the UIImage class, which implements an immutable class for displaying images. The link to this widely used class reference is further down.
Format Filename extension Comment
Windows Cursor .cur
Windows Icon Format .ico
Windows Bitmap Format (DIB) .bmp, .BMPf Windows Bitmap Format RGB-565 is converted to ARGB-1555 when they are loaded.
Portable Network Graphic (PNG) .png
Graphic Interchange Format (GIF) .gif
Joint Photographic Experts Group (JPEG) .jpg, .jpeg
Tagged Image File Format (TIFF) .tiff, .tif
XWindow bitmap .xbm
Video formats supported: .m4v, .mp4, .mov, .avi H.264 and MPEG-4 are supported. You have to convert WMV to MOV… or AVI file.



Icons and launch images for iPhone and iPad apps. iOS UIImage class reference iOS MPMoviePlayerController class reference