ImageResizer::output_image() now returns a ResizedImage object. Updated SecureImageResizer to use this.