pnmcut
From DavinciWiki
(Difference between revisions)
m (Pnmcut moved to pnmcut) |
|||
Line 1: | Line 1: | ||
− | {{DavinciWiki_Function | + | {{DavinciWiki_Function| |
− | [[ | + | Cut a rectangle out of a PBM, PGM, or PPM image |
+ | | | ||
+ | Arguments: The image and start and size parameters | ||
+ | |||
+ | Return Value: An image cut out of the original | ||
+ | | | ||
+ | [[Syntax]]: pnmcut(object=VAR, x=INT, y=INT, z=INT, width=INT, height=INT, depth=INT) | ||
+ | | | ||
+ | dv> a | ||
+ | 1441x2141x3 array of byte, bip format [9,255,543 bytes] | ||
+ | |||
+ | dv> b=pnmcut(a,300,600,1,200,200,3) | ||
+ | 200x200x3 array of byte, bip format [120,000 bytes] | ||
+ | | | ||
+ | [[Image: blendpic3.png]] [[Image: pnmcut.png]] | ||
+ | | | ||
+ | | | ||
+ | *[[pnmcrop]] | ||
+ | | | ||
+ | | | ||
+ | }} | ||
[[category:Functions]] | [[category:Functions]] | ||
+ | [[category:Davinci Core]] |
Revision as of 10:05, 9 March 2006
Contents: Description, Arguments, Usage, Examples, Images, Related Functions Supported Under Version: >1.69 Current Davinci Version: 2.27 64-bit Safe: No
Description Cut a rectangle out of a PBM, PGM, or PPM image
Arguments and Return Values Arguments: The image and start and size parameters Return Value: An image cut out of the original
Usage Syntax: pnmcut(object=VAR, x=INT, y=INT, z=INT, width=INT, height=INT, depth=INT)
Examples dv> a 1441x2141x3 array of byte, bip format [9,255,543 bytes] dv> b=pnmcut(a,300,600,1,200,200,3) 200x200x3 array of byte, bip format [120,000 bytes]
|
DavinciWiki Mini-Nav Bar Contents
Contact Developers
All other topics
Related Functions
Recent Core Changes Modified On: 08-26-2006 |