Search found 11226 matches

by snibgo
2019-02-19T22:34:53-07:00
Forum: Users
Topic: User Input Batch Input to Output Conversion
Replies: 8
Views: 84

Re: User Input Batch Input to Output Conversion

Your first error message is:

Code: Select all

'mogrify': No such file or directory
This is because
snibgo wrote:"mogrify" isn't a valid keyword in "magick convert".
As it isn't a keyword, IM supposes it must be an image file, so IM tries to find it, and fails.
by snibgo
2019-02-19T21:51:48-07:00
Forum: MagickWand
Topic: Gradient options via MagickWand
Replies: 1
Views: 26

Re: Gradient options via MagickWand

The define affects the image creation, so needs to occur before the image is created. The usual MagickWand functions for define work with an image, so can only occur after the image is created. The CLI "-define" works on an image_info structure, so can be used before an image is created. MagickWand ...
by snibgo
2019-02-19T19:18:14-07:00
Forum: Users
Topic: User Input Batch Input to Output Conversion
Replies: 8
Views: 84

Re: User Input Batch Input to Output Conversion

What version of IM? I assume v7. On what platform? I assumes Windows BAT. Your command is wrong. "magick convert" needs one input filename and one output filename, without wildcards . Your output filename contains a space. If you really want a space, you should quote the entire filename. But it won'...
by snibgo
2019-02-19T12:53:03-07:00
Forum: Bugs
Topic: Possible bug with threshold
Replies: 1
Views: 30

Re: Possible bug with threshold

What version of IM? On what platform?

When using "-threshold", I suggest you restrict the operation to the RGB channels.

If you want to make the entire image opaque black, I suggest you use "-fill Black -colorize 100".
by snibgo
2019-02-19T07:56:56-07:00
Forum: Users
Topic: Getting a Posterize effect (GMIC example)
Replies: 2
Views: 67

Re: Getting a Posterize effect (GMIC example)

GMIC was born out of ImageMagick, but with a more logical syntax. Instead of settings that are used by operations, the operations take more arguments that correspond to the settings, and these are usually numbers. One dificulty is that this creates a load of numbers, and we need to know what they re...
by snibgo
2019-02-19T06:31:52-07:00
Forum: IMagick
Topic: Greyscale shift or Interpolation
Replies: 1
Views: 28

Re: Greyscale shift or Interpolation

You can get the minimum and maximum pixel values, on a scale from 0.0 to 1.0, like this (bash syntax): $ magick toes.png -format "%[fx:minima]\n%[fx:maxima]\n" info: 0 1 If you prefer a scale from 0.0 to 255.0, you can multiply: $ magick toes.png -format "%[fx:minima*255]\n%[fx:maxima*255]\n" info: ...
by snibgo
2019-02-18T10:55:16-07:00
Forum: Users
Topic: Alpha channel gets removed from grayscale image with IM 7.x
Replies: 3
Views: 80

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

I don't understand the problem. The command has "-alpha off". This removes the alpha channel. Why is this a problem?
by snibgo
2019-02-18T10:45:54-07:00
Forum: Users
Topic: Montage and the crop the output in one command?
Replies: 7
Views: 142

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

As Fred says, and the "convert" can do whatever cropping or other processing is required. However as IM v7 is used, I suggest "magick montage" and "magick" instead of "montage" and "convert".
by snibgo
2019-02-18T08:35:00-07:00
Forum: Users
Topic: converting bmp to grayscale png
Replies: 2
Views: 58

Re: converting bmp to grayscale png

The metadata in your BMP says the image takes zero bytes in the file. This is clearly wrong, and IM warns you about this. But it is just a warning, and the result should be okay.
by snibgo
2019-02-18T03:05:41-07:00
Forum: Users
Topic: Blurring huge images/processing time
Replies: 1
Views: 41

Re: Blurring huge images/processing time

Another option is to resize down, then back up. I suppose the problem is that you don't have enough memory, so IM needs to use disk. GIF is 8-bit, so you might use IM Q8 which has half the memory use of Q16. In addition, don't use HDRI. (Q8 non-HDRI will give slightly lower quality, but I doubt this...
by snibgo
2019-02-17T14:32:48-07:00
Forum: Users
Topic: Apply shadow to rectangle with alpha
Replies: 10
Views: 198

Re: Apply shadow to rectangle with alpha

For v7, I suggest you use "magick", not "convert" or "composite"

You could do all the work in a single "magick" command, with no intermediate files.
by snibgo
2019-02-17T13:16:36-07:00
Forum: Bugs
Topic: Documentation page vanished
Replies: 2
Views: 61

Re: Documentation page vanished

It was redirecting to a generic ImageMagick page, but now it works correctly. Thanks.
by snibgo
2019-02-17T05:59:59-07:00
Forum: Bugs
Topic: Documentation page vanished
Replies: 2
Views: 61

Documentation page vanished

The page at http://www.imagemagick.org/script/fx.php seems to have disappeared.
by snibgo
2019-02-16T10:13:50-07:00
Forum: Users
Topic: Apply shadow to rectangle with alpha
Replies: 10
Views: 198

Re: Apply shadow to rectangle with alpha

You are directly drawing a rectangle on infile.png, and then making a shadow of the result.

Instead, you need to make an image that is the rectangle. Then make a shadow of that, then merge those two images, then composite that over infile.png.
by snibgo
2019-02-16T09:45:28-07:00
Forum: Users
Topic: Converting an HDR10 image
Replies: 6
Views: 204

Re: Converting an HDR10 image

... is there a way to do an... inverse 2084? Yes, and apparently your img_53.jpg has already had that inverse applied. Based on the Wikipedia page I cited, the forwards 2084 transformation is (Windows BAT syntax): set c1=0.8359375 set c2=18.8515625 set c3=18.6875 set m1=0.1593017578125 set m2=78.84...