added bitstream function to convert to ARGB