Reduce image quality
From UBot Studio
(Difference between revisions)
Line 1: | Line 1: | ||
− | This command will | + | This command will reduce the quality of an image by dimensions, width, height, and resolution. |
The command is an [[Image]] command. | The command is an [[Image]] command. | ||
− | '''Input Image File:''' The image | + | '''Input Image File:''' The image the quality is being reduced on. |
− | '''Output Image File:''' The resulting output | + | '''Output Image File:''' The resulting output image with quality reduced. |
− | '''Quality:''' The | + | '''Quality:''' The reduction level of the selected image(for example 50). |
== Example == | == Example == | ||
<pre> | <pre> | ||
− | + | reduceImageQuality("C:\\Users\\Downloads\\Capture.JPG","C:\\Users\\Downloads\\reduceq.jpg",50) | |
</pre> | </pre> | ||
− | Running the script will | + | Running the script will reduce the quality of the given image by dimensions, width, height, and resolution. |
− | |||
− | [[File:.jpg]] | + | [[File:origcomp.jpg]] |
Revision as of 20:56, 1 July 2017
This command will reduce the quality of an image by dimensions, width, height, and resolution.
The command is an Image command.
Input Image File: The image the quality is being reduced on.
Output Image File: The resulting output image with quality reduced.
Quality: The reduction level of the selected image(for example 50).
Example
reduceImageQuality("C:\\Users\\Downloads\\Capture.JPG","C:\\Users\\Downloads\\reduceq.jpg",50)
Running the script will reduce the quality of the given image by dimensions, width, height, and resolution.