Hi
I’m trying to create a custom IIndexBitmapConverter class but I get:
The type ‘Bitmap’ exists in both ‘Aspose.Drawing, Version=20.7.0.0, Culture=neutral, PublicKeyToken=716fcc553a201e56’ and ‘System.Drawing.Common, Version=4.0.2.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51’
Code (copy - paste from : Convert PDF to Different Image Formats in C#|Aspose.PDF for .NET)
using Aspose.Pdf;
using System;
using System.Drawing;
namespace Papyros.Servers.Extract.Converters
{
public class WinAPIIndexBitmapConverter : IIndexBitmapConverter
{
public Bitmap Get1BppImage(Bitmap src)
{
return CopyToBpp(src, 1);
}
.... etc ....
}
}