normalize 32-bit image data for 8-bit preview display
in the filter plugin i'm creating my own preview rendering ui and thus not using gFilterRecord->displayPixels. the problem i'm noticing is that when the targeted image is 32-bit, my normalized (low dynamic range) preview image data is considerably darker than the preview that displayPixels shows.
what do i need to do to acheive the exact same color output that displayPixels does before it renders the proxy buffer to the device context? i got kind of close with a gamma correction function, but it's still off.
