Search found 12930 matches

by snibgo
2020-04-06T09:20:03-07:00
Forum: Users
Topic: identify on vector pdf
Replies: 2
Views: 54

Re: identify on vector pdf

IM delegates rasterization of PDFs to Ghostscript. If this fails, eg because a script inside docker can't access GS, then IM will write a message to stderr and then exit(1).

The "-verbose" setting will also helpful information write to stdout.
by snibgo
2020-04-06T06:27:45-07:00
Forum: Users
Topic: Clipping results in empty image on CentOS
Replies: 3
Views: 705

Re: Clipping results in empty image on CentOS

imagick.exe convert ... Is that really your command, with "i" at the start? Perhaps your command was "magick.exe convert". For v7, I suggest you use just "magick". Not "magick convert", and not "convert". When your command has "-clip", I suggest it should always also have "+clip", to turn clipping ...
by snibgo
2020-04-06T02:55:46-07:00
Forum: Bugs
Topic: About "convert: no pixels defined in cache " error
Replies: 1
Views: 57

Re: About "convert: no pixels defined in cache " error

Please show the command you used and the input file(s).
by snibgo
2020-04-05T19:30:46-07:00
Forum: Users
Topic: How to download ImageMagick-6.9.11-5?
Replies: 0
Views: 60

Re: How to download ImageMagick-6.9.11-5?

That is the current v6 version. Download from https://legacy.imagemagick.org/script/d ... hp#windows
by snibgo
2020-04-04T06:14:16-07:00
Forum: Bugs
Topic: EPS input, PNG output: no clip path defined with 7.0.10
Replies: 11
Views: 496

Re: EPS input, PNG output: no clip path defined with 7.0.10

With the latest input.eps linked upthread, with Ghostscript 9.19, IM v6.9.9-50 shows a clipping path but IM v7.0.8-64 doesn't.

Perhaps IM v7.0.8-64 has a bug.
by snibgo
2020-04-04T06:04:06-07:00
Forum: Users
Topic: Help cropping a series of images in a series of subfolders
Replies: 11
Views: 489

Re: Help cropping a series of images in a series of subfolders

creinemann wrote:Ok, tried to find the help for the 'for' command, did not really get anywhere, ...
Did you type "help for" at the Windows command line?
by snibgo
2020-04-04T04:28:47-07:00
Forum: Users
Topic: The tinting not quite doing what I need
Replies: 7
Views: 180

Re: The tinting not quite doing what I need

What version of IM do you use? The basic command does what is wanted under v6, but not v7. So I assume you use v7. If you use v7, I suggest you use "magick", not "convert". Under v7, we can restrict the "+level-colors" operation to just the RGB channels like ths: magick banner.png -channel RGB +leve...
by snibgo
2020-04-04T04:03:45-07:00
Forum: Users
Topic: Sort by specific image properties
Replies: 2
Views: 103

Re: Sort by specific image properties

I can and have added directional markings to the image(s) I.E. Image from location 1 have NE and location 2 have W stamped in white, in the bottom right hand corner of the image. Please show examples. If the stamps are always in the same position, and are pure white, and the photos don't otherwise ...
by snibgo
2020-04-03T09:41:31-07:00
Forum: Users
Topic: Fix (lock) h s or v
Replies: 8
Views: 222

Re: Fix (lock) h s or v

Why have you added a % sign to the end of the fx expression?

Also note that I assumed you are using a Windows BAT script, so each % is doubled to %%.
by snibgo
2020-04-03T08:06:46-07:00
Forum: Users
Topic: Flip Transparent png horizontal - how far am I off?
Replies: 2
Views: 86

Re: Flip Transparent png horizontal - how far am I off?

I don't understand the question. If you want to flip all the files in a directory:

Code: Select all

magick mogrify -flip *
This is for v7. If you use v6, then use "mogrify" instead of "magick mogrify".
by snibgo
2020-04-03T07:59:51-07:00
Forum: Users
Topic: Fix (lock) h s or v
Replies: 8
Views: 222

Re: Fix (lock) h s or v

That depends on the range of values of %SAT% and %VAL%. If your script has used 255 as the maximum value, then yes, divide and multiply as you say.
by snibgo
2020-04-03T06:19:34-07:00
Forum: Users
Topic: Fix (lock) h s or v
Replies: 8
Views: 222

Re: Fix (lock) h s or v

The HSV colorspace has 3 channels: H, S and V, in that order. "-channel" restricts following operations to one channel or list of channels. Here I use channel numbers, so 0 is H, 1 is S and 2 is V. Here, I set values as percentages of QuantumRange, between 0 and 100%. I could instead give the value ...
by snibgo
2020-04-03T03:58:07-07:00
Forum: MagickWand
Topic: How to handle the run Time Error in MagickWand
Replies: 5
Views: 193

Re: How to handle the run Time Error in MagickWand

The cpp language has "try {...} catch {...}". The C language does not.
by snibgo
2020-04-03T03:49:29-07:00
Forum: Users
Topic: Fix (lock) h s or v
Replies: 8
Views: 222

Re: Fix (lock) h s or v

What version of IM, on what platform? I'll assume v7 on Windows, in a BAT script. You can convert to HSV colorspace, then set whatever channels to want to whatever values you want, then convert back to sRGB or whatever. magick ^ in.png ^ -colorspace HSV ^ -channel 0 -evaluate set 30%% ^ -channel 1 -...
by snibgo
2020-04-02T21:34:55-07:00
Forum: MagickWand
Topic: How to handle the run Time Error in MagickWand
Replies: 5
Views: 193

Re: How to handle the run Time Error in MagickWand

Yes. These are called "exceptions". See your question in viewtopic.php?f=6&t=37772