Reduce image quality

From UBot Studio
(Difference between revisions)
Jump to: navigation, search
Line 1: Line 1:
This command will resize an image.
+
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 file being resized.  
+
'''Input Image File:''' The image the quality is being reduced on.
  
'''Output Image File:''' The resulting output resized image.
+
'''Output Image File:''' The resulting output image with quality reduced.
  
'''Quality:''' The new width for the input image file.
+
'''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 resize the input image into the specified dimensions.
+
Running the script will reduce the quality of the given image by dimensions, width, height, and resolution.
  
'''Input Image'''
 
  
[[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.


Origcomp.jpg

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox