Move extension method from Bitmap to Image

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

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);