Lines Matching defs:alpha
52 BOOL pnm2png (FILE *pnm_file, FILE *png_file, FILE *alpha_file, BOOL interlace, BOOL alpha);
67 BOOL alpha = FALSE;
80 alpha = TRUE;
85 fprintf (stderr, "Error: alpha-channel file %s does not exist\n",
143 if (pnm2png (fp_rd, fp_wr, fp_al, interlace, alpha) == FALSE)
154 /* close alpha file */
155 if (alpha)
178 fprintf (stderr, " -a[lpha] <file>.pgm read PNG alpha channel as pgm-file\n");
186 BOOL pnm2png (FILE *pnm_file, FILE *png_file, FILE *alpha_file, BOOL interlace, BOOL alpha)
272 /* read header of PGM file with alpha channel */
274 if (alpha)
316 } /* end if alpha */
318 /* calculate the number of channels and store alpha-presence */
362 if (alpha) /* read alpha-channel from pgm file */
375 } /* if alpha */