Added IPW segmentation helper code
Added code for creating 'browse' image JPEG/PNGs