Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

ps_place_image(3) [debian man page]

PS_PLACE_IMAGE(3)					     Library Functions Manual						 PS_PLACE_IMAGE(3)

NAME
PS_place_image -- Places image on the page SYNOPSIS
#include <pslib.h> void PS_place_image(PSDoc *psdoc, int imageid, float x, float y, float scale) DESCRIPTION
Places a formerly loaded image at the current point on the page. The image is scaled if x and y have values unequal to 1. The image data is ascii85 encoding which is only 20 percent larger than the raw binary data of the image (The binary data is not equal to the file size but somewhat smaller, because the file also contains an image header.). You can turn on hex encoding by setting the parameter `imageencoding' to `hex'. Hex encoding doubles the size of the image data. Since version 0.4.5 of pslib images are fully read and saved into the output postscript file when they are opened with PS_open_image(3) or PS_open_image_file(3). Later calls of PS_place_image(3) just replay the image. This behaviour can be turned off by setting the parameter `imagereuse' to false with PS_set_parameter(3). If image reuse is not turned of, this function may be called within a template. SEE ALSO
PS_open_image(3), PS_open_image_file(3) AUTHOR
This manual page was written by Uwe Steinmann uwe@steinmann.cx. PS_PLACE_IMAGE(3)

Check Out this Related Man Page

PS_GET_PARAMETER(3)							 1						       PS_GET_PARAMETER(3)

ps_get_parameter - Gets certain parameters

SYNOPSIS
string ps_get_parameter (resource $psdoc, string $name, [float $modifier]) DESCRIPTION
Gets several parameters which were directly set by ps_set_parameter(3) or indirectly by one of the other functions. Parameters are by def- inition string values. This function cannot be used to retrieve resources which were also set by ps_set_parameter(3). The parameter $name can have the following values. o fontname - The name of the currently active font or the font whose identifier is passed in parameter $modifier. o fontencoding - The encoding of the currently active font. o dottedversion - The version of the underlying pslib library in the format <major>.<minor>.<subminor> o scope - The current drawing scope. Can be object, document, null, page, pattern, path, template, prolog, font, glyph. o ligaturedisolvechar - The character which dissolves a ligature. If your are using a font which contains the ligature `ff' and `|' is the char to dissolve the ligature, then `f|f' will result in two `f' instead of the ligature `ff'. o imageencoding - The encoding used for encoding images. Can be either hex or 85. hex encoding uses two bytes in the postscript file each byte in the image. 85 stand for Ascii85 encoding. o linenumbermode - Set to paragraph if lines are numbered within a paragraph or box if they are numbered within the surrounding box. o linebreak - Only used if text is output with ps_show_boxed(3). If set to TRUE a carriage return will add a line break. o parbreak - Only used if text is output with ps_show_boxed(3). If set to TRUE a carriage return will start a new paragraph. o hyphenation - Only used if text is output with ps_show_boxed(3). If set to TRUE the paragraph will be hyphenated if a hypen dic- tionary is set and exists. o hyphendict - Filename of the dictionary used for hyphenation pattern. PARAMETERS
o $psdoc - Resource identifier of the postscript file as returned by ps_new(3). o $name - Name of the parameter. o $modifier - An identifier needed if a parameter of a resource is requested, e.g. the size of an image. In such a case the resource id is passed. RETURN VALUES
Returns the value of the parameter or FALSE on failure. SEE ALSO
ps_set_parameter(3). PHP Documentation Group PS_GET_PARAMETER(3)
Man Page