| Home
|
|
|
Image Converter Plus command line syntax :: Add operations :: CanvasThis operation is used to change image size without scaling. Image size can be reduced by cropping its edges according to the selected algorithm, or increased by adding a border of the specified color. The operation settings are adjusted with the help of the following parameters.
widthWidth parameter specifies resulting image width, or width of the added border (in pixels) regarding the value of relative size option parameter. Its allowed values are whole positive numbers from 1 to 20000. The default value is: 0. Example:-oper Canvas width:200 heightHeight parameter specifies resulting image height, or height of the added border (in pixels) regarding the value of relative size option parameter. Its allowed values are whole positive numbers from 1 to 20000. The default value is: 0. Example:-oper Canvas heigth:100 relativeRelative parameter specifies operation mode. Its allowed values are:
The default value is: no. Example:-oper Canvas relative:yes anchorAnchor parameter specifies sides of image cropping/bordering. Its allowed values are:
The default value is: center. Example:-oper Canvas anchor:bottom colorColor parameter specifies border color. The color is specified in RGBA mode. color:"r:X1,g:X2,b:X3,a:X4" where X1, X2, X3, X4, are whole positive numbers from 0 to 255. The default value is: "r:255,g:255,b:255,a:255" (transparent). Example:-oper Canvas color:"r:0,g:255,b:0,a:100" ICPCL.exe -convertto bmp -source "C:\Original files" -dest "C:\Converted files" -oper Canvas width:100 height:200 relative:yes anchor:bottom_left color:"r:0,g:0,b:0,a:0" tips
|
||