Searched refs:scale_to_short (Results 1 – 1 of 1) sorted by relevance
3140 scale_to_short; in ReadOnePNGImage() local3142 scale_to_short = 65535L/((1UL << ping_file_depth)-1); in ReadOnePNGImage()3145 transparent_color.red= scale_to_short*ping_trans_color->red; in ReadOnePNGImage()3146 transparent_color.green= scale_to_short*ping_trans_color->green; in ReadOnePNGImage()3147 transparent_color.blue= scale_to_short*ping_trans_color->blue; in ReadOnePNGImage()3148 transparent_color.alpha= scale_to_short*ping_trans_color->gray; in ReadOnePNGImage()