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_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)
Man Page

4 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Binary and hex in unix

not much familiar with binary and hex calculation in script programming.... explaination: binary format control the parameter turned on or off in the program stored in hex mode, the question is: how to change 39e to 19e using the binary calculation(although i don't know the command for... (2 Replies)
Discussion started by: trynew
2 Replies

2. UNIX for Dummies Questions & Answers

instead of psftp?

psftp binary size is about to 300K and I need a smaller one. anyone suggests any idea? (4 Replies)
Discussion started by: zoque
4 Replies

3. OS X (Apple)

Help with blobbing

I am pretty new to scripting and i was wondering if anyone could help me out. Here is the situation. I am trying to make an action folder that when an image is saved to it, the image is automatically moved to a folder based upon the first 4 or 5 integers of the name. image names come in a... (2 Replies)
Discussion started by: kailasgurung
2 Replies

4. UNIX for Advanced & Expert Users

How to determine the encoding of this dd image?

I have extracted a raw data file from a magnetic tape using the dd command Afterwards, I managed to read the extracted data with Bless HexEditor and I found out that at offset 0x200000 there is a sequence of value which originally was stored in a table. I would like to extract this data and... (45 Replies)
Discussion started by: NICEPeppino
45 Replies