在之前的一篇文章中,我从能够删除转换中的透明度,到不能调整转换的背景色。我在上找过的都试过了。我需要确保通过此软件包的任何图像都具有不透明的白色背景。 /// Write image data from a pdf file to a bitmap file /// <param name="imgData"></param>
private static void convertPdfToBmp(ImageData imgData)
我试图在现有图像中添加标签/注释文本(其中文本的背景颜色是透明的)。如果有人能指出正确的方向,我将非常感激。using (var images = new MagickImageCollection()){
using (var imgText = new MagickImage(MagickColors.None, imageDto
我正在尝试将PDF文件转换为图像,但是我只转换了第一页。这就是我的资料。代码隐藏: public ActionResult UploadPdf(HttpPostedFileBase file) MemoryStream target = new MemoryStream(); byte[] data = target.ToArray();
MagickReadSettin