Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

ps_place_image(3) [php man page]

PS_PLACE_IMAGE(3)							 1							 PS_PLACE_IMAGE(3)

ps_place_image - Places image on the page

SYNOPSIS
bool ps_place_image (resource $psdoc, int $imageid, float $x, float $y, float $scale) DESCRIPTION
Places a formerly loaded image on the page. The image can be scaled. If the image shall be rotated as well, you will have to rotate the coordinate system before with ps_rotate(3). PARAMETERS
o $psdoc - Resource identifier of the postscript file as returned by ps_new(3). o $imageid - The resource identifier of the image as returned by ps_open_image(3) or ps_open_image_file(3). o $x - x-coordinate of the lower left corner of the image. o $y - y-coordinate of the lower left corner of the image. o $scale - The scaling factor for the image. A scale of 1.0 will result in a resolution of 72 dpi, because each pixel is equivalent to 1 point. RETURN VALUES
Returns TRUE on success or FALSE on failure. SEE ALSO
ps_open_image(3), ps_open_image_file(3). PHP Documentation Group PS_PLACE_IMAGE(3)

Check Out this Related 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)
Man Page