C Library Functions  - print_p6 (3)

NAME

print_p6(3f) - [M_pixel:PRINT] print pixel array as a ppm file (LICENSE:PD)

CONTENTS

Synopsis
Description
Options
Example
Author
License

SYNOPSIS

definition:

   subroutine print_p6(filename)
   character(len=*),intent(in) :: filename

DESCRIPTION

This driver makes an P6 PPM(portable pixmap) file. Any existing file will be replaced.

OPTIONS

FILENAME
  name of output file to create.

EXAMPLE

Sample program:

     program demo_print_p6
     use M_pixel, only : prefsize,vinit,ortho2,vexit
     use M_pixel, only : linewidth,circle,color
     use M_pixel, only : print_p6
     implicit none
        call prefsize(40,40)
        call vinit()
        call ortho2(-100.0,100.0,-100.0,100.0)
        call linewidth(400)
        call circle(0.0,0.0,45.0)
        call color(3)
        call circle(0.0,0.0,25.0)
        call print_p6(’demo_print.p6’)
        call vexit()
     end program demo_print_p6

AUTHOR

John S. Urban

LICENSE

Public Domain


Nemo Release 3.1 print_p6 (3) July 22, 2023
Generated by manServer 1.08 from 01dc06a4-36f4-4be7-ad5c-87c878e5b36c using man macros.