Plan 9 from Bell Labs’s /usr/web/sources/contrib/maht/imgfs/import_ppm.h

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.



typedef struct RGBint RGBint;
struct RGBint {
	int maxcol;
	int width;
	int height;
	int *r;
	int *g;
	int *b;
};

RGBint *readppm(Biobuf *b);
RGBint *free_rgb(RGBint *rgb);
char *import_ppm(Aux *aux, char *fname);

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to webmaster@9p.io.