Scripting API

<<Pentagon Main Index PhotoFilter>>
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

PerspectiveTransform

Script Name: PerspectiveTransform
Name: PerspectiveCorrection
Library: ToolStandard
Description: Perspective correction of an image
Status bar text: Perspective Correction Tool: Use to correct perspective distortion in images.
Tool tip text: Perspective Correction Tool
Undo text: Perspective Correction
 
Parameter Repository:
NameScript NameType Description Supports None Default Minimum Maximum
Crop ImageCropImageEnumeration (Boolean)Crops image to the largest possible rectangle without introducing backgroundNoTrue
Handle 1Handle1PointDefines first point of perspective correctionNo(0.2,0.2)
Handle 2Handle2PointDefines second point of perspective correctionNo(0.8,0.2)
Handle 3Handle3PointDefines third point of perspective correctionNo(0.8,0.8)
Handle 4Handle4PointDefines fourth point of perspective correctionNo(0.2,0.8)
Background Fill MaterialBackgroundMaterialParameter RepositoryThe material used for filling newly exposed areas of the background layerYes
General SettingsGeneralSettingsParameter RepositoryContains parameters that control the execution of the command.No
 
Command Attributes:
IsExternal: true
IsUndoable: true
ProcessChanges: true
FinalizeTransient: true
 
Resource Attributes:
DlgHasPresets: true