but... I think the "flatten" of the ImageMagick is different Ghostscript, how do I indicate to GhostScript from ImageMagick apply flatten? This for pdf file.
I found this MagickReadSettings settings = new MagickReadSettings(); settings.Density = new MagickGeometry(300); using (MagickImageCollection images = new MagickImageCollection()) { images.Read("Snakeware.pdf", settings); MagickImage image = images.Flatten(); image.Write("SnakewareNew.pdf"); } Now ...
Hi, I make no resize before or after. Only apply the rectangle. I can't now load the original image, later I upload the image. MagickImage image = new MagickImage(strPathImage); DrawableStrokeColor strokeColor = new DrawableStrokeColor(new MagickColor("white")); DrawableStrokeWidth stokeWidth = new ...
Thank you very much for your prompt response. I works great.
I have just a curiosity, not a mistake, but when the lines of a rectangle is generated, the lines are not uniform, on some occasions the line is not seen. (part of the line)