The iPhone Game Background as Video or Animated Image?


I need to create a very short background animation for the entire iPhone screen. I am trying to figure out whether I should use a video or animate a series of PNG files. Does anybody know the advantage of using video as an app background instead of the series of PNG files being animated inside UIImageView? I heard that video can be compressed to really small size and will look better that animated PNGs. Thanks in advance.


I really don't think using a video rather than a series of PNG is a good idea. You'll make your life more complicated for a few kilobytes saved, if you even save any.

It is of course highly dependent on what exactly you are trying to animate, and where you try to save space. For example, if you try to save memory in the binary and if you have your PNGs (already well compressed format) in a zip that you unzip on the fly, most similarities will be factored out by the zip algorithm. If you're trying to save space in memory during the game itself (not in the binary), then this doesn't count. However, loading up the video library binaries has a serious chance to clutter your memory more than the few PNGs will.

This <a href="http://iphonedevelopertips.com/graphics/animated-gif-animated-images-iphone-style.html" rel="nofollow">project</a> does the job with JPG, it should be very easy to change that with PNG ;)


  • Unity iOS Build size is way big
  • Migrating php4/mysql4 to php5/mysql5: expected php issues?
  • Unable to display certain images on LaunchScreen
  • AVAudioPlayer - Why is there a gap between loops (uncompressed audio)
  • Dropping support for JRE 1.3
  • Why dsofile.dll still need Office Installation?
  • Multiplying column elements of sparse Matrix
  • HTMLcollection 0 list length, [n] returns undefined, converting to an array returns an empty array
  • Django : Model Instance history
  • Theme in user control
  • Embed multiple jpeg images into EXCEL programmatically?
  • How can i decode an mp3 and encode it as aac with ezstream
  • Step through an assembly language program one statement at a time
  • Unload image of UIImageView thats offscreen
  • “[CALayer release]: message sent to deallocated instance” when dismissing modal view controller
  • Can I call custom javascript from an R jupyter notebook
  • UITableViewCell subclass wrong image in cell or old image bug
  • Small video playback
  • How to select table rows/complete table?
  • “A GKScore must specify a leaderboard.”
  • Jquery UI Sortable, move item automatically
  • Get used tables from sql query [duplicate]
  • NSIS decompiler
  • SharedPreferences or SQLite Database?
  • custom UITableViewCell with image for highlighting
  • Change multiple background-images with jQuery
  • Using $this when not in object context
  • Android screen density dpi vs ppi
  • Uncaught Error: Could not find module `ember-load-initializers`
  • Read text file and split every line in MSBuild
  • req.body is undefined - nodejs
  • C# - Serializing and deserializing static member
  • Java applet as stand-alone Windows application?
  • DirectX11 ClearRenderTargetViewback with transparent buffer?
  • Change an a tag attribute in JavaScript based on screen width
  • Symfony2: How to get request parameter
  • Akka Routing: Reply's send to router ends up as dead letters
  • Is there a mandatory requirement to switch app.yaml?
  • Error creating VM instance in Google Compute Engine
  • Programmatically clearing map cache