view release on metacpan or search on metacpan
lib/AsposeImagingCloud/ImagingApi.pm view on Meta::CPAN
#
# PostImageBmp
#
# Update parameters of bmp image.
#
# @param String $bitsPerPixel Color depth. (required)
# @param String $horizontalResolution New horizontal resolution. (required)
# @param String $verticalResolution New vertical resolution. (required)
# @param Boolean $fromScratch Specifies where additional parameters we do not support should be taken from. If this is true ââ¬â they will be taken from default values for standard image, if it is false ââ¬â they will be saved from current im...
# @param String $outPath Path to updated file, if this is empty, response contains streamed image. (optional)
# @param File $file (required)
# @return ResponseMessage
#
sub PostImageBmp {
my ($self, %args) = @_;
# verify the required parameter 'bitsPerPixel' is set
unless (exists $args{'bitsPerPixel'}) {
croak("Missing the required parameter 'bitsPerPixel' when calling PostImageBmp");
lib/AsposeImagingCloud/ImagingApi.pm view on Meta::CPAN
#
# PostCropImage
#
# Crop image from body
#
# @param String $format Output file format. Valid Formats: Bmp, png, jpg, tiff, psd, gif. (required)
# @param String $x X position of start point for cropping rectangle (required)
# @param String $y Y position of start point for cropping rectangle (required)
# @param String $width Width of cropping rectangle (required)
# @param String $height Height of cropping rectangle (required)
# @param String $outPath Path to updated file, if this is empty, response contains streamed image. (optional)
# @param File $file (required)
# @return ResponseMessage
#
sub PostCropImage {
my ($self, %args) = @_;
# verify the required parameter 'format' is set
unless (exists $args{'format'}) {
croak("Missing the required parameter 'format' when calling PostCropImage");
lib/AsposeImagingCloud/ImagingApi.pm view on Meta::CPAN
#
# Update parameters of gif image.
#
# @param String $backgroundColorIndex Index of the background color. (optional)
# @param array $colorResolution Color resolution. (optional)
# @param array $hasTrailer Specifies if image has trailer. (optional)
# @param Integer $interlaced Specifies if image is interlaced. (optional)
# @param Boolean $isPaletteSorted Specifies if palette is sorted. (optional)
# @param String $pixelAspectRatio Pixel aspect ratio. (optional)
# @param Boolean $fromScratch Specifies where additional parameters we do not support should be taken from. If this is true ââ¬â they will be taken from default values for standard image, if it is false ââ¬â they will be saved from current im...
# @param String $outPath Path to updated file, if this is empty, response contains streamed image. (optional)
# @param File $file (required)
# @return ResponseMessage
#
sub PostImageGif {
my ($self, %args) = @_;
# verify the required parameter 'file' is set
unless (exists $args{'file'}) {
croak("Missing the required parameter 'file' when calling PostImageBmp");
lib/AsposeImagingCloud/ImagingApi.pm view on Meta::CPAN
}
#
# PostImageJpg
#
# Update parameters of jpg image.
#
# @param String $quality Quality of image. From 0 to 100. Default is 75 (optional)
# @param String $compressionType Compression type. (optional)
# @param Boolean $fromScratch Specifies where additional parameters we do not support should be taken from. If this is true ââ¬â they will be taken from default values for standard image, if it is false ââ¬â they will be saved from current im...
# @param String $outPath Path to updated file, if this is empty, response contains streamed image. (optional)
# @param File $file (required)
# @return ResponseMessage
#
sub PostImageJpg {
my ($self, %args) = @_;
# verify the required parameter 'file' is set
unless (exists $args{'file'}) {
croak("Missing the required parameter 'file' when calling PostImageJpg");
lib/AsposeImagingCloud/ImagingApi.pm view on Meta::CPAN
my $_response_object = $self->{api_client}->pre_deserialize($response->content, 'ResponseMessage', $response->header('content-type'));
return $_response_object;
}
#
# PostImagePng
#
# Update parameters of png image.
#
# @param Boolean $fromScratch Specifies where additional parameters we do not support should be taken from. If this is true ââ¬â they will be taken from default values for standard image, if it is false ââ¬â they will be saved from current im...
# @param String $outPath Path to updated file, if this is empty, response contains streamed image. (optional)
# @param File $file (required)
# @return ResponseMessage
#
sub PostImagePng {
my ($self, %args) = @_;
# verify the required parameter 'file' is set
unless (exists $args{'file'}) {
croak("Missing the required parameter 'file' when calling PostImagePng");
lib/AsposeImagingCloud/ImagingApi.pm view on Meta::CPAN
}
#
# PostImagePsd
#
# Update parameters of psd image.
#
# @param Integer $channelsCount Count of channels. (optional)
# @param String $compressionMethod Compression method. (optional)
# @param Boolean $fromScratch Specifies where additional parameters we do not support should be taken from. If this is true ââ¬â they will be taken from default values for standard image, if it is false ââ¬â they will be saved from current im...
# @param String $outPath Path to updated file, if this is empty, response contains streamed image. (optional)
# @param File $file (required)
# @return ResponseMessage
#
sub PostImagePsd {
my ($self, %args) = @_;
# verify the required parameter 'file' is set
unless (exists $args{'file'}) {
croak("Missing the required parameter 'file' when calling PostImagePsd");
lib/AsposeImagingCloud/ImagingApi.pm view on Meta::CPAN
}
#
# PostChangeImageScale
#
# Change scale of an image from body
#
# @param String $format Output file format. Valid Formats: Bmp, png, jpg, tiff, psd, gif. (required)
# @param String $newWidth New width of the scaled image. (required)
# @param String $newHeight New height of the scaled image. (required)
# @param String $outPath Path to updated file, if this is empty, response contains streamed image. (optional)
# @param File $file (required)
# @return ResponseMessage
#
sub PostChangeImageScale {
my ($self, %args) = @_;
# verify the required parameter 'format' is set
unless (exists $args{'format'}) {
croak("Missing the required parameter 'format' when calling PostChangeImageScale");
lib/AsposeImagingCloud/ImagingApi.pm view on Meta::CPAN
return $_response_object;
}
#
# PostImageRotateFlip
#
# Rotate and flip existing image and get it from response.
#
# @param String $format Number of frame. (Bmp, png, jpg, tiff, psd, gif.) (required)
# @param String $method New width of the scaled image. (Rotate180FlipNone, Rotate180FlipX, Rotate180FlipXY, Rotate180FlipY, Rotate270FlipNone, Rotate270FlipX, Rotate270FlipXY, Rotate270FlipY, Rotate90FlipNone, Rotate90FlipX, Rotate90FlipXY, Rotate90...
# @param String $outPath Path to updated file, if this is empty, response contains streamed image. (optional)
# @param File $file (required)
# @return ResponseMessage
#
sub PostImageRotateFlip {
my ($self, %args) = @_;
# verify the required parameter 'format' is set
unless (exists $args{'format'}) {
croak("Missing the required parameter 'format' when calling PostImageRotateFlip");
lib/AsposeImagingCloud/ImagingApi.pm view on Meta::CPAN
my $_response_object = $self->{api_client}->pre_deserialize($response->content, 'ResponseMessage', $response->header('content-type'));
return $_response_object;
}
#
# PostImageSaveAs
#
# Export existing image to another format. Image is passed as request body.
#
# @param String $format Output file format. (Bmp, png, jpg, tiff, psd, gif.) (required)
# @param String $outPath Path to updated file, if this is empty, response contains streamed image. (optional)
# @param File $file (required)
# @return ResponseMessage
#
sub PostImageSaveAs {
my ($self, %args) = @_;
# verify the required parameter 'format' is set
unless (exists $args{'format'}) {
croak("Missing the required parameter 'format' when calling PostImageSaveAs");
lib/AsposeImagingCloud/ImagingApi.pm view on Meta::CPAN
# Perform scaling, cropping and flipping of an image in single request. Image is passed as request body.
#
# @param String $format Save image in another format. By default format remains the same (required)
# @param String $newWidth New Width of the scaled image. (required)
# @param String $newHeight New height of the scaled image. (required)
# @param String $x X position of start point for cropping rectangle (required)
# @param String $y Y position of start point for cropping rectangle (required)
# @param String $rectWidth Width of cropping rectangle (required)
# @param String $rectHeight Height of cropping rectangle (required)
# @param String $rotateFlipMethod RotateFlip method. Default is RotateNoneFlipNone. (required)
# @param String $outPath Path to updated file, if this is empty, response contains streamed image. (optional)
# @param File $file (required)
# @return ResponseMessage
#
sub PostImageOperationsSaveAs {
my ($self, %args) = @_;
# verify the required parameter 'format' is set
unless (exists $args{'format'}) {
croak("Missing the required parameter 'format' when calling PostImageSaveAs");
lib/AsposeImagingCloud/ImagingApi.pm view on Meta::CPAN
#
# GetImageBmp
#
# Update parameters of bmp image.
#
# @param String $name Filename of image. (required)
# @param String $bitsPerPixel Color depth. (required)
# @param String $horizontalResolution New horizontal resolution. (required)
# @param String $verticalResolution New vertical resolution. (required)
# @param Boolean $fromScratch Specifies where additional parameters we do not support should be taken from. If this is true ââ¬â they will be taken from default values for standard image, if it is false ââ¬â they will be saved from current im...
# @param String $outPath Path to updated file, if this is empty, response contains streamed image. (optional)
# @param String $folder Folder with image to process. (optional)
# @param String $storage (optional)
# @return ResponseMessage
#
sub GetImageBmp {
my ($self, %args) = @_;
# verify the required parameter 'name' is set
unless (exists $args{'name'}) {
lib/AsposeImagingCloud/ImagingApi.pm view on Meta::CPAN
# GetCropImage
#
# Crop existing image
#
# @param String $name The image name. (required)
# @param String $format Output file format. Valid Formats: Bmp, png, jpg, tiff, psd, gif. (required)
# @param String $x X position of start point for cropping rectangle (required)
# @param String $y Y position of start point for cropping rectangle (required)
# @param String $width Width of cropping rectangle (required)
# @param String $height Height of cropping rectangle (required)
# @param String $outPath Path to updated file, if this is empty, response contains streamed image. (optional)
# @param String $folder Folder with image to process. (optional)
# @param String $storage (optional)
# @return ResponseMessage
#
sub GetCropImage {
my ($self, %args) = @_;
# verify the required parameter 'name' is set
unless (exists $args{'name'}) {
lib/AsposeImagingCloud/ImagingApi.pm view on Meta::CPAN
# @param String $name Filename of image. (required)
# @param String $frameId Number of frame. (required)
# @param String $newWidth New width of the scaled image. (optional)
# @param String $newHeight New height of the scaled image. (optional)
# @param String $x X position of start point for cropping rectangle (optional)
# @param String $y Y position of start point for cropping rectangle (optional)
# @param String $rectWidth Width of cropping rectangle (optional)
# @param String $rectHeight Height of cropping rectangle (optional)
# @param String $rotateFlipMethod RotateFlip method.(Rotate180FlipNone, Rotate180FlipX, Rotate180FlipXY, Rotate180FlipY, Rotate270FlipNone, Rotate270FlipX, Rotate270FlipXY, Rotate270FlipY, Rotate90FlipNone, Rotate90FlipX, Rotate90FlipXY, ...
# @param Boolean $saveOtherFrames Include all other frames or just specified frame in response. (optional)
# @param String $outPath Path to updated file, if this is empty, response contains streamed image. (optional)
# @param String $folder Folder with image to process. (optional)
# @param String $storage (optional)
# @return ResponseMessage
#
sub GetImageFrame {
my ($self, %args) = @_;
# verify the required parameter 'name' is set
unless (exists $args{'name'}) {
lib/AsposeImagingCloud/ImagingApi.pm view on Meta::CPAN
# Update parameters of bmp image.
#
# @param String $name Filename of image. (required)
# @param String $backgroundColorIndex Index of the background color. (optional)
# @param String $colorResolution Color resolution. (optional)
# @param Boolean $hasTrailer Specifies if image has trailer. (optional)
# @param Boolean $interlaced Specifies if image is interlaced. (optional)
# @param Boolean $isPaletteSorted Specifies if palette is sorted. (optional)
# @param String $pixelAspectRatio Pixel aspect ratio. (optional)
# @param Boolean $fromScratch Specifies where additional parameters we do not support should be taken from. If this is true ââ¬â they will be taken from default values for standard image, if it is false ââ¬â they will be saved from current im...
# @param String $outPath Path to updated file, if this is empty, response contains streamed image. (optional)
# @param String $folder Folder with image to process. (optional)
# @param String $storage (optional)
# @return ResponseMessage
#
sub GetImageGif {
my ($self, %args) = @_;
# verify the required parameter 'name' is set
unless (exists $args{'name'}) {
lib/AsposeImagingCloud/ImagingApi.pm view on Meta::CPAN
}
#
# GetImageJpg
#
# Update parameters of jpg image.
#
# @param String $name Filename of image. (required)
# @param String $quality Quality of image. From 0 to 100. Default is 75 (optional)
# @param String $compressionType Compression type. (optional)
# @param Boolean $fromScratch Specifies where additional parameters we do not support should be taken from. If this is true ââ¬â they will be taken from default values for standard image, if it is false ââ¬â they will be saved from current im...
# @param String $outPath Path to updated file, if this is empty, response contains streamed image. (optional)
# @param String $folder Folder with image to process. (optional)
# @param String $storage (optional)
# @return ResponseMessage
#
sub GetImageJpg {
my ($self, %args) = @_;
# verify the required parameter 'name' is set
unless (exists $args{'name'}) {
lib/AsposeImagingCloud/ImagingApi.pm view on Meta::CPAN
return $_response_object;
}
#
# GetImagePng
#
# Update parameters of png image.
#
# @param String $name Filename of image. (required)
# @param Boolean $fromScratch Specifies where additional parameters we do not support should be taken from. If this is true ââ¬â they will be taken from default values for standard image, if it is false ââ¬â they will be saved from current im...
# @param String $outPath Path to updated file, if this is empty, response contains streamed image. (optional)
# @param String $folder Folder with image to process. (optional)
# @param String $storage (optional)
# @return ResponseMessage
#
sub GetImagePng {
my ($self, %args) = @_;
# verify the required parameter 'name' is set
unless (exists $args{'name'}) {
lib/AsposeImagingCloud/ImagingApi.pm view on Meta::CPAN
}
#
# GetImagePsd
#
# Update parameters of psd image.
#
# @param String $name Filename of image. (required)
# @param Integer $channelsCount Count of channels. (optional)
# @param String $compressionMethod Compression method. (optional)
# @param Boolean $fromScratch Specifies where additional parameters we do not support should be taken from. If this is true ââ¬â they will be taken from default values for standard image, if it is false ââ¬â they will be saved from current im...
# @param String $outPath Path to updated file, if this is empty, response contains streamed image. (optional)
# @param String $folder Folder with image to process. (optional)
# @param String $storage (optional)
# @return ResponseMessage
#
sub GetImagePsd {
my ($self, %args) = @_;
# verify the required parameter 'name' is set
unless (exists $args{'name'}) {
lib/AsposeImagingCloud/ImagingApi.pm view on Meta::CPAN
}
#
# GetChangeImageScale
#
# Change scale of an existing image
#
# @param String $name The image name. (required)
# @param String $format Output file format. Valid Formats: Bmp, png, jpg, tiff, psd, gif. (required)
# @param String $newWidth New width of the scaled image. (required)
# @param String $newHeight New height of the scaled image. (required)
# @param String $outPath Path to updated file, if this is empty, response contains streamed image. (optional)
# @param String $folder Folder with image to process. (optional)
# @param String $storage (optional)
# @return ResponseMessage
#
sub GetChangeImageScale {
my ($self, %args) = @_;
# verify the required parameter 'name' is set
unless (exists $args{'name'}) {
lib/AsposeImagingCloud/ImagingApi.pm view on Meta::CPAN
}
#
# GetImageRotateFlip
#
# Rotate and flip existing image
#
# @param String $name Filename of image. (required)
# @param String $format Number of frame. (Bmp, png, jpg, tiff, psd, gif.) (required)
# @param String $method New width of the scaled image. (Rotate180FlipNone, Rotate180FlipX, Rotate180FlipXY, Rotate180FlipY, Rotate270FlipNone, Rotate270FlipX, Rotate270FlipXY, Rotate270FlipY, Rotate90FlipNone, Rotate90FlipX, Rotate90FlipXY, Rotate90...
# @param String $outPath Path to updated file, if this is empty, response contains streamed image. (optional)
# @param String $folder Folder with image to process. (optional)
# @param String $storage (optional)
# @return ResponseMessage
#
sub GetImageRotateFlip {
my ($self, %args) = @_;
# verify the required parameter 'name' is set
unless (exists $args{'name'}) {
lib/AsposeImagingCloud/ImagingApi.pm view on Meta::CPAN
return $_response_object;
}
#
# GetImageSaveAs
#
# Export existing image to another format
#
# @param String $name Filename of image. (required)
# @param String $format Output file format. (Bmp, png, jpg, tiff, psd, gif.) (required)
# @param String $outPath Path to updated file, if this is empty, response contains streamed image. (optional)
# @param String $folder Folder with image to process. (optional)
# @param String $storage (optional)
# @return ResponseMessage
#
sub GetImageSaveAs {
my ($self, %args) = @_;
# verify the required parameter 'name' is set
unless (exists $args{'name'}) {
lib/AsposeImagingCloud/ImagingApi.pm view on Meta::CPAN
#
# @param String $name Filename of image. (required)
# @param String $format Save image in another format. By default format remains the same (required)
# @param String $newWidth New Width of the scaled image. (required)
# @param String $newHeight New height of the scaled image. (required)
# @param String $x X position of start point for cropping rectangle (required)
# @param String $y Y position of start point for cropping rectangle (required)
# @param String $rectWidth Width of cropping rectangle (required)
# @param String $rectHeight Height of cropping rectangle (required)
# @param String $rotateFlipMethod RotateFlip method. Default is RotateNoneFlipNone. (required)
# @param String $outPath Path to updated file, if this is empty, response contains streamed image. (optional)
# @param String $folder Folder with image to process. (optional)
# @param String $storage (optional)
# @return ResponseMessage
#
sub GetUpdatedImage {
my ($self, %args) = @_;
# verify the required parameter 'name' is set
unless (exists $args{'name'}) {