PAMSHARPNESS(1)

πŸ“¦
version 11.13.03 Β· 3 versions
, in debian bookworm, debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking

πŸ’– 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 🌈


πŸ¦‹ 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