Anonymous
The Set File Format operation is an operation plug-in, which works with raster images and sets the default parameters for saving the file. That means the next time you attempt to save a file, the file format and optional compression properties set by this operation will be used.
GUID: CE490E68-3571-4736-84A1-7AF7E9270938
Important: the configuration depends on the image codecs actually installed. Because the parameter names are composed and contain the \ character, it is impossible to use the simplified syntax when setting them from JavaScript.
Parameter name | Type | Default | Value | Note |
FormatID | integer | N/A | 0x20474e50=PNG 0x4B32504A=JPEG200 0x2043504A=JPEG2000Codestream 0x2047504A=JPG 0x20464947=GIF 0x424d5020=BMP 0x52524920=RRI | |
FormatID\Format | integer | 32 or 24 | 1, 24, 32 | bits per pixel, only valid for BMP |
FormatID\MaxColors | int | 256 | 2-256 | only valid for GIF |
FormatID\Dithering | bool | true | only valid for GIF | |
FormatID\Interlacing | bool | false | only valid for GIF | |
FormatID\Metadata | integer | 1 | 0=remove, 1=keep, 2=update | only valid for JPG; update means that EXIF thumbnail, image size and resolution will be updated during saving |
FormatID\Lossless | integer | 2 | 0=disabled, 1=no rotation, 2=enabled | only valid for JPG |
FormatID\Quality | integer | 85 | 1-100 | only valid for JPG |
FormatID\Chroma | integer | 0 | 0=unknown, 1=1x1, 3=1x2, 9=2x1, 11=2x2 | only valid for JPG |
Find out how Vista icons differ from XP icons.
See how RealWorld Icon Editor handles Vista icons.