📂 File Browser

/AgentAI/vendor/google/apiclient-services/src/Transcoder
🌙 Dark Mode
🎯 Quick Launch:

📁 Directories

📁 Resource/ 🔓 Open

📄 Files

🐘 AdBreak.php
▶ Open 📄 View Source
🐘 Aes128Encryption.php
▶ Open 📄 View Source
🐘 Animation.php
▶ Open 📄 View Source
🐘 AnimationEnd.php
▶ Open 📄 View Source
🐘 AnimationFade.php
▶ Open 📄 View Source
🐘 AnimationStatic.php
▶ Open 📄 View Source
🐘 Audio.php
▶ Open 📄 View Source
🐘 AudioAtom.php
▶ Open 📄 View Source
🐘 AudioChannel.php
▶ Open 📄 View Source
🐘 AudioChannelInput.php
▶ Open 📄 View Source
🐘 AudioMapping.php
▶ Open 📄 View Source
🐘 AudioStream.php
▶ Open 📄 View Source
🐘 BwdifConfig.php
▶ Open 📄 View Source
🐘 Clearkey.php
▶ Open 📄 View Source
🐘 Color.php
▶ Open 📄 View Source
🐘 Crop.php
▶ Open 📄 View Source
🐘 DashConfig.php
▶ Open 📄 View Source
🐘 Deblock.php
▶ Open 📄 View Source
🐘 Deinterlace.php
▶ Open 📄 View Source
🐘 Denoise.php
▶ Open 📄 View Source
🐘 DrmSystems.php
▶ Open 📄 View Source
🐘 EditAtom.php
▶ Open 📄 View Source
🐘 ElementaryStream.php
▶ Open 📄 View Source
🐘 Encryption.php
▶ Open 📄 View Source
🐘 FailureDetail.php
▶ Open 📄 View Source
🐘 Fairplay.php
▶ Open 📄 View Source
🐘 Fmp4Config.php
▶ Open 📄 View Source
🐘 H264CodecSettings.php
▶ Open 📄 View Source
🐘 H264ColorFormatHLG.php
▶ Open 📄 View Source
🐘 H264ColorFormatSDR.php
▶ Open 📄 View Source
🐘 H265CodecSettings.php
▶ Open 📄 View Source
🐘 H265ColorFormatHDR10.php
▶ Open 📄 View Source
🐘 H265ColorFormatHLG.php
▶ Open 📄 View Source
🐘 H265ColorFormatSDR.php
▶ Open 📄 View Source
🐘 Image.php
▶ Open 📄 View Source
🐘 Input.php
▶ Open 📄 View Source
🐘 InputAttributes.php
▶ Open 📄 View Source
🐘 Job.php
▶ Open 📄 View Source
🐘 JobConfig.php
▶ Open 📄 View Source
🐘 JobTemplate.php
▶ Open 📄 View Source
🐘 ListJobTemplatesResponse.php
▶ Open 📄 View Source
🐘 ListJobsResponse.php
▶ Open 📄 View Source
🐘 Manifest.php
▶ Open 📄 View Source
🐘 MpegCommonEncryption.php
▶ Open 📄 View Source
🐘 MuxStream.php
▶ Open 📄 View Source
🐘 NormalizedCoordinate.php
▶ Open 📄 View Source
🐘 OperationMetadata.php
▶ Open 📄 View Source
🐘 OriginUri.php
▶ Open 📄 View Source
🐘 Output.php
▶ Open 📄 View Source
🐘 Overlay.php
▶ Open 📄 View Source
🐘 Pad.php
▶ Open 📄 View Source
🐘 Playready.php
▶ Open 📄 View Source
🐘 PreprocessingConfig.php
▶ Open 📄 View Source
🐘 Progress.php
▶ Open 📄 View Source
🐘 PubsubDestination.php
▶ Open 📄 View Source
🐘 SampleAesEncryption.php
▶ Open 📄 View Source
🐘 SecretManagerSource.php
▶ Open 📄 View Source
🐘 SegmentSettings.php
▶ Open 📄 View Source
🐘 SpriteSheet.php
▶ Open 📄 View Source
🐘 Status.php
▶ Open 📄 View Source
🐘 TextAtom.php
▶ Open 📄 View Source
🐘 TextInput.php
▶ Open 📄 View Source
🐘 TextMapping.php
▶ Open 📄 View Source
🐘 TextStream.php
▶ Open 📄 View Source
🐘 TrackDefinition.php
▶ Open 📄 View Source
🐘 TranscoderEmpty.php
▶ Open 📄 View Source
🐘 VideoStream.php
▶ Open 📄 View Source
🐘 Vp9CodecSettings.php
▶ Open 📄 View Source
🐘 Vp9ColorFormatHLG.php
▶ Open 📄 View Source
🐘 Vp9ColorFormatSDR.php
▶ Open 📄 View Source
🐘 Widevine.php
▶ Open 📄 View Source
🐘 YadifConfig.php
▶ Open 📄 View Source

📄 Source: Image.php

<?php
/*
 * Copyright 2014 Google Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
 * use this file except in compliance with the License. You may obtain a copy of
 * the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
 * License for the specific language governing permissions and limitations under
 * the License.
 */

namespace Google\Service\Transcoder;

class Image extends \Google\Model
{
  /**
   * 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`.
   *
   * @var 
   */
  public $alpha;
  protected $resolutionType = NormalizedCoordinate::class;
  protected $resolutionDataType = '';
  /**
   * Required. URI of the image in Cloud Storage. For example,
   * `gs://bucket/inputs/image.png`. Only PNG and JPEG images are supported.
   *
   * @var string
   */
  public $uri;

  public function setAlpha($alpha)
  {
    $this->alpha = $alpha;
  }
  public function getAlpha()
  {
    return $this->alpha;
  }
  /**
   * 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`.
   *
   * @param NormalizedCoordinate $resolution
   */
  public function setResolution(NormalizedCoordinate $resolution)
  {
    $this->resolution = $resolution;
  }
  /**
   * @return NormalizedCoordinate
   */
  public function getResolution()
  {
    return $this->resolution;
  }
  /**
   * Required. URI of the image in Cloud Storage. For example,
   * `gs://bucket/inputs/image.png`. Only PNG and JPEG images are supported.
   *
   * @param string $uri
   */
  public function setUri($uri)
  {
    $this->uri = $uri;
  }
  /**
   * @return string
   */
  public function getUri()
  {
    return $this->uri;
  }
}

// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Image::class, 'Google_Service_Transcoder_Image');
← Back