General

UIImageView and swapping images02 Dec

Out of curiosity, related to a real need, I decided to see what I could do to animate a series of images within a UIImage view; the built-in animationImages wouldn’t work for my need. Of course, I wanted to push things a little bit, just to see where the boundaries lay.

So, for the test I ran through 5000 images (320×480 jpg) and “swapped” one after another into a UIImageView ([anImageView setImage:...]), for a single loop. The results may be of benefit for someone else, so if you’re that person, here you go:

In order of efficiency/speed:

[UIImage imageWithData:...] // 44.8 seconds

[UIImage imageWithContentsOfFile:...] // 52.3 seconds

[[UIImage alloc] initWithContentsOfFile:…] // 351.8 seconds

[UIImage imageNamed:...] // hung

I may dive further in and experiment with Quartz to see if there are any additional (and worthwhile) gains to be had…but that’s for another day.

General

Didn’t you hear? Obama is the new Bush02 Dec

Obama: “We Did Not Ask for This Fight
Bush: “We Did Not Seek This Conflict
Obama: “New Attacks are Being Plotted as I Speak
Bush: “At This Moment … Terrorists are Planning New Attacks
Obama: “Our Cause is Just, Our Resolve Unwavering
Bush: “Our Cause is Just, Our Coalition [is] Determined
Obama: “This Is No Idle Danger, No Hypothetical Threat
Bush: “The Enemies of Freedom Are Not Idle
Obama: “We Have No Interest in Occupying Your Country
Bush: “I Wouldn’t Be Happy if I Were Occupied Either

snipped from here (will likely change at some point)

About Me

I am an expert in digital video, a founder of multiple companies, inventor of the verified viewing process, and have numerous patents pending concerning methods of digital video distribution. Since 1996 I have provided software and service solutions to entertainment production companies throughout Los Angeles and New York. My companies, software, and services have helped produce the television shows ‘ABC’s Extreme Makeover: Home Edition,’ ‘MTV’s Yo Momma,’ ‘FOX’s Nanny 911,’ and ‘Comedy Central’s The Showbiz Show with David Spade,’ among many others.

I hold a Bachelor of Science from Arizona State University, am an active member of the Producer’s Guild of America, and public speaker. I am also a published author: Digital Video Hacks (O’Reilly; ISBN 0596009461) and Videoblogging (Wiley; ISBN 0470037881) have helped thousands of people understand how to produce and distribute digital video with a high level of competence. When not consumed with work, I live, love, and enjoy life with my family.

Contact Form

If the you have stripped your referrer fields in you browser, or are using a proxy or are behind a firewall, this form may not work!