Cannot Convert from 'System.Drawing.Imaging.ImageFormat' from System.Drawing Assembly to 'System.Drawing.Imaging.ImageFormat' from Aspose.Slides Assembly

Hi
I try to use the following tools together:
.Net 6
Aspose.Slides.NET6.CrossPlatform 24.2.0
System.Drawing.Common 7.0
I saw this topic .NET6 Support|Aspose.Slides Documentation and now I’m using alias for Aspose.Slides
Please, see the following code

private static MemoryStream ConvertSlide(ISlide slide, System.Drawing.Imaging.ImageFormat format, PptToImagesConversion settings)
        {
            var imageBuffer = SharedResources.GetStream();

            var size = GetSize(slide, settings);
            var thumb = slide.GetThumbnail(size);

            thumb.Save(imageBuffer, format);

            imageBuffer.Seek(0, SeekOrigin.Begin);
            return imageBuffer;
        }

I have the following error here on the thumb.Save(imageBuffer, format); line:

Severity Code Description Project File Line Suppression State
Error CS1503 Argument 2: cannot convert from ‘System.Drawing.Imaging.ImageFormat [C:\Users\admin.nuget\packages\system.drawing.common\7.0.0\lib\net6.0\System.Drawing.Common.dll]’ to ‘System.Drawing.Imaging.ImageFormat [C:\Users\admin.nuget\packages\aspose.slides.net6.crossplatform\24.2.0\lib\net6.0\Aspose.Slides.dll]’ Deloitte.USIS.ConverterService C:\Work\usisgenai\services\converter\src\Deloitte.USIS.ConverterService\Services\ToImagesConverters\PptToImages\PptToZipImagesConverter.cs 47 Active

Why? How to fix that?
I mean, how to use objects from System.Drawing in Aspose.Slides method now?

@h0las,
Thank you for contacting support.

Could you please share the simplest project that reproduces the problem you are encountering?