Lines Matching defs:matte
37 * Read SUN image: "sun -matte <bool> -verbose <bool>"
38 * Write SUN image: "sun -matte <bool> -verbose <bool> -compression <type>"
40 * -matte <bool>: If set to false, a matte (alpha) channel is ignored
819 int *comp, int *verb, int *matte);
830 static int ParseFormatOpts (interp, format, comp, verb, matte)
835 int *matte;
837 static const char *const sunOptions[] = {"-compression", "-verbose", "-matte"};
844 *matte = 1;
906 *matte = 1;
910 *matte = 0;
912 Tcl_AppendResult(interp, "invalid alpha (matte) mode \"", verbose,
1039 int compr, verbose, matte;
1042 if (ParseFormatOpts(interp, format, &compr, &verbose, &matte) != TCL_OK) {
1140 case 32: /* True color with matte channel */
1144 nchan, sh.ras_type, matte))
1219 int compr, verbose, matte; /* Format options */
1222 if (ParseFormatOpts(interp, format, &compr, &verbose, &matte) != TCL_OK) {
1240 nchan = ((matte && alphaOffset)? 4: 3);
1270 /* Have a matte channel and write it. */
1296 /* Have a matte channel and write it. */