After shooting the WPF Effects Library interview with David Teitlebaum and realizing we didn't show all of the effects and any of the transitions, we put together this short video. Very little dialogue here to distract from the beauty of the Effects and Transitions. Cue the music...
thank you!
rikimiki12 3 years ago
You can create a RenderTargetBitmap of the Visual with your ShaderEffect applied to it. Once you have the RTB saving it to an image file is pretty straightforward. A .jpg, for example, would require you to simply create a JpegBitmapEncoder, create a BitmapFrame from the RTB and add it to the encoder's frames, then Save() it to a file stream.
adkinn 3 years ago
can you use the shaders to alter an image then save it back altered (eventually in more than 8 bits per pixel)?
or it's just an "overlay" effect for display purposes.
rikimiki12 3 years ago