It seems that the ExportImage function in the SDK has a bug. If I try to save with say the jpeg image filter and if the surface has an alpha channel, then the image will not be saved.
I know the filter works because I can save to the format if the surface does not contain an alpha channel, but as soon as I add an alpha channel, the image does not get saved.
If ExportImage can not be fixed then perhaps there should be a way to determine if a specific filter can handle alpha channels and if not then I could take action to remove the alpha channel from a temp surface and save that.
Thanks.
