I've been doing exactly this recently, and have had excellent success
with using CALayers (Core Animation). An NSTimer with a fast repeat
rate is triggering a method that assigns in one of an array of
CGImageRef's to the layer's contents property has made for a really
decent flipbook style
You might look in Jens MYUtilities package (http://mooseyard.com/hg/hgwebdir.cgi/MYUtilities/
) he has a nice category class for doing Base64 work on NSData -
http://mooseyard.com/hg/hgwebdir.cgi/MYUtilities/file/c59dec088990/Base64.h