png - Create a RGB 565 image from python array -
i've got numpy array represents bunch of rgb values. i'd save them rgb 565 png image, i'll use three.js texture. how can using python?
do need write out appropriate 16-bit greyscale image? i.e., convert r, g , b values 5, 6 , 5 bit numbers , add them binary? there better way of doing it? i'v been using pypng far write 8 bit rgb pngs.
Comments
Post a Comment