ImageResponse constructor

const ImageResponse({
  1. required Input<double> alpha,
  2. required Input<NormalizedCoordinateResponse> resolution,
  3. required Input<String> uri,
})

Creates a new ImageResponse. alpha Target image opacity. Valid values are from 1.0 (solid, default) to 0.0 (transparent), exclusive. Set this to a value greater than 0.0. resolution Normalized image resolution, based on output video resolution. Valid values: 0.0–1.0. To respect the original image aspect ratio, set either x or y to 0.0. To use the original image resolution, set both x and y to 0.0. uri URI of the image in Cloud Storage. For example, gs://bucket/inputs/image.png. Only PNG and JPEG images are supported.

Implementation

const ImageResponse({
  required this.alpha,
  required this.resolution,
  required this.uri,
});