Accessing Optimisation Profiles

  • From the Tools menu, choose Optimisation Profiles

Adding a new Optimisation Profile

  1. Click the Add button. The Add dialogue appears.
  2. Enter the name for the new optimisation profile.
  3. Click OK.

Important

Optimisation Profile definition files created this will require editing to populate required data.

Editing an Optimisation Profile

  1. Click the Edit button. The Edit dialogue appears.
  2. Modify the Optimisation Profile attributes.
  3. Click OK to save the changes.

Important

A dedicated GUI editor is currently not available.

Profile Parameters

Each optimisation profile is defined via a JSON file, containing the following parameters

ArgumentDescription
toolThe executable name for the tool. If no path is included, it is assumed to be in the Windows path.
argumentsThe arguments to pass to the tool
expectedExitCodeThe exit code which indicates the file was processed successfully
workingDirectoryThe working directory for the tool. Leave blank to be set to an appropriate value.

The following tokens can be used in the arguments parameter:

TokenDescription
$(FilePath)The full path filename of the image file
$(FileDir)The full directory name of the image file
$(FileFileName)The name of the image file
$(FileName)The name of the image file, excluding the extension
$(FileExt)The extension of the image file

Example

{
  "tool": "optipng.exe",
  "arguments": "-o7 -strip all \"$(FilePath)\" -preserve",
  "workingDirectory": "",
  "expectedExitCode": 0
}

Deleting an Optimisation Profile

  1. Select an optimisation profile from the list.
  2. Click the Delete button.
  3. Click Yes to delete the optimisation profile.

Note

The file representing the optimisation profile is moved to the Windows Recycle Bin (if enabled) and can be recovered from there.

Renaming an Optimisation Profile

  1. Select an optimisation profile from the list.
  2. Click the Rename button. The Rename dialogue appears.
  3. Enter the new name for the optimisation profile.
  4. Click OK.

Creating an copy of a Optimisation Profile

  1. Select an optimisation profile from the list.
  2. Click the Copy button. The Save As dialogue appears.
  3. Navigate to the folder where you want to move the optimisation profile
  4. Optionally, give the optimisation profile a new name.
  5. Click Save to create the copy.

Moving an Optimisation Profile

  1. Select an optimisation profile from the list.
  2. Click the Move button. The Browse for Folder dialogue appears.
  3. Navigate to the folder where you want to move the optimisation profile
  4. Click Select Folder to move the optimisation profile to the new location.
© 2010-2024 Cyotek Ltd. All Rights Reserved.
Documentation version 1.10 (buildref #65.15928), last modified 2024-06-29. Generated 2024-06-29 13:26 using Cyotek HelpWrite Professional version 6.20.0