Moved code to geotools and imageio-ext