Implemented tap selection for KImages

Removed encoding class. Switched to using flex's inbuilt bitmapdata
encoder.