add to \Tizo\Image class two method: ->get_type(); ->get_type_extension();