B
Bruno
Hello,
I have a WPF application, and this application has an Image control with a
PixelShader effect applied, but when I try to save it (using
RenderTargetBitmap) the image file is saved entirely in Red, deppending on
the values passed to the shader effect, it's a Brightness and Constrast
effect.
If I remove the Effect from the Image control, it saves ok, but I really
need to save it with the effects applied.
I also have more PixelShader effects in other controls, if I were using only
brightness and contrast, I would make it without using shaders, but I have
more... So I need a solution for this.
Can anyone help?
thanks!
__________ Information from ESET NOD32 Antivirus, version of virus signature database 4133 (20090605) __________
The message was checked by ESET NOD32 Antivirus.
http://www.eset.com
I have a WPF application, and this application has an Image control with a
PixelShader effect applied, but when I try to save it (using
RenderTargetBitmap) the image file is saved entirely in Red, deppending on
the values passed to the shader effect, it's a Brightness and Constrast
effect.
If I remove the Effect from the Image control, it saves ok, but I really
need to save it with the effects applied.
I also have more PixelShader effects in other controls, if I were using only
brightness and contrast, I would make it without using shaders, but I have
more... So I need a solution for this.
Can anyone help?
thanks!
__________ Information from ESET NOD32 Antivirus, version of virus signature database 4133 (20090605) __________
The message was checked by ESET NOD32 Antivirus.
http://www.eset.com