Added example from java website about maniplating images.