Get Image pixel as form of rgb565 by using python