ByteScout Image To Video SDK - C# - 70 Advanced 3D Transition Effects - ByteScout

ByteScout Image To Video SDK – C# – 70 Advanced 3D Transition Effects

  • Home
  • /
  • Articles
  • /
  • ByteScout Image To Video SDK – C# – 70 Advanced 3D Transition Effects

70 advanced 3d transition effects in C# with ByteScout Image To Video SDK

Write code in C# to make 70 advanced 3d transition effects with this How-To tutorial

Today you are going to learn how to 70 advanced 3d transition effects in C#. ByteScout Image To Video SDK was made to help with 70 advanced 3d transition effects in C#. ByteScout Image To Video SDK is the SDK that is designed to generate video slideshow with 100+ 2d and 3D transition effects. Can generate WMV, AVI, WEBM video file with adjustable quality, framerate, output video size.

C#, code samples for C#, developers help to speed up the application development and writing a code when using ByteScout Image To Video SDK. In order to implement this functionality, you should copy and paste code below into your app using code editor. Then compile and run your application. Use of ByteScout Image To Video SDK in C# is also explained in the documentation included along with the product.

ByteScout Image To Video SDK free trial version is available for download from our website. Free trial also includes programming tutorials along with source code samples.

Try ByteScout Image To Video SDK today: Get 60 Day Free Trial or sign up for Web API

Program.cs
      
using System; using System.Diagnostics; using BytescoutImageToVideo; namespace TransitionEffects { class Program { static void Main(string[] args) { try { Console.WriteLine("Converting JPG slides to video with 70 advanced 3D effects variations, please wait..."); // Create BytescoutImageToVideoLib.ImageToVideo object instance ImageToVideo converter = new ImageToVideo(); // Activate the component converter.RegistrationName = "demo"; converter.RegistrationKey = "demo"; // Enable transition effects for the first first slide converter.UseInEffectForFirstSlide = true; converter.Slides.DefaultSlideDuration = 1000; converter.Slides.DefaultSlideEffectDuration = 500; bool bChangeSlide = true; // temporary variable to change slides // now try all 70 advanced 3D transition effects from 70 to 140 for (int i = 67; i < 140; i++) { // Add slide image, set the duration Slide slide = null; if (!bChangeSlide) { slide = converter.AddImageFromFileName("..\\..\\..\\..\\slide1.jpg"); } else { slide = converter.AddImageFromFileName("..\\..\\..\\..\\slide2.jpg"); } bChangeSlide = !bChangeSlide; // switch to use another slide next tim slide.InEffect = (TransitionEffectType)i; // effect index } // Set output video size converter.OutputWidth = 320; converter.OutputHeight = 240; // Set output video file name converter.OutputVideoFileName = "result.wmv"; // Run the conversion converter.RunAndWait(); // Release resources System.Runtime.InteropServices.Marshal.ReleaseComObject(converter); converter = null; // Open the result video file in default media player Process.Start("result.wmv"); Console.WriteLine("Done. Press any key to continue..."); Console.ReadKey(); } catch (Exception e) { Console.WriteLine("Error: " + e.ToString()); Console.WriteLine("\nPress any key to exit."); Console.ReadKey(); } } } }

Try ByteScout Image To Video SDK today: 60 Day Free Trial (on-premise version) or sign up for Web API (on demand version)

VIDEO

ON-PREMISE VERSION

Get 60 Day Free Trial or Visit ByteScout Image To Video SDK page

Explore ByteScout Image To Video SDK documentation

WEB API

Sign Up for free Web API key

Explore Web API Documentation

Tutorials:

prev
next