9,144 questions
-2
votes
0
answers
27
views
ImageMagick conversion to dot image parameter issues
Use the dos command line and magick.exe to convert the test.ps file into 80lpi color-separated pure circular halftone dots (Round is not Euclide), and the dot Angle should be the standard Angle C15 ...
0
votes
2
answers
161
views
How to find printed document in image
Image contains single document printed in white paper. Background of image can be different.
Tried to get document using code from https://scanbot.io/techblog/document-edge-detection-with-opencv/ with ...
-1
votes
1
answer
121
views
How to remove non uniform background from image [closed]
Receipt clip contains structured background:
Tried to remove it using textcleaner ImageMagic wrapper script from Remove receipt image border using ImageMagick answer.
Used code from answer How to use ...
1
vote
1
answer
130
views
Magick++ can't identify format of file
I'm currently trying to implement an IThumbnailProvider to render a thumbnail for PSD files on the explorer. I plan to use ImageMagick and it's C++ API (Magick++) to do so, as I've used this lib ...
-4
votes
1
answer
91
views
How to force ImageMagick to not destroy file contents by overwrites? [closed]
How to make sure ImageMagic never overwrites files? To avoid this type of situation:
name1=$(identify -format '%[EXIF:DateTime]' input1.jpg)
magick -options... input1.jpg name1.jpg
# concurrently ...
5
votes
1
answer
145
views
Rotate an image with transparent background
I have trouble rotating images with transparent background while retaining a transparent background. magick::image_rotate() adds a white background with a gray border (I think due to anti-aliasing).
...
3
votes
1
answer
269
views
Python Wand: MagickReadImage returns false, but did not raise ImageMagick exception
I've got some long-standing code in a Django code base that reads in a PDF and uses Wand to take a screenshot of the first page of the PDF, which is then displayed on the website. We recently migrated ...
1
vote
1
answer
44
views
Combining two ImageMagick commands for dynamic masking [closed]
I want to combine these two ImageMagick commands, the first one creates a greyscale mask by drawing and combining two gradients, then, combines the merged gradients with the extracted alpha channel ...
0
votes
1
answer
95
views
resizing SVG makes it jagged and not smooth with magick
I have a SVG (in.svg) which I want to resize to 1200x1200 :
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
version="1.1"
x="0px&...
-1
votes
1
answer
145
views
How to add a rounded white edge to a rectangular image? [closed]
I have the input image shown below. I'm trying to add around it a rounded edge.
I've tried with the command below and adds a border but without rounded corners
convert input.jpg -shave 1x1 -...
0
votes
2
answers
53
views
How to overlay transparent shape with contour? [closed]
I have these 2 input images shown below. img1.png has a car in black and the rest transparent.
img1.png
background.png
I and like to fill img1.png with the background.png image to get this output, ...
0
votes
0
answers
53
views
Fastest way to create a palettized image in Magick.NET?
I'm trying to use Magick.NET to save palettized images generated by my program. Currently I'm using the following process:
Create the image with MagickImage img = new(MagickColors.Green, (uint)Width, ...
-1
votes
1
answer
47
views
When converting a PSD to a PNG, the black border shadow disappears using ImageMagick [closed]
When converting a PSD to a PNG, the black border shadow disappears using ImageMagick
Original Image:
After converting losing black border shadow using imageMagick:
When converting a PSD to a PNG, the ...
1
vote
1
answer
139
views
Splitting a PDF into a list of images iText7 and ImageMagick
I have code where I'm trying to split PDFs into a list of jpg MemoryStream files. I the split portion working, where it takes around under a second or less and creates 100 pdf streams. However once I ...
1
vote
0
answers
67
views
Performance Regression with Imagick between PHP 7.2 and 8.2
I'm noticing a significant performance difference when running the same Imagick script on PHP 7.2 versus PHP 8.2. Here are the results I’ve gathered:
PHP 7.2, ImageMagick 7.0.7, Imagick 3.44: 3.8 ...