Searched refs:PNGRW_ALPHA_MUST_MATCH (Results 1 – 1 of 1) sorted by relevance
/dports/graphics/pngrewrite/pngrewrite-1.4.0_2/ |
H A D | libpngrewrite.c | 524 #define PNGRW_ALPHA_MUST_MATCH 0 macro 665 …y(ctx,ctx->gray_trns_shade,ctx->gray_trns_shade,ctx->gray_trns_shade,255,PNGRW_ALPHA_MUST_MATCH)) { in pngrw_is_valid_grayscale() 691 …try(ctx,ctx->gray_trns_shade,ctx->gray_trns_shade,ctx->gray_trns_shade,255,PNGRW_ALPHA_MUST_MATCH); in pngrw_create_grayscale_palette() 725 …_pal_entry(ctx,p[0],p[1],p[2],(unsigned char)((ctx->channels==4)?p[3]:255),PNGRW_ALPHA_MUST_MATCH); in pngrw_generate_optimized_image()
|