The Pixillion executable is installed here: "C:\Program Files\NCH Software\Pixillion\Pixillion.exe"
Usage:
Pixillion.exe [command/conversion property] [parameter/property value]
Examples of usage are found at the bottom of this page.
Command parameters and property values need to be enclosed with double quotation marks (") if they contain spaces.
Commands
Command | Parameter | Description |
-exit | - | Close Pixillion |
-convert | - | Send convert command and wait for Pixillion to finish |
-selectall | - | Set all images in Pixillion's image list to selected |
-selectnone | - | Set all images in Pixillion's image list to unselected |
-removeall | - | Removes all images from Pixillion's image list |
-useinputfolder | - | Equivalent to '-outputfolder "[Same as source image]"' |
-add | image path | Image is added to Pixillion's image list (if not already there) and selected |
-remove | image path | Remove a single image from Pixillion's image list |
-select | image path | Set a single image from Pixillion's image list to selected |
Properties
Property | Valid Entries |
-outputfolder |
|
-outputformat |
|
-scaling |
|
-percent |
|
-longside |
|
-width |
|
-height |
|
-filter |
|
-rotation |
|
-flip |
|
-transparencycolor |
|
-overwrite |
|
-jpeg_quality |
|
-textvisible |
|
-text |
|
-textfont |
|
-textbold |
|
-textitalic |
|
-textunderline |
|
-textcolor |
|
-textbackground |
|
-textalignment |
|
-textoffsetx |
|
-textoffsety |
|
-textsizedimension |
|
-textsizemode |
|
-textsizeabsolute |
|
-textsizerelative |
|
-textopacity |
|
-image |
|
-imagevisible |
|
-imagealignment |
|
-imageoffsetx |
|
-imageoffsety |
|
-imagefilter |
|
-imagesize |
|
-imageopacity |
|
Encoder Settings
These are additional encoder settings for the different output formats.
Encoder Setting | Valid Entries |
-BMP_PixelFormat |
|
-ICO_Preset |
|
-ICO_Formats |
|
-PDF_PaperSize |
|
-PDF_Orientation |
|
-PDF_Margin |
|
-PDF_ScalingMode |
|
-PDF_PositioningMode |
|
-PDF_ImageQuality |
|
-PDF_RotateAutomatically |
|
-PNM_Format |
|
-TIFF_Color |
|
-WMF_Format |
|
-JPEGXR_CompressionMode / -JPEG2000_CompressionMode |
|
-JPEGXR_CompressionQuality / -JPEG2000_CompressionQuality |
|
-PGF_CompressionMode |
|
-PGF_CompressionQuality |
|
-PNG_Color |
|
-WEBP_CompressionMode |
|
-WEBP_CompressionQuality |
|
Examples
Please note examples are written as though the user has navigated to the Pixillion install location in the Command prompt.
Command Line | Description |
Pixillion.exe -removeall -add C:\MyImage.jpg -outputformat PNG -text "Sample Text" -convert | Loads MyImage.jpg, adds watermark text, and saves the result as MyImage.png. |
Pixillion.exe -removeall -add C:\MyInputFolder -outputfolder = C:\MyOutputFolder -outputformat JPG -scaling 1 -width 128 -height 128 -convert -exit | Loads all images found in MyInputFolder, resizes them all to fit in 128x128 pixels, saves them all as JPEG files in MyOutputFolder, and exits Pixillion. |
Pixillion.exe -add "C:\My Other Input Folder\MyImage.png" -outputformat TGA -convert -exit | Loads MyImage.png found in 'My Other Input Folder', and saves the result as MyImage.tga, and exits Pixillion. |