fortplot
fortplot Documentation
Source Files
Modules
Procedures
Abstract Interfaces
Derived Types
Programs
fortplot_png_encoder
Module
23 statements
Source File
fortplot_png_encoder.f90
fortplot_png_encoder
Contents
Subroutines
bitmap_to_png_buffer
Uses
iso_fortran_env
Subroutines
public subroutine
bitmap_to_png_buffer
(bitmap, width, height, buffer)
Convert 3D RGB bitmap to PNG buffer format with filter bytes
Arguments
Type
Intent
Optional
Attributes
Name
integer(kind=1),
intent(in)
::
bitmap
(:,:,:)
integer,
intent(in)
::
width
integer,
intent(in)
::
height
integer(kind=1),
intent(out)
::
buffer
(:)