From 1454d461f029d14e89027f65b4cdae974e220546 Mon Sep 17 00:00:00 2001 From: giraffedata Date: Tue, 20 Feb 2024 18:34:20 +0000 Subject: miscellaneous update git-svn-id: http://svn.code.sf.net/p/netpbm/code/userguide@4844 9d0c8265-081b-0410-96cb-a4ca84ce46f8 --- pamcut.html | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/pamcut.html b/pamcut.html index 1bbaa0da..13e96c2f 100644 --- a/pamcut.html +++ b/pamcut.html @@ -35,6 +35,8 @@ pamcut - cut a rectangle out of a PAM, PBM, PGM, or PPM image [-cropbottom numrows] +[-reportonly] + [-verbose] [left top width height] @@ -189,6 +191,41 @@ on it. You can use options to have the subject image in the center of the frame or against any edge and make the padding any color (the padding color is the color of the background image). +
-reportonly +
+ This causes pamcut to write to Standard Output a description of the + cutting it would have done instead of producing an output image. See + below for a description of this output and ways + to use it. + +

That description is one line of text, containing 6 decimal numbers of + pixels, separated by spaces: + +

    +
  1. column number of left cut +
  2. column number of right cut +
  3. row number of top cut +
  4. row number of bottom cut +
  5. output width +
  6. output height +
+ +

The column number of the left cut is the column number in the input image +of the leftmost column of the output image. for the right cut, it is for +the rightmost column of the output. Top and bottom are analogous. + +

The column and row numbers can be negative. This means you +specified -pad and pamcut would have added padding there. + +

Example: +

+    
+      4 3 -1 2 100 100
+    
+  
+ +

This option was new in Netpbm 11.06 (March 2024). +

-verbose
-- cgit 1.4.1