using BoltEffect; // Load the image var image = new Bitmap("image.jpg"); // Apply the blur effect with a radius of 10 pixels BoltEffect.Filter.Blur(image, 10); // Save the modified image image.Save("blurred_image.jpg");
using BoltEffect; using FFmpeg.NET; // Load the video with FFmpeg.NET var video = new MediaFile("video.mp4"); // Apply the hue-shift effect with a value of 30 degrees var filter = new VideoFilter("hue=s=30"); var output = new MediaFile("hue_shifted_video.mp4"); await FFmpeg.Conversions.New() .AddStream(video) .AddFilter(filter) .SetOutput(output) .Start(); // Load the modified video with BoltEffect var modifiedVideo = new Video("hue_shifted_video.mp4"); // Play the modified video modifiedVideo.Play();The BoltEffect library is likely to be in the "Bolt" package.