Move extension method from Bitmap to Image

This commit is contained in:
Malte Rosenbjerg 2021-03-15 22:48:43 +01:00
parent cbf241ca3c
commit 6882284593

View file

@ -6,7 +6,7 @@ namespace FFMpegCore.Extend
{
public static class BitmapExtensions
{
public static bool AddAudio(this Bitmap poster, string audio, string output)
public static bool AddAudio(this Image poster, string audio, string output)
{
var destination = $"{Environment.TickCount}.png";
poster.Save(destination);