Search found 25414 matches

by fmw42
2019-09-20T12:40:18-07:00
Forum: Users
Topic: [solved] bulk watermarking images
Replies: 5
Views: 103

Re: bulk watermarking images

try create a new directory to hold the results -- the input names will be used for the output change directory to the directory holding the input move the watermark to another directory magick mogrify -path path_to/new_directory -draw "image over 0,0 0,0 'path_to/water.png'" *.png supply your actual...
by fmw42
2019-09-20T11:51:59-07:00
Forum: Users
Topic: [solved] bulk watermarking images
Replies: 5
Views: 103

Re: bulk watermarking images

magick composite is a very old method. You are better off using just magick (the ImageMagick 7 equivalent of convert for ImageMagick 6). However to watermark a whole folder of images with the same watermark image, you should use magick mogrify. See alpha compositing with mogrify. https://imagemagick...
by fmw42
2019-09-20T10:10:15-07:00
Forum: Users
Topic: Request help in generating circular image with transparency...
Replies: 3
Views: 56

Re: Request help in generating circular image with transparency...

Either remove the -flatten or add -background transparent before -flatten
by fmw42
2019-09-20T09:04:24-07:00
Forum: Consulting
Topic: Paid: Fix issue converting PDF to JPG
Replies: 1
Views: 31

Re: Paid: Fix issue converting PDF to JPG

Post the PDF file here so we can test it. I suspect it is the version of Ghostscript you are using. Find the version and post here or upgrade to 9.23, 9.24, or 9.25. I have heard of issues with 9.26 and 9.27. Your syntax is not correct. -antialias will have no effect. -opaque only works if you set a...
by fmw42
2019-09-20T08:53:08-07:00
Forum: Users
Topic: Different images between MATLAB and ImageMagick
Replies: 2
Views: 59

Re: Different images between MATLAB and ImageMagick

You can avoid the EWA and use bilinear or spline interpolation by using

Code: Select all

-filter point -interpolate xxx
see

Code: Select all

convert -list interpolate
for options


Or better just use

Code: Select all

-filter Catrom
which is the same as Keys cubic convolution (bi-cubic)
by fmw42
2019-09-19T16:46:01-07:00
Forum: Users
Topic: Trying to add shadowed text to an existing image
Replies: 5
Views: 108

Re: Trying to add shadowed text to an existing image

Sorry, I do not know what might be the issue other than a buggy version of ImageMagick. It worked fine for me on my Mac using the same ImageMagick version. Try changing single quotes to double quotes. Also try changing -annotate 0 to -annotate +0+0
by fmw42
2019-09-19T14:25:17-07:00
Forum: Users
Topic: Counting Color and Grey Scale in a directory?
Replies: 19
Views: 1033

Re: Counting Color and Grey Scale in a directory?

What was your exact command?
by fmw42
2019-09-19T14:24:28-07:00
Forum: Users
Topic: Trying to add shadowed text to an existing image
Replies: 5
Views: 108

Re: Trying to add shadowed text to an existing image

Try specifying -font path_to/fontfile.ttf. Be sure whatever font file you use does exist. Sounds like your type.xml file is empty, so that named fonts do not work. But font files should work if the font exists.
by fmw42
2019-09-19T09:42:25-07:00
Forum: Users
Topic: Trying to add shadowed text to an existing image
Replies: 5
Views: 108

Re: Trying to add shadowed text to an existing image

Do you have the Candice font installed and in your type.xml file? If not, install it and replace Candice with the path to your candice.ttf file. Does that make it work? That worked for me on ImageMagick 6.7.8.9 Q16 Mac OSX. If that does not work, then your Centos version of ImageMagick is buggy. Not...
by fmw42
2019-09-19T09:02:34-07:00
Forum: Users
Topic: Ellipse cropping from GIMP parameters
Replies: 3
Views: 86

Re: Ellipse cropping from GIMP parameters

If the oval is defined by x,y,w,h, then just do -crop WxH+X+Y +repage. That is assuming that x,y are the upper left corner of the rectangular crop region of the ROI for the oval. This will get the bounding box about the ellipse for the output. If you want the oval with transparent background, then d...
by fmw42
2019-09-18T14:48:25-07:00
Forum: Users
Topic: Converting RAW CR2 to 32bit EXR, 16bit TIFF, and 8bit JPEG
Replies: 2
Views: 73

Re: Converting RAW CR2 to 32bit EXR, 16bit TIFF, and 8bit JPEG

I am not an expert on CR2 files nor dcraw, but some comments are in order. I will defer to one of the ImageMagick, CR2 and EXR experts for better/correct answers. In ImageMagick 7, use magick.exe without convert after it. There is no colorspace called linear. If you want to convert from non-linear (...
by fmw42
2019-09-18T10:45:53-07:00
Forum: Users
Topic: Handling bad color names/numbers..
Replies: 1
Views: 52

Re: Handling bad color names/numbers..

Code: Select all

convert -fill "#000000" label:test test.gif
works for me. Note that you used 5 zeros and you need 6 zeros.

There is no darkgold at https://imagemagick.org/script/color.php. But there is a dark goldenrod
by fmw42
2019-09-18T08:44:44-07:00
Forum: Users
Topic: Composite: Person & checkerboard pattern
Replies: 7
Views: 210

Re: Composite: Person & checkerboard pattern

Input: http://www.fmwconcepts.com/misc_tests/checkerboard_effect/Bill_Murray.jpg WxH=`convert Bill_Murray.jpg -format "%wx%h" info:` ww=`echo $WxH | cut -dx -f1` hh=`echo $WxH | cut -dx -f2` convert Bill_Murray.jpg \ \( -size ${ww}x$((hh+80)) pattern:checkerboard -distort perspective \ "0,0 0,%[fx:-...
by fmw42
2019-09-17T21:19:20-07:00
Forum: Users
Topic: Unable to trim borders of a scanned document
Replies: 4
Views: 403

Re: Unable to trim borders of a scanned document

50% would be way too much. You have trimmed it all away to zero dimensions that is why you get that message. The issue with your image is that if you look at full resolution, it has a few dark spots near the top. That prevents a normal trim from working. You need to remove those spots, before you ca...