Search found 25563 matches

by fmw42
2019-08-21T08:51:50-07:00
Forum: Digital Image Processing
Topic: Bicubic (Catrom) image downsampling without antialiasing?
Replies: 7
Views: 168033

Re: Bicubic (Catrom) image downsampling without antialiasing?

I suspect that the ImageMagick resize is using a different method that does a better job of dealing with artifacts. Sorry, I do not know what algorithm/code Matlab is using. See https://imagemagick.org/Usage/filter/ https://imagemagick.org/Usage/filter/nicolas/ You can control the filter settings wi...
by fmw42
2019-08-20T18:25:46-07:00
Forum: Bugs
Topic: [RESOLVED] possible bug with MPC IM 6.9.10.60 Q16 Mac OSX Sierra
Replies: 2
Views: 73345

Re: possible bug with MPC IM 6.9.10.60 Q16 Mac OSX Sierra

This seems to be fixed and does not Abort trap in IM 6.9.10.66
by fmw42
2019-08-20T18:24:11-07:00
Forum: Bugs
Topic: Possible bug IM 7.0.8.60 with resize, attenuate and noise
Replies: 9
Views: 96482

Re: Possible bug IM 7.0.8.60 with resize, attenuate and noise

This still fails in IM 7.0.8.61 Q16 Mac OSX.
by fmw42
2019-08-20T11:26:26-07:00
Forum: Users
Topic: reproducing Spherical Distortion Map
Replies: 9
Views: 15625

Re: reproducing Spherical Distortion Map

On Windows, best to use double quotes. Try

Code: Select all

convert -size 1500x1500 xc: -channel R -fx "yy=(j+.5)/h-.5; (i/w-.5)/(sqrt(1-4*yy^2))+.5" -separate +channel sphere_lut.png
This works fine for me on Mac OSX.
by fmw42
2019-08-20T11:22:49-07:00
Forum: Digital Image Processing
Topic: Bicubic (Catrom) image downsampling without antialiasing?
Replies: 7
Views: 168033

Re: Bicubic (Catrom) image downsampling without antialiasing?

Try

Code: Select all

convert image_file -filter catrom -resize 160x120 -background black -gravity center -extent 160x120 destinFileName 
by fmw42
2019-08-20T09:29:50-07:00
Forum: Digital Image Processing
Topic: Bicubic (Catrom) image downsampling without antialiasing?
Replies: 7
Views: 168033

Re: Bicubic (Catrom) image downsampling without antialiasing?

Anthony would have to look at this whenever he gets online. He was the developer. Unfortunately, he rarely contributes here at this time. What antialiasing step? I was not aware of any. This is the code from pixel.c static inline void CatromWeights(const MagickRealType x, MagickRealType (*weights)[4...
by fmw42
2019-08-20T09:22:40-07:00
Forum: Bugs
Topic: Change image color
Replies: 14
Views: 151614

Re: Change image color

I get your same bad result on IM 7.0.8.61 Q16 HDRI Mac OSX with the following command: magick -respect-parenthesis \ \( 6214291349a70-af1a-431a-8186-0ced1d8e8c4d.png -fuzz 50% -fill "rgb(225,225,225)" -opaque black -quality 20 \) \ \( -clone 0 -background "rgb(53,63,124)" -shadow...
by fmw42
2019-08-19T09:55:22-07:00
Forum: Bugs
Topic: Change image color
Replies: 14
Views: 151614

Re: Change image color

Please show your input and output images and the command you used. Also what is the exact version of ImageMagick 7.0.8.x If this was the last command I showed, then it seems to work fine for me on IM 7.0.8.61 Q16 Mac OSX. http://www.fmwconcepts.com/misc_tests/colorize/input_text.png Unix syntax: mag...
by fmw42
2019-08-18T22:10:24-07:00
Forum: Users
Topic: Combining multiple animated gifs into a single longer animation - Using too much disk space
Replies: 6
Views: 12365

Re: Combining multiple animated gifs into a single longer animation - Using too much disk space

What are the dimensions of the gif frames in width and height. Have you computed 277 images * 30 frames/image * Width * Height * 4 bytes/pixel and double it for input and output? Is that result larger or smaller than your RAM.

Sorry I am not an expert on resource allocations and mapping to disk.
by fmw42
2019-08-18T21:17:12-07:00
Forum: Users
Topic: Combining multiple animated gifs into a single longer animation - Using too much disk space
Replies: 6
Views: 12365

Re: Combining multiple animated gifs into a single longer animation - Using too much disk space

Edit you policy.xml file to permit more RAM or map to disk. See https://imagemagick.org/script/resources.php https://imagemagick.org/source/policy.xml You can use magick -list resource to see what your allocation is. When using wild cards for input, be sure your files are listed alphabetically the w...
by fmw42
2019-08-18T15:27:18-07:00
Forum: PerlMagick
Topic: Select rectangular region -- Clone & Crop?
Replies: 1
Views: 70728

Re: Select rectangular region -- Clone & Crop?

Cloning is not needed in command line. I am not sure why it would be needed in PerlMagick if cropping is all you want to do. The actual input file is not changed by reading it into memory. So you can crop it without affecting the disk file. You can just crop the original and save to a new disk file....
by fmw42
2019-08-17T10:33:08-07:00
Forum: Developers
Topic: How to reduce number of the commands lines
Replies: 3
Views: 73327

Re: How to reduce number of the commands lines

See parenthesis processing https://imagemagick.org/Usage/basics/#parenthesis convert tmp2.png -background transparent -extent 600x600 mask1.png -composite \ \( mask3.png tmp3.png -geometry +0+350 -compose Dst_Over -composite \ -fuzz 10% -transparent black \) -composite mask3.png \ -composite masked-...
by fmw42
2019-08-16T18:54:01-07:00
Forum: Fred's Scripts
Topic: how to have emboss and deboss effect
Replies: 10
Views: 190829

Re: how to have emboss and deboss effect

Try this using the other mode in my emboss script. The first line extracts the alpha channel from your second example image, since the script needs the image to be processed to be black and white. The image must have an alpha channel that is not fully opaque and corresponds appropriately to the imag...
by fmw42
2019-08-16T10:29:07-07:00
Forum: Fred's Scripts
Topic: how to have emboss and deboss effect
Replies: 10
Views: 190829

Re: how to have emboss and deboss effect

I do not think my script will work well for you. Sorry.
by fmw42
2019-08-16T09:48:30-07:00
Forum: Users
Topic: User guide
Replies: 6
Views: 15150

Re: User guide

The images are created dynamically. So I am not sure you will get the images if you download it. You will have to try.