Initial check-in of code from Ashok. This covers still image processing.