file-ps-save

Peter Kirchgessner <peter@kirchgessner.net>

Description

save image as PostScript docuement

Help

PostScript saving handles all image types except those with alpha channels.


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 width Width of the image in PostScript file (0: use input image size)
PF_FLOAT height Height of image in PostScript file (0: use input image size)
PF_FLOAT x-offset X-offset to image from lower left corner
PF_FLOAT y-offset Y-offset to image from lower left corner
PF_INT unit Unit for width/height/offset. 0: inches, 1: millimeters
PF_INT keep-ratio 0: use width/height, 1: keep aspect ratio
PF_INT rotation 0, 90, 180, 270
PF_INT eps-flag 0: PostScript, 1: Encapsulated PostScript
PF_INT preview 0: no preview, >0: max. size of preview
PF_INT level 1: PostScript Level 1, 2: PostScript Level 2

Return

None