Search found 24474 matches

by fmw42
2019-02-19T20:29:58-07:00
Forum: Users
Topic: User Input Batch Input to Output Conversion
Replies: 11
Views: 136

Re: User Input Batch Input to Output Conversion

If you are on IM 7, then the new syntax is just magick, not magick convert and not convert; otherwise you get IM 6 processing. For other tools such as identify, mogrify, montage, those must be prefaced with magick. _________________________ Please, always provide your IM version and platform when as...
by fmw42
2019-02-19T14:27:53-07:00
Forum: Users
Topic: Getting a Posterize effect (GMIC example)
Replies: 2
Views: 69

Re: Getting a Posterize effect (GMIC example)

Please do not double post. You have a post also in Consulting.
by fmw42
2019-02-19T14:24:41-07:00
Forum: Consulting
Topic: Paid: create artistic filters (i.e combination of convert commands)
Replies: 1
Views: 42

Re: Paid: create artistic filters (i.e combination of convert commands)

Posterize should be easy to do, though may not reproduce his result exactly. Just blur your image and reduce colors by -colors or -posterize. The other seems doable, but not sure yet how to achieve it. It looks like it might involve thresholding each channel and then reducing colors, possibly with a...
by fmw42
2019-02-18T11:30:31-07:00
Forum: Users
Topic: Alpha channel gets removed from grayscale image with IM 7.x
Replies: 3
Views: 83

Re: Alpha channel gets removed from grayscale image with IM 7.x

Also why do an unsharp masking with all zero values?
by fmw42
2019-02-18T11:29:36-07:00
Forum: Users
Topic: Montage and the crop the output in one command?
Replies: 7
Views: 153

Re: Montage and the crop the output in one command?

see https://imagemagick.org/script/porting.php#cli

Note for other tools such as montage, mogrify, identify, you do need to preface those with magick. Just not convert.
by fmw42
2019-02-18T10:46:48-07:00
Forum: Users
Topic: Montage and the crop the output in one command?
Replies: 7
Views: 153

Re: Montage and the crop the output in one command?

Thanks, snibgo. Too used to using convert. I have corrected my post.
by fmw42
2019-02-18T10:43:51-07:00
Forum: Users
Topic: Alpha channel gets removed from grayscale image with IM 7.x
Replies: 3
Views: 83

Re: Alpha channel gets removed from grayscale image with IM 7.x

First, In IM 7 use magick, not magick convert. Can you post your PSD file so that we can see it and investigate? What is your exact version of ImageMagick 7.x.x.x and date of version and platform?
by fmw42
2019-02-18T10:42:27-07:00
Forum: Users
Topic: Montage and the crop the output in one command?
Replies: 7
Views: 153

Re: Montage and the crop the output in one command?

Pipe your montage output to a new magick command that will crop the result and make a new output.

Something like

Code: Select all

montage \
+frame \
+shadow \
-quality 100 \
-tile 5x3 \
-geometry 512x512+0+0 \
"$currentDir/tile_*.jpg" \
miff:- | magick - "$currentDir.jpg"
by fmw42
2019-02-17T20:02:52-07:00
Forum: Users
Topic: Apply shadow to rectangle with alpha
Replies: 10
Views: 203

Re: Apply shadow to rectangle with alpha

This is a guess at what you want. (IM 7 syntax) Background: http://www.fmwconcepts.com/misc_tests/shadows3/barn.jpg Foreground: magick -size 300x100 xc:black -fill white -gravity center -pointsize 24 -annotate +0+0 "TESTING" infile.png http://www.fmwconcepts.com/misc_tests/shadows3/infile.png Proces...
by fmw42
2019-02-17T19:26:34-07:00
Forum: Users
Topic: Apply shadow to rectangle with alpha
Replies: 10
Views: 203

Re: Apply shadow to rectangle with alpha

Post your infile.png and outfile.png so we can help your compact your code. When I try your code with an arbitrary input, the output just has a black rectangle with a slight shading around it inside the original image. I do not understand your two images that you originally posted. Please clarify wh...
by fmw42
2019-02-17T15:44:39-07:00
Forum: Bugs
Topic: Using Screen & Multiple with Inline images stopped working again.
Replies: 1
Views: 60

Re: Using Screen & Multiple with Inline images stopped working again.

I made a typo in my IM 7 command. Testing again in IM 6.9.10.27 and IM 7.0.8.27 Mac OSX Sierra, I get the same result, but neither match his previous output that he sent me. convert "inline:data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKAAAADwCAYAAACHQW/aAAAHYUlEQVR4Xu3dwYuUdQDG8d9ulgYRUWEICUGHPFS3...
by fmw42
2019-02-17T13:00:42-07:00
Forum: Users
Topic: How to extract ngon using commandline (magick.exe)
Replies: 2
Views: 66

Re: How to extract ngon using commandline (magick.exe)

Use the equivalent of -draw "polygon ..." to create a mask and then use the mask to make the background transparent, then trim if desired to the bounding box of the polygon region. Sorry I do not code in Windows or C++.
by fmw42
2019-02-16T17:55:23-07:00
Forum: Users
Topic: How do I Apply Multiple Screen and Multiply to one image?
Replies: 27
Views: 8220

Re: How do I Apply Multiple Screen and Multiply to one image?

I get a result for IM 6.9.10.27, though I cannot tell if correct or not since you did not produce a correct result for me to compare. With IM 7.0.8.27 or IM 7.0.8.28 beta, I get an error message (on Mac OSX Sierra) cannot execute: File name too long I do not know why the inline image name is too lon...
by fmw42
2019-02-16T16:18:35-07:00
Forum: Users
Topic: How do I Apply Multiple Screen and Multiply to one image?
Replies: 27
Views: 8220

Re: How do I Apply Multiple Screen and Multiply to one image?

Please be more specific. What exactly does not work? Can you provide your data and command line?
by fmw42
2019-02-15T23:47:11-07:00
Forum: Users
Topic: Remove background using special markers
Replies: 6
Views: 155

Re: Remove background using special markers

You mentioned putting dots on the image. That means you have manual interaction. Please clarify or show an example image. With 4 points, you can draw a polygon (quadrilateral) from the coordinates and then mask out the image. If the dots are uniquely colored, then one could extract, in principle, th...