Search found 25563 matches

by fmw42
2019-09-23T21:31:16-07:00
Forum: Bugs
Topic: PNG to SVG conversion fails with ImageMagick 7.0.8-64
Replies: 13
Views: 130247

Re: PNG to SVG conversion fails with ImageMagick 7.0.8-64

It worked for me with 7.0.8.65. So perhaps the issue was fixed. Try that version.
by fmw42
2019-09-23T15:08:05-07:00
Forum: Consulting
Topic: Paid: Fix issue converting PDF to JPG
Replies: 8
Views: 86640

Re: Paid: Fix issue converting PDF to JPG

Thanks for your help. Upgrading to the latest version of ghostscript resolves this problem. On my Centos7 machine this means upgrading to 9.25. Thanks for your help. I'd be happy to email (interac) transfer some money to you for your help with this. Send me an email to mootsalex@gmail.com. No need....
by fmw42
2019-09-23T10:19:57-07:00
Forum: Users
Topic: FFT with ImageMagick
Replies: 1
Views: 5439

Re: FFT with ImageMagick

That FFT denoising technique will only remove noise that has a regular pattern. Your image does not qualify for the approach and is way to randomly grainy. You will have to use typical spatial domain median filtering or averaging. Or you can try -despeckle or -enhance or -kuwahara or -cmeans process...
by fmw42
2019-09-23T10:16:46-07:00
Forum: Users
Topic: Output - Bilevel
Replies: 2
Views: 6180

Re: Output - Bilevel

by fmw42
2019-09-23T10:07:18-07:00
Forum: Bugs
Topic: PNG to SVG conversion fails with ImageMagick 7.0.8-64
Replies: 13
Views: 130247

Re: PNG to SVG conversion fails with ImageMagick 7.0.8-64

ImageMagick will not vectorize the PNG into an SVG file, if that is what you expect. It works fine for me on IM 7.0.10.65 Q16 Mac OSX Sierra with SVG renderer Inkscape. However, I do get a message when trying the following on IM 6.9.10.65 Q16 Mac OSX Sierra with SVG renderer Inkscape. convert logo: ...
by fmw42
2019-09-23T10:05:16-07:00
Forum: Consulting
Topic: Paid: Fix issue converting PDF to JPG
Replies: 8
Views: 86640

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.
by fmw42
2019-09-22T11:45:37-07:00
Forum: Users
Topic: Adding directional drop shadows
Replies: 4
Views: 7194

Re: Adding directional drop shadows

see https://imagemagick.org/Usage/blur/#shadow On which part are you trying to add the shadow? The text box or the final image? Is this what you want? Input: http://www.fmwconcepts.com/misc_tests/shadows4/lena.png convert -size 128x128 -background '#FF0000' -fill '#000000' -font Arial-Bold -gravity ...
by fmw42
2019-09-22T11:30:30-07:00
Forum: Users
Topic: Adding directional drop shadows
Replies: 4
Views: 7194

Re: Adding directional drop shadows

There are many ways to add shadows. See the examples at https://imagemagick.org/Usage/fonts/ For example: https://imagemagick.org/Usage/fonts/#bevel and https://imagemagick.org/script/command-line-options.php#shade and https://imagemagick.org/Usage/transform/#shade Another ways is to create one gray...
by fmw42
2019-09-21T13:11:51-07:00
Forum: Users
Topic: Averaging (convert mean/median) 80000 16bit PNGs
Replies: 9
Views: 11600

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

snibgo wrote: 2019-09-21T11:48:39-07:00 I think the OP wants an average image, not a simple number. My suggestion for 1x1 images is only for development and testing.
My misunderstanding. Thanks.
by fmw42
2019-09-21T11:39:21-07:00
Forum: Users
Topic: Averaging (convert mean/median) 80000 16bit PNGs
Replies: 9
Views: 11600

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

One way would be to use mogrify (see https://imagemagick.org/Usage/basics/#mogrify) with -scale 1x1! to average all your images to 1 pixel. The -scale does a simple average. See https://imagemagick.org/script/command-line-options.php#scale . Then average all the 1 pixel results to get the complete a...
by fmw42
2019-09-21T11:27:33-07:00
Forum: PerlMagick
Topic: [SOLVED] Colorize(blend=>string) [as RGB pctgs; e.g., blend=>'100/0/0']
Replies: 7
Views: 83408

Re: Colorize(blend=>string) [what's the format of string?]

Many ways. Here are two in command line:

Code: Select all

convert image.png -alpha transparent result.png
or

Code: Select all

convert image.png -channel a -evaluate set 0 +channel result.png
See
https://imagemagick.org/Usage/canvas/#blank_pick
by fmw42
2019-09-21T11:20:20-07:00
Forum: Users
Topic: Imagemagick older releases
Replies: 2
Views: 6119

Re: Imagemagick older releases

What platform? Binaries are not kept for all minor releases. You may find an archive by searching Google.

http://web.archive.org/web/201109210047 ... /binaries/

https://launchpad.net/imagemagick/main
by fmw42
2019-09-21T10:38:52-07:00
Forum: Users
Topic: Averaging (convert mean/median) 80000 16bit PNGs
Replies: 9
Views: 11600

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

Computations are done to double precision (64-bits), I believe. But returning and storing in a variable may be limited. But you can use -precision to keep more decimal places if you use fx calculations. Or if you use bc, you can set the scale.
by fmw42
2019-09-21T10:33:52-07:00
Forum: Users
Topic: Improving my "caption:" code
Replies: 2
Views: 5736

Re: Improving my "caption:" code

You never defined width, but use it. Nevertheless, try this. declare `convert "$fileorig" -format "HH=%[fx:h/10]\nWW=%w\n" info:` convert "$fileorig" \ -size ${WW}x${HH} -background white -fill black -undercolor gold -gravity center caption:"$comment" \ -appen...