I want to get a good understanding of how to work with combining multiple images on a printout in Java. I have create six jpg files (one is 300 dpi, three are 150 dpi and one is 72 dpi). All images are 3" x 3", but because they have different resolutions, the code will need to perform whatever transformation is necessary to keep all six images at 3" x 3" when they print out. The output should be at 300 dpi, since that is the highest resolution of the images I have. The images also have some rotation/flipped issues whereby they may need to be rotated 90 degrees (or some multiple of that) and/or have their image flipped (mirrored?) in order for all images to be oriented the same direction. The images all have wording like "DPI 300 Reguler" or "DPI150 Flipped" or "DPI150 Rotated" etc. to indicate what the source image looked like. The goal is to put all six on a single sheet with one rectangle box around all six and have those images all appear in the same orientation so that the wording in each image is ledible (reads left to right).
In addition, I want a separate java class that creates a ruler-like that can be set to a specific length and orientation and on the output this ruler should be placed along the left hand size of the rectangle that is created containint the six images as well as another ruler along the bottom.
The attached zip file shows a mock-up of what I'm looking for along with the six jpg files. The only thing different is that on the mock-up it shows the images in their current orientation. All of the images will need to have one or more transformation done in order to get them to all display in the same orientation.