def validate!
      identify
    rescue MiniMagick::Error => error
      raise MiniMagick::Invalid, error.message
    end
def validate!
      identify
    rescue MiniMagick::Error => error
      raise MiniMagick::Invalid, error.message
    end
Runs `identify` on the current image, and raises an error if it doesn't
 pass.

 @raise [MiniMagick::Invalid]