Search found 25418 matches

by fmw42
2019-09-20T23:13:14-07:00
Forum: Users
Topic: Averaging (convert mean/median) 80000 16bit PNGs
Replies: 3
Views: 60

Re: Averaging (convert mean/median) 80000 16bit PNGs

do you have outdir created? ImageMagick will not create a directory. But that is not going to do a running average because you have to divide by different numbers of images each time. see cumulative average at https://en.wikipedia.org/wiki/Moving_average and https://stackoverflow.com/questions/12636...
by fmw42
2019-09-20T22:00:16-07:00
Forum: Users
Topic: Averaging (convert mean/median) 80000 16bit PNGs
Replies: 3
Views: 60

Re: Averaging (convert mean/median) 80000 16bit PNGs

You probably need to send your policy.xml file arguments to be able to process images using disk space if you are running out of RAM. Also you should do a running average. But that would require some scripting that is OS dependent. You would definitely run out of RAM trying to load all 80,000 PNGs. ...
by fmw42
2019-09-20T18:57:26-07:00
Forum: Users
Topic: Faster alternative to FX with color channels?
Replies: 3
Views: 73

Re: Faster alternative to FX with color channels?

Thanks snibgo for filling in the details. I did not have time before.
by fmw42
2019-09-20T16:18:26-07:00
Forum: Users
Topic: Faster alternative to FX with color channels?
Replies: 3
Views: 73

Re: Faster alternative to FX with color channels?

Perhaps you do not need -fx. Can you not do it with multiple uses of -color-matrix and composites, for example. See https://imagemagick.org/script/command- ... lor-matrix
by fmw42
2019-09-20T12:40:18-07:00
Forum: Users
Topic: [solved] bulk watermarking images
Replies: 5
Views: 123

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: 123

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: 62

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: 49

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: 67

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: 120

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: 1126

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: 120

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: 120

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: 93

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: 82

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 (...