Fixed an issue with getPNGAsString. It was returning the bytes of the raw tiff instead of the png sourced from the buffered image.