Search found 22642 matches

by fmw42
2018-02-17T16:03:13-07:00
Forum: Users
Topic: Convert 2-bit to png after deskew has odd results
Replies: 13
Views: 124

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

On Q16, with TIFF, the results are different. convert xc: xc:black +append t.tif identify -verbose says 16/1-bit (2 colors) but convert t.tif -resize 1000x1! t2.tif identify -verbose 16-bit grayscale with 644 colors. So I think the resulting bit depth and colors depends upon the output format. The p...
by fmw42
2018-02-17T15:36:21-07:00
Forum: Users
Topic: color-matrix
Replies: 5
Views: 63

Re: color-matrix

Offsets are like adding to the value, whereas the other entries are like a multiplier. Alpha is always in the range 0 to 1 in ImageMagick. Offsets are also expressed as fractions typically in the range -1 to 1. 1=R or C 2=G or Y 3=B or M 4=K 5=A 6=offsets I believe IM fills channels not used after t...
by fmw42
2018-02-17T15:22:04-07:00
Forum: Users
Topic: Convert 2-bit to png after deskew has odd results
Replies: 13
Views: 124

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

IM will try to preserve the bit-depth. But if you do something that adds more colors, it can change the bit depth to support that number of colors, depending upon circumstances. See snibgo's comments below for more details. I noticed the loss in quality between your original PGM and PNG. That may be...
by fmw42
2018-02-17T11:56:46-07:00
Forum: Users
Topic: Convert 2-bit to png after deskew has odd results
Replies: 13
Views: 124

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

I believe that the reason for the results you get is that JPG is a lossy compressed format and does not support a true binary format. Due to the block-wise compression, it changes your values from two values to many grayscale values. Thus the JPG result will be 8-bit grayscale. Whereas the PNG compr...
by fmw42
2018-02-17T10:58:45-07:00
Forum: Users
Topic: Convert 2-bit to png after deskew has odd results
Replies: 13
Views: 124

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

Can you post a link to your PGM 1-bit image, so we can examine it and test with it?
by fmw42
2018-02-16T15:53:11-07:00
Forum: Users
Topic: how to rotate svg with point coordinate (bug into IM SVG internal renderer)
Replies: 8
Views: 134

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

Filing a bug report will not do any good. The internal renderer is not very good and that is why you have RSVG and Inkscape options. If you feel that Inkscape is not rendering properly, then file a bug with Inkscape.
by fmw42
2018-02-16T14:36:26-07:00
Forum: Users
Topic: how to rotate svg with point coordinate (bug into IM SVG internal renderer)
Replies: 8
Views: 134

Re: how to rotate svg with point coordinate (bug?)

This works fine for me. I see a rotation. I am using IM 6.9.9.34 Q16 Mac OSX Sierra with RSVG 2.40.18 convert test3.svg test3.jpg http://www.fmwconcepts.com/misc_tests/svg_tests/test3.jpg Add -verbose to your command to see which renderer is being used. Perhaps IM cannot find your installed Inkscape.
by fmw42
2018-02-16T12:14:41-07:00
Forum: Users
Topic: how to rotate svg with point coordinate (bug into IM SVG internal renderer)
Replies: 8
Views: 134

Re: how to rotate svg with point coordinate (bug?)

What SVG renderer is being used. It could be IM internal MSVG/XML or RSVG delegate or Inkscape. The IM internal one is poor. You should use RSVG or better Inkscape. If Inkscape is on your system and IM can find it, then it will be used. Otherwise, you would need to install the RSVG delegate library ...
by fmw42
2018-02-16T12:09:17-07:00
Forum: Users
Topic: defaults for gif creation
Replies: 2
Views: 58

Re: defaults for gif creation

See https://www.imagemagick.org/Usage/anim_opt/ https://www.imagemagick.org/Usage/anim_basics/ To reduce file size use -layers optimize. Also use the same color table for all frames via -remap. See https://www.imagemagick.org/Usage/quantize/#remap +dither -colors 128 will ensure you have no more tha...
by fmw42
2018-02-16T11:01:53-07:00
Forum: Users
Topic: Convert 2-bit to png after deskew has odd results
Replies: 13
Views: 124

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

What is your IM version and platform? Can you provide your exact command line and your input and output results? You can post them to some free hosting service such as dropbox.com and put the URLs here.
by fmw42
2018-02-16T10:58:21-07:00
Forum: Bugs
Topic: Speckles on live server Image
Replies: 6
Views: 82

Re: Speckles on live server Image

Can you write this in simple command line format? It is nearly impossible to read this way. And provide any input images? If you save results from each stage, can you see where the speckles first appear? Also you can add +write tmpX.png commands into various places in your code to see where the spec...
by fmw42
2018-02-16T10:38:47-07:00
Forum: Users
Topic: color-matrix
Replies: 5
Views: 63

Re: color-matrix

by fmw42
2018-02-16T10:36:35-07:00
Forum: Bugs
Topic: Tiling very large image exits with Abort trap: 6
Replies: 7
Views: 108

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

How big is the input image in width and height and color depth? Can you provide your input image? You can post to some free hosting service such as dropbox.com and put the URL here. Are you running on a hosted server? What is your RAM capacity?
by fmw42
2018-02-16T10:34:38-07:00
Forum: Bugs
Topic: Speckles on live server Image
Replies: 6
Views: 82

Re: Speckles on live server Image

Can you provide your exact command line?
by fmw42
2018-02-16T00:35:11-07:00
Forum: Users
Topic: Expand a stack of files to equal size
Replies: 20
Views: 331

Re: Expand a stack of files to equal size

Did you try my command to get the max size and then to extent each image. See viewtopic.php?f=1&t=33496#p153646