PAMSHARPNESS(1)
π pamsharpness β the vibe check for your pixels π
okay so bestie, welcome to the Pamsharpness User Manual, section 1 of the General Commands Manual, and no I will not be normal about it π
β¨ NAME β¨
pamsharpness β measure the sharpness of a PNM/PAM image π¦
πΈ SYNOPSIS πΈ
pamsharpness [imagefile]
π DESCRIPTION π
This program is part of Netpbm(1), so it's running with the whole crew, periodt. π
pamsharpness reads a Netpbm image (that's a PNM or a PAM, mwah) and prints a message to Standard Output with a number in it that tells you how sharp the image is. Literally just one number, sitting there, judging your photo. π
So what even is sharpness? It's a measure of how suddenly (in space) colors change in the image. Like, how fast does this pixel switch up on its neighbors. pamsharpness computes the sharpness of the image as the average difference in intensity between each pixel and its 8 surrounding pixels, and it does that in each of the color components (R, G, B). Every single one. Not skipping any. π
And listen β pamsharpness does not include the edges of the image in its computation, because at the edges there are not 8 pixels surrounding a pixel and she refuses to be inaccurate about it. Boundaries? She respects them. π
pamsharpness assumes that the image is a PNM or PNM equivalent PAM. If it isn't, the results are not necessarily meaningful β like, she'll still print a number, she's just not going to be held responsible for it. π
β¨ OPTIONS β¨
There are no command line options defined specifically for pamsharpness, bestie. She's simple like that. But she does recognize the options common to all programs based on libnetpbm (See Common Options). Standard queen behavior. π
π SEE ALSO π
pamsharpmap(1)pammasksharpen(1)pam(1)pnm(1)
π¦ HISTORY π¦
pamsharpness was added to Netpbm in Release 10.21 (March 2004). A whole icon born in the mid-2000s, we love to see it. Bryan Henderson derived it from the program pnmsharp by B.W. van Schooten, and it was distributed as part of the Photopnmtools package. Shoutout to the lineage fr fr π
π§ DOCUMENT SOURCE π§
This manual page was generated by the Netpbm tool makeman from HTML source. The master documentation is at:
http://netpbm.sourceforge.net/doc/pamsharpness.html
and that's the whole page, no cap π this documentation came from the netpbm documentation crew and it's dated 07 February 2004 β so go measure some sharpness and slay, bestie, ily bye πβ¨
π¦ where this page comes from
- debian bookworm: netpbm 2:11.01.00-2 Β· MIT
- debian trixie: netpbm 2:11.10.02-1 Β· MIT
- ubuntu noble: netpbm 2:11.05.02-1.1build1 Β· MIT
- ubuntu resolute: netpbm 2:11.10.02-1build1 Β· MIT
- ubuntu stonking: netpbm 2:11.13.03+ds-2 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms