The sample source codes on this page will demonstrate you how to make SWF to PNG large size in C#. SWF to PNG large size in C# can be implemented with ByteScout SWF To Video SDK. ByteScout SWF To Video SDK is the SDK that is capable of converting SWF macromedia files into WMV and AVI video. Supports dynamic flash movies, can transmit variable values. Options to change output video size, framerate, quality are available.
You will save a lot of time on writing and testing code as you may just take the code below and use it in your application. Follow the instruction from the scratch to work and copy and paste code for C# into your editor. You can use these C# sample examples in one or many applications.
On our website you may get trial version of ByteScout SWF To Video SDK for free. Source code samples are included to help you with your C# application.
On-demand (REST Web API) version:
Web API (on-demand version)
On-premise offline SDK for Windows:
60 Day Free Trial (on-premise)
// x64 IMPORTANT NOTE: set CPU to x86 to build in x86 mode. using System.Diagnostics; using BytescoutSWFToVideo; namespace SwfToPng { class Program { static void Main(string[] args) { // Create an instance of SWFToVideo ActiveX object SWFToVideo converter = new SWFToVideo(); // Set debug log //converter.SetLogFile("log.txt"); // Register SWFToVideo converter.RegistrationName = "demo"; converter.RegistrationKey = "demo"; // Enable trasparency - set BEFORE setting swf filename converter.RGBAMode = true; // set input SWF file converter.InputSWFFileName = "Shapes.swf"; // Select 20th frame converter.StartFrame = 20; converter.StopFrame = 20; // set output large image size converter.OutputWidth = 2500; converter.OutputHeight = 2500; // Run conversion converter.ConvertToPNG("result.png"); // release resources System.Runtime.InteropServices.Marshal.ReleaseComObject(converter); converter = null; // Open the result in default application Process.Start("result.png"); } } }
60 Day Free Trial or Visit ByteScout SWF To Video SDK Home Page
Explore ByteScout SWF To Video SDK Documentation
Explore Samples
Sign Up for ByteScout SWF To Video SDK Online Training
Get Your API Key
Explore Web API Docs
Explore Web API Samples
60 Day Free Trial or Visit ByteScout SWF To Video SDK Home Page
Explore ByteScout SWF To Video SDK Documentation
Explore Samples
Sign Up for ByteScout SWF To Video SDK Online Training
Get Your API Key
Explore Web API Docs
Explore Web API Samples