Scripting API

<<ResetMaterials Main Index ResizeCanvas>>
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

Resize

Script Name: Resize
Name: Resize
Library: CmdBase2
Description: Resizes the image.
Status bar text: Change the size of the image
Tool tip text: Resize
Undo text: Resize
 
Parameter Repository:
NameScript NameType Description Supports None Default Minimum Maximum
Aspect RatioAspectRatioRealAspect ratio of the image.Yes1.00.032767.0
CurrentDimensionUnitsCurrentDimensionUnitsBooleanUnits in which to display the current dimensions of the image.No0falsetrue
CurrentResolutionCurrentResolutionUnitsBooleanUnits in which to display the current resolution of the image.No0falsetrue
HeightHeightRealCurrent height of the image.Yes0.00.00.0
MaintainAspectRatioMaintainAspectRatioBooleanWhether or not to maintain the aspect ratio of the image.No0falsetrue
ResampleResampleBooleanWhether or not to resample the image.No0falsetrue
ResampleTypeResampleTypeBooleanType of resampling to be done on the image.No0falsetrue
ResizeAllLayersResizeAllLayersBooleanWhether or not to resize all layers of the image.No0falsetrue
ResolutionResolutionRealCurrent resolution of the image.No200.01.032767.0
WidthWidthRealCurrent width of the image.Yes0.00.00.0
SharpnessSharpnessValueIntegerSharpness value to be used when resizing the imageNo500100
Advanced settingsAdvancedModeBooleanDEV : Advanced settingsNo0falsetrue
ResizeTypeIntegerYes000
OneSide_TypeIntegerYes000
OneSide_LongWidthRealYes0.00.00.0
OneSide_ShortHeightRealYes0.00.00.0
OneSide_UnitBooleanNo0falsetrue
OneSide_ActiveIntegerNo00100
General SettingsGeneralSettingsParameter RepositoryContains parameters that control the execution of the command.No
 
Command Attributes:
IsExternal: true
IsUndoable: true
ProcessChanges: true
FinalizeTransient: true
This command is safe for execution in a processing thread.: true
 
Resource Attributes:
HasWinPlacement: true
HelpID:32977
IsEditable: true