mirror of
https://github.com/rosenbjerg/FFMpegCore.git
synced 2024-11-10 08:34:12 +01:00
Move extension method from Bitmap to Image
Former-commit-id: 6882284593
This commit is contained in:
parent
fdd2d2b6c3
commit
d2ed98ee26
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@ namespace FFMpegCore.Extend
|
||||||
{
|
{
|
||||||
public static class BitmapExtensions
|
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";
|
var destination = $"{Environment.TickCount}.png";
|
||||||
poster.Save(destination);
|
poster.Save(destination);
|
||||||
|
|
Loading…
Reference in a new issue