I'm having a hard time figuring out how to retrieve the components of the RGB vector of a pixel in Julia. For example, if I have an image I call image and I pick a pixel, say image[230, 1566], then if I wanted, say, the green component of the RGB vector, my inclination is to just do RGB(image[230, 1566]).g. However, such a thing would return a string like 0.778N0f8. I know that means "Normalized with 8 fractional bits," but this is not what I want. I simply want the actual float as a number so I can perform other operations on it. Any idea how I can get around this? Thanks in advance!