Lines Matching refs:num_trans
906 png_bytep trans, int num_trans, png_color_16p trans_values)
922 /* Changed from num_trans to PNG_MAX_PALETTE_LENGTH in version 1.2.1 */
925 if (num_trans <= PNG_MAX_PALETTE_LENGTH)
926 png_memcpy(info_ptr->trans, trans, (png_size_t)num_trans);
938 if (num_trans == 0)
939 num_trans = 1;
941 info_ptr->num_trans = (png_uint_16)num_trans;