Edit presets as text

Presets can be exported to plain test file, manually edited, and imported into the program.

There are special commands for that in Presets memu

Write Presets To File - This exports presets as a plain text file. You may manually edit this text in any text editor, edit or rename existed presets, create new presets, remove not needed ones and sort presets in more suitable order. See Presets In Details for more info.

Read Presets From File - Imports presets from plain text file. It reads and replace all presets. If you want to edit only one preset, you have to export all preset, edit one that you want, and import edited file.

To edit the file open in TextEdit application (or in your other favorite text editor), make editions, and save it.

NOTE: Please be sure to save the file in “plain text”/”.txt” format, especially if you are using some complex text editors like Pages or Word.

Here is explanation a preset section with commentaries that you may use for reference:

=== FAF Preset === //Preset Starts Marker
Name:"Name" // Name of preset to show in menu
AspectRatioW:"NNN.NN" // Relative Width
AspectRatioH:"NNN.NN" // Relative Height (Aspect ratio is defined as Width/Height)
FaceCenterX:"NNN.NN" // Horisontal position of face center
FaceCenterY:"NNN.NN" // Vertical position of face center
RelativeHight:"NNN.NN" // Size of crop in relation to size of Face
OutputPixelWidth:"NNN" // Fixed output width (Integer value)
Straighten:"0" // Strigthen face vertically: 1 = YES, 0 = NO
Tilt:"NNN.NN" // Additional tilt angle
CenterXMode:"0" // Center picture over plain color background: 0 = NO, 1 - Center by head, 2 - Center by figure
FindHeadTop:"0" // Find head top point over plain color background: 1 = YES, 0 = NO
OversizeMode:"0" // Shrink oversized crops to image bounds
#OversizeMode:"0" - uses default mode defined in preferences
#OversizeMode:"1" - override defaults and allow oversize
#OversizeMode:"2" - override defaults and shrink to fit
NameSuffix:"" // Reserved for future use
NamePrefix:"" // Reserved for future use
OutputLayout:"" // Reserved for future use
AbsoluteHight:"" // Reserved for future use
MaskFile:"Name of file" // Path and Name of overlay mask file
MaskFaceLeft:"NNN" // Distance (pixels) from left side of mask to left of inserted image
MaskFaceBottom:"NNN" // Distance (pixels) from bottom of mask to bottom of inserted image
InnerGuidesXPix:"NNN.NN" // Inner guides horizontal inset
InnerGuidesYPix:"NNN.NN" // Inner guides vertical inset
StaticGuidesHorizontal:"0.NN";"0.NN";..."0.NN"; // Horizontal positions of static guides
StaticGuidesVertical:"0.NN";"0.NN";..."0.NN"; // Vertical positions of static guides

Note: All values must be enclosed in straight double quoted marks - like that: "value"

Commentary lines starts with # character as in #OversizeMode: lines above.

Below is a real preset.

=== FAF Preset ===
Name:"3x4 ID Face (Straighten)"
AspectRatioW:"3.000000"
AspectRatioH:"4.000000"
FaceCenterX:"0.500000"
FaceCenterY:"0.550000"
RelativeHight:"1.700000"
AbsoluteHight:"1000.000000"
InnerGuidesXPix:"32.000000"
InnerGuidesYPix:"16.000000"
OutputPixelWidth:"0"
Straighten:"1"
Tilt:"0.000000"
CenterXMode:"0"
FindHeadTop:"0"
OversizeMode:"0"
NameSuffix:""
NamePrefix:""
OutputLayout:"0"
MaskFile:""
MaskFaceLeft:"0.000000"
MaskFaceBottom:"0.000000"
StaticGuidesHorizontal:"0.800000";"0.500000";"0.200000";
StaticGuidesVertical:"0.300000";"0.500000";"0.700000";