file-jpeg-save

Spencer Kimball
Peter Mattis & others

Description

saves files in the JPEG file format

Help

saves files in the lossy, widely supported JPEG format


Type

unknown

Parameters

Type Name Description
PF_INT run-mode The run mode { RUN-INTERACTIVE (0), RUN-NONINTERACTIVE (1) }
PF_IMAGE image Input image
PF_DRAWABLE drawable Drawable to save
PF_VALUE filename The name of the file to save the image in
PF_VALUE raw-filename The name of the file to save the image in
PF_FLOAT quality Quality of saved image (0 <= quality <= 1)
PF_FLOAT smoothing Smoothing factor for saved image (0 <= smoothing <= 1)
PF_INT optimize Use optimized tables during Huffman coding (0/1)
PF_INT progressive Create progressive JPEG images (0/1)
PF_VALUE comment Image comment
PF_INT subsmp Sub-sampling type { 0, 1, 2, 3 } 0 == 4:2:0 (chroma quartered), 1 == 4:2:2 Horizontal (chroma halved), 2 == 4:4:4 (best quality), 3 == 4:2:2 Vertical (chroma halved)
PF_INT baseline Force creation of a baseline JPEG (non-baseline JPEGs can't be read by all decoders) (0/1)
PF_INT restart Interval of restart markers (in MCU rows, 0 = no restart markers)
PF_INT dct DCT method to use { INTEGER (0), FIXED (1), FLOAT (2) }

Return

None