Search found 9724 matches

by snibgo
2018-02-18T18:57:27-07:00
Forum: Users
Topic: Convert 2-bit to png after deskew has odd results
Replies: 23
Views: 248

Re: Convert 2-bit to png after deskew has odd results

I'll just make a point about this: ... but doesn't what you do here force the conversion to 1-bit after the resize vs mine which does the depth reduction before resizing? "-depth 1" doesn't change any data, it doesn't reduce the data to 1 bit. It is a setting that is used when writing some output fo...
by snibgo
2018-02-18T18:28:53-07:00
Forum: Users
Topic: spaces and annotations in filenames
Replies: 1
Views: 21

Re: spaces and annotations in filenames

You should say what version of IM you are using. Also say what shell you are using (eg bash, Windows CMD, etc) as they all behave differently. Some filesystems won't allow colons (":") in filenames.

Do you have a file with that name?
by snibgo
2018-02-17T22:02:00-07:00
Forum: Users
Topic: Windows equivalent of: -fill "black(25%)" -colorize 100
Replies: 18
Views: 168

Re: Windows equivalent of: -fill "black(25%)" -colorize 100

You haven't said what you are trying to do. You have an image, with an opaque picture frame, surrounding a transparent rectangle. Do you want to change the transparent pixels, or all pixels, or what?
by snibgo
2018-02-17T16:16:22-07:00
Forum: Users
Topic: color-matrix
Replies: 5
Views: 91

Re: color-matrix

As Fred says. You should give "-color-matrix" a square matrix of numbers: 1x1, 2x2, ... 6x6. If you give less than 6x6, IM internally pads to that size, with zeros in all entries except for ones on the diagonal. So you can give any square size you want. IM will assume "sensible" values for the ones ...
by snibgo
2018-02-17T15:52:02-07:00
Forum: Users
Topic: Convert 2-bit to png after deskew has odd results
Replies: 23
Views: 248

Re: Convert 2-bit to png after deskew has odd results

But if you do something that adds more colors, it will change the bit depth to support that number of colors. I don't think IM has ever done this, exactly. If the first input image has depth 8, that is retained until the output, or it is changed by "-depth" or "+depth". However, if it isn't one of ...
by snibgo
2018-02-16T16:03:38-07:00
Forum: Users
Topic: how to rotate svg with point coordinate (bug into IM SVG internal renderer)
Replies: 8
Views: 167

Re: how to rotate svg with point coordinate (bug into IM SVG internal renderer)

Having "transform" as an attribute of the outer-most svg tag seems to be valid SVG, but I'm not sure what a renderer should do with it. Inkscape seems to ignore it. It is unusual -- I've never seen a transform there. It is usual to put such transforms in a group around the elements that are to be tr...
by snibgo
2018-02-16T11:48:28-07:00
Forum: Users
Topic: Convert 2-bit to png after deskew has odd results
Replies: 23
Views: 248

Re: Convert 2-bit to png after deskew has odd results

"+depth" doesn't seem to be documented, except in these forums. (@Fred: can you add a note to http://www.imagemagick.org/script/command-line-options.php#depth ?) The depth setting is used only when writing output. It has no effect on other processing. The depth setting is set by the input image, and...
by snibgo
2018-02-16T11:05:33-07:00
Forum: Users
Topic: Convert 2-bit to png after deskew has odd results
Replies: 23
Views: 248

Re: Convert 2-bit to png after deskew has odd results

Is IM trying to maintain the original depth from the pgm? Yes. Why does the deskewed pgm look OK with show: then? Because the small bit depth (2) is used when writing PNG, not when writing to "show:". To cure the problem, use "+depth" to get the full depth of the Q-number, or "-depth 8" or 16 or wh...
by snibgo
2018-02-16T10:40:31-07:00
Forum: Users
Topic: Using ImageMagick on a network?
Replies: 7
Views: 130

Re: Using ImageMagick on a network?

From your mention of drive C, I assume you are on Windows. Is that correct? See http://www.imagemagick.org/script/download.php#windows for the portable version of IM. The directory path should be an option during installation. If it isn't, I suggest you report it in the Bugs forum at http://www.imag...
by snibgo
2018-02-16T10:35:42-07:00
Forum: Bugs
Topic: Tiling very large image exits with Abort trap: 6
Replies: 11
Views: 183

Re: Tiling very large image exits with Abort trap: 6

Ideally, IM would give a more informative error message. Perhaps there is a memory allocation problem. From your filename, I guess there are 21000x28000 pixels. In Q16, this needs 4.7GB memory for the input image, and the same again for the output pixels. There are about 9130 output images, and each...
by snibgo
2018-02-16T09:55:39-07:00
Forum: Users
Topic: Using ImageMagick on a network?
Replies: 7
Views: 130

Re: Using ImageMagick on a network?

So the problem is a lack of Administrator privileges.

Perhaps the "portable" version doesn't require Admin. I don't know.

Failing that, you'll have to ask an Administrator to install for you.
by snibgo
2018-02-15T10:10:50-07:00
Forum: Magick.NET
Topic: Exception thrown No space for output buffer
Replies: 15
Views: 195

Re: Exception thrown No space for output buffer

Can you paste the exact error message here? One possibility is that pixels have consumed all the available physical memory, leaving insufficient for the output processing. If so, then putting low limits on memory and map in delegates.xml will store pixels on disk, leaving room for output processing....
by snibgo
2018-02-15T09:34:39-07:00
Forum: Magick.NET
Topic: Exception thrown No space for output buffer
Replies: 15
Views: 195

Re: Exception thrown No space for output buffer

What version of ImageMagick? On what platform? How many pixels are in memory at any one time? What does "magick -list resource" say? On my computer, this is: Resource limits: Width: 214.7MP Height: 214.7MP Area: 25.627GB Memory: 11.934GiB Map: 23.867GiB Disk: unlimited File: 1536 Thread: 8 Throttle:...
by snibgo
2018-02-15T08:54:17-07:00
Forum: Users
Topic: Images still blurry after optimisation output
Replies: 1
Views: 57

Re: Images still blurry after optimisation output

Images for the web are commonly sharpened. See http://www.imagemagick.org/script/comma ... ptions.php , the "-sharpen" and "-unsharp" options.

When an image is downsized for the web, I like the method shown in Resampling with halo minimization