How to prototype algorithm for running on android camera images?
===

I have an idea for an Android app that relies on me processing images coming from the phone camera in realtime (think of the processing something like [Word Lens][1] has to do). I'd like to prototype my algorithm in Python by running it on static images, but I want the static images to match the format that would normally be received from an Android phone camera (I don't want to make a working algorithm for RGB and then find out Android's camera API gives you HSV byte arrays). Two questions:

1. What's the format? (or at least the most common, since Android hardware varies)
2. How do I convert my jpg test images to this format on Linux?

  [1]: http://wordlensandroid.net