Raster Image - Set File Format

Log-in or register.

Raster Image - Set File Format

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.

Internals

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 nameTypeDefaultValueNote
FormatIDintegerN/A0x20474e50=PNG
0x4B32504A=JPEG200
0x2043504A=JPEG2000Codestream
0x2047504A=JPG
0x20464947=GIF
0x424d5020=BMP
0x52524920=RRI
FormatID\Formatinteger32 or 241, 24, 32bits per pixel, only valid for BMP
FormatID\MaxColorsint2562-256only valid for GIF
FormatID\Ditheringbooltrueonly valid for GIF
FormatID\Interlacingboolfalseonly valid for GIF
FormatID\Metadatainteger10=remove, 1=keep, 2=updateonly valid for JPG; update means that EXIF thumbnail, image size and resolution will be updated during saving
FormatID\Losslessinteger20=disabled, 1=no rotation, 2=enabledonly valid for JPG
FormatID\Qualityinteger851-100only valid for JPG
FormatID\Chromainteger00=unknown, 1=1x1, 3=1x2, 9=2x1, 11=2x2only valid for JPG

Recent comments

user icon Anonymous
Select background
Vista & Win 7 icons