Skip to content

PGMLib is a C Library for working with Pixel Gray Map Images (PGM files)

License

Notifications You must be signed in to change notification settings

joshimoo/PGMLib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PGMLib

PGMLib is a C Library for working with Pixel Gray Map Images (PGM files)

Build Status

Design Decisions

  • Used PGM Format for kernel files as well, that way the user can load and apply custom kernels via pgm files
  • Always allocate a new output pgm struct, this is so I can easily add layered filter support (think photoshop layers)
  • Flexible PGM Parser, so that we can also load double based kernels or pgm files

Examples

Edges example usage: ./edges src.pgm out.pgm

Median example usage: ./median src.pgm out.pgm filterSize

Blur example usage: ./blur src.pgm out.pgm

Sharpen example usage: ./sharpen src.pgm out.pgm

Disclaimer

Published under the MIT License.

About

PGMLib is a C Library for working with Pixel Gray Map Images (PGM files)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages