Search found 11932 matches

by snibgo
2019-08-19T05:14:29-07:00
Forum: Users
Topic: Resize images based on their orientation
Replies: 7
Views: 1044

Re: Resize images based on their orientation

What compression are you using for your TIF? If none, you might use "-compress JPEG", perhaps with a quality setting, but this will be lossy.
by snibgo
2019-08-19T05:10:01-07:00
Forum: Bugs
Topic: Possible bug IM 7 on Windows 10
Replies: 4
Views: 117

Re: Possible bug IM 7 on Windows 10

I use GS v9.19.
by snibgo
2019-08-19T04:11:17-07:00
Forum: Bugs
Topic: Possible bug IM 7 on Windows 10
Replies: 4
Views: 117

Re: Possible bug IM 7 on Windows 10

Problems have been reported for Ghostscript 9.26 and later. What version of GS does it work for your Windows 7 etc? I suggest you install an earlier version of GS on your Windows 10.
by snibgo
2019-08-17T10:10:08-07:00
Forum: Bugs
Topic: Behaviour of -define bmp:subtype=RGB565
Replies: 6
Views: 226

Re: Behaviour of -define bmp:subtype=RGB565

Using Windows Photo Viewer, those images (rslt.bmp and 200x26.bmp) look identical.
by snibgo
2019-08-17T07:51:31-07:00
Forum: Bugs
Topic: Behaviour of -define bmp:subtype=RGB565
Replies: 6
Views: 226

Re: Behaviour of -define bmp:subtype=RGB565

Please paste links to the input and output image files.
by snibgo
2019-08-16T11:58:08-07:00
Forum: Users
Topic: Copy randomized rectangles from one directory of images to another
Replies: 2
Views: 184

Re: Copy randomized rectangles from one directory of images to another

What version of Windows, on what platform? Your script can loop through all the images in datasetA, applying a command to the two files. What command? You could do it by composing the B image over the A image, with a mask that is black where you want A and white where you want B. So the mask is most...
by snibgo
2019-08-16T11:51:27-07:00
Forum: Users
Topic: User guide
Replies: 6
Views: 351

Re: User guide

The Windows download includes the "official" IM documentation, which is unzipped to the ./www subdirectory. This doesn't include Anthony's Usage pages.
by snibgo
2019-08-15T08:54:22-07:00
Forum: Users
Topic: using an internal path in a command
Replies: 3
Views: 190

Re: using an internal path in a command

You are not the first, sadly, and I doubt you will be the last.

But do check that my guess is correct. If you remove "C:", does that cure the problem?
by snibgo
2019-08-14T12:22:23-07:00
Forum: Users
Topic: using an internal path in a command
Replies: 3
Views: 190

Re: using an internal path in a command

1. The IM code that parses filename isn't perfect. In particular, is gets confused by drives like "C:". I suggest you arrange it so the drive is not needed. Don't use %TEMP% because that probably contains a disk drive. 2. In Windows, a caret ^ at the end of a line means the command is continued on t...
by snibgo
2019-08-14T10:54:09-07:00
Forum: Users
Topic: Using mathematical operators in commands?
Replies: 14
Views: 571

Re: Using mathematical operators in commands?

WorldOfDepth wrote:convert input.jpg -resize %[fx:20^2] output.jpg
I used "magick", not "convert". Try again with "magick".
by snibgo
2019-08-14T09:40:10-07:00
Forum: Users
Topic: Problem with -normalize when using Windows, ImageMagick 7.0.8-60 Q16 x64 2019-08-10
Replies: 13
Views: 563

Re: Problem with -normalize when using Windows, ImageMagick 7.0.8-60 Q16 x64 2019-08-10

dana_w wrote:Contrast is indeed stretched but in my sample image, the highlights are blown out, which isn't something that seems to happen when I use -nominalize on the Linux system.
I'm confused. IM has no "-nominalize" command.

As Fred says, "-normalize" blows out highlights. It is supposed to do this.
by snibgo
2019-08-14T09:35:07-07:00
Forum: Users
Topic: Using mathematical operators in commands?
Replies: 14
Views: 571

Re: Using mathematical operators in commands?

Please show the exact command you used, and the exact error message.
by snibgo
2019-08-14T08:43:46-07:00
Forum: Users
Topic: Crop Image within the border of specific color
Replies: 6
Views: 293

Re: Crop Image within the border of specific color

What version of IM, on what platform? Sample input image?

One method would be to flood-fill from the top-left corner with yellow. Then trim.
by snibgo
2019-08-14T05:20:47-07:00
Forum: Users
Topic: SVG and clipping path
Replies: 10
Views: 415

Re: SVG and clipping path

convert -verbose Geboortekaartje-Octo-1.svg test.png "inkscape" "Geboortekaartje-Octo-1.svg" --export-eps="/tmp/magick-37767nPLbA_doiGwI" --export-dpi="90,90" --export-background="rgb(100%,100%,100%)" --export-background-opacity="1" > "/tmp/magick-37767cbwD7Suw2XNE" 2>&1 Aborted This suggests Inksc...
by snibgo
2019-08-14T04:26:27-07:00
Forum: Users
Topic: Using mathematical operators in commands?
Replies: 14
Views: 571

Re: Using mathematical operators in commands?

What version of IM, on what platform? If you use IM V7, you can use "%[fx:...]" expressions such as: magick xc: -resize %[fx:16^^3] info: This is Windows syntax, where caret ^ is a special character so must be escaped by ^. For bash, don't double the ^. FX expressions can use variables defined with ...