#ifndef lint static const char RCSid[] = "$Id: pcompos.c,v 2.38 2019/07/19 17:37:56 greg Exp $"; #endif /* * pcompos.c - program to composite pictures. * * 6/30/87 */ #include #include "copyright.h" #include "rtio.h" #include "platform.h" #include "paths.h" #include "rterror.h" #include "color.h" #include "resolu.h" #ifdef getc_unlocked /* avoid horrendous overhead of flockfile */ #undef getc #define getc getc_unlocked #endif #define MAXFILE 1024 #define HASMIN 1 #define HASMAX 2 /* output picture size */ int xsiz = 0; int ysiz = 0; /* input dimensions */ int xmin = 0; int ymin = 0; int xmax = 0; int ymax = 0; COLR bgcolr = BLKCOLR; /* background color */ int labelht = 24; /* label height */ int checkthresh = 0; /* check threshold value */ char StandardInput[] = ""; char Command[] = ""; char Label[] = "