Files
Fortraneries/Modules/SpitPGM.md
2026-06-25 06:43:33 +02:00

518 B

SpitPGM

What is a .pgm file ? And what we can do with this module ?

You have a bi-dimensionnal array of integer and you want show those fancy datas as a fancy picture ? So we have a few funcs for doing that..

subroutine spit_as_pgm_16(pic, fname)
    integer, intent(in), dimension (:,:)  ::  pic
    character (len=*), intent(in)         ::  fname

and

subroutine spit_as_pgm_16(pic, fname)
    integer, intent(in), dimension (:,:)  ::  pic
    character (len=*), intent(in)         ::  fname