Combine media files C# function

Job ID: 31938236

Budget: $25 – $75 USD

A C# function that is able to combine/overlay 2 media files (PNGs, GIFs & Videos) in one final output file.

e.g.: PNG + PNG => PNG, PNG + GIF => GIF, GIF + PNG = VIDEO

- the output file size (width x height) should be the max values of the input files;
- transparency should remain there;
- a watermark text should be also set over the final output, if requested using function parameters (bool watermark = true).
- the code should be .NET 6 compatible.
- the output can be a MemoryStream or something :)

I already have a function that combines PNGs (Bitmaps) and adds a watermark. I need to extend that to also support GIFs & Videos.
Related categories: .NET C# Programming