Implemented image handling. setImageOsType() not implemented yet