Merging Images - Android
I am working on an Android project with 2d graphics. I have a sprite of a man. The graphics for the man is broken up into 3 images: Head, Torso, and Legs. There are a handful of different Torso and Leg images that we want to be able to swap out at runtime. At runtime, we want to create an InputStream with the 3 chosen images combined, create a Bitmap with the InputStream (using BitmapFactory), and display the image.
I figured out how to do almost all of that, except for the most important part: combining the 3 images into one InputStream. Does anyone have any useful links or something they can provide? Google hasn't been too helpful.