I have a 16 bit luminance value stored in two bytes, and i want to convert that to R, G, and B values. I have two questions: how do i convert those two bytes to a short, and assuming that the hue and saturation is 0, how do i turn that short into 8 bits per component RGB values?
(apologies if this sounds like a dumb question, i just can't figure it out. The Convert class doesn't have an option to take two bytes and output a short.)