ByteScout SWF To Video SDK - C# - SWF to PNG with Transparency - ByteScout
Announcement
Our ByteScout SDK products are sunsetting as we focus on expanding new solutions.
Learn More Open modal
Close modal
Announcement Important Update
ByteScout SDK Sunsetting Notice
Our ByteScout SDK products are sunsetting as we focus on our new & improved solutions. Thank you for being part of our journey, and we look forward to supporting you in this next chapter!

ByteScout SWF To Video SDK – C# – SWF to PNG with Transparency

  • Home
  • /
  • Articles
  • /
  • ByteScout SWF To Video SDK – C# – SWF to PNG with Transparency

SWF to PNG with transparency in C# using ByteScout SWF To Video SDK

SWF to PNG with transparency in C#

The sample source codes on this page will demonstrate you how to make SWF to PNG with transparency in C#. SWF to PNG with transparency in C# can be implemented with ByteScout SWF To Video SDK. ByteScout SWF To Video SDK is the specialized software development kit for programmers who need to add SWF (Flash Macromedia) to video conversion into their app. Supports WMV and AVI video output with sound as can take input flash movies with variables, actionscripts, dynamic files as input. You can control output video size, framerate, video and audio quality.

C#, code samples for C#, developers help to speed up the application development and writing a code when using ByteScout SWF To Video SDK. Follow the instruction from the scratch to work and copy and paste code for C# into your editor. Enjoy writing a code with ready-to-use sample C# codes to add SWF to PNG with transparency functions using ByteScout SWF To Video SDK in C#.

ByteScout SWF To Video SDK is available as free trial. You may get it from our website along with all other source code samples for C# applications.

On-demand (REST Web API) version:
 Web API (on-demand version)

On-premise offline SDK for Windows:
 60 Day Free Trial (on-premise)

Program.cs
      
// x64 IMPORTANT NOTE: set CPU to x86 to build in x86 mode. WHY? Because flash is not supported on x64 platform currently at all 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 - BEFORE setting input file converter.RGBAMode = true; // set input SWF file converter.InputSWFFileName = "circles.swf"; // Select 20th frame converter.StartFrame = 20; converter.StopFrame = 20; // Run conversion converter.ConvertToPNG("result.png"); // Open the result in default application Process.Start("result.png"); } } }

ON-PREMISE OFFLINE SDK

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

ON-DEMAND REST WEB API

Get Your API Key

Explore Web API Docs

Explore Web API Samples

VIDEO

ON-PREMISE OFFLINE SDK

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

ON-DEMAND REST WEB API

Get Your API Key

Explore Web API Docs

Explore Web API Samples

Tutorials:

prev
next