I am trying to write an app that will generate alpha values for 24-bit TIFF images and save them to 32-bit RGBA TIFF images. So far I have been able to get just about everything working perfectly but I am noticing some odd behavior when adding noon-100% alpha values. For some reason, everything works perfectly when I add the alpha channel as 100% opacity for every pixel but if I put any less than that it draws the image with the specified opacity but with no RGB colour components (ie, it is a black, but semi-transparent, image).
Does anyone know why this is happening or of a way around this problem?
Thanks,
Jeff.