added example for java imageIO