Search found 57 matches

by muccigrosso
2018-10-15T08:46:02-07:00
Forum: Bugs
Topic: Problem with -depth on PNG images
Replies: 3
Views: 123

Re: Problem with -depth on PNG images

Yeah, I do this a lot and the problem just started.
by muccigrosso
2018-10-15T00:06:38-07:00
Forum: Bugs
Topic: Problem with -depth on PNG images
Replies: 3
Views: 123

Problem with -depth on PNG images

I'm trying to do a simple reduction of the depth of some grayscale images (of text) that I have. They're in PNG format. When I use a depth of 2 or 3, the entire image gets compressed into the left side of the canvas, leaving the side half black. It only seems to happen with gray PNG files. I can rep...
by muccigrosso
2018-09-25T11:51:02-07:00
Forum: Users
Topic: TIFF compression not working?
Replies: 3
Views: 1261

Re: TIFF compression not working?

This seems to be all fixed in IM 7.0.8-12.
by muccigrosso
2018-09-04T11:22:50-07:00
Forum: Users
Topic: TIFF compression not working?
Replies: 3
Views: 1261

TIFF compression not working?

Is there a problem with tiff group4 and fax compression? I'm having trouble getting good compression with them, and perhaps coincidentally these are the two compression schemes that were affected by this patch . For example, magick logo: -threshold 80% -alpha off -monochrome -compress METHOD -qualit...
by muccigrosso
2018-09-02T22:22:47-07:00
Forum: Users
Topic: How to create a group4 compressed tiff with tiff:photometric: min-is-black?
Replies: 4
Views: 1222

Re: How to create a group4 compressed tiff with tiff:photometric: min-is-black?

Is there a broader problem with tiff compression? I'm having trouble getting group4 and fax (which I don't normally use) to give me good compression and these are the two compression schemes that were affected by this patch . For example, magick logo: -threshold 80% -alpha off -monochrome -compress ...
by muccigrosso
2018-08-19T11:40:18-07:00
Forum: Users
Topic: How to create a group4 compressed tiff with tiff:photometric: min-is-black?
Replies: 4
Views: 1222

Re: How to create a group4 compressed tiff with tiff:photometric: min-is-black?

Ditto using magick in place of convert on my Mac with

Version: ImageMagick 7.0.8-10 Q16 x86_64 2018-08-18 https://www.imagemagick.org
by muccigrosso
2018-06-10T08:31:25-07:00
Forum: Users
Topic: -shave and aspect ratio
Replies: 5
Views: 2194

Re: -shave and aspect ratio

"preserve-ratio" seems like a useful option to have on the shave command (or someplace similar).
by muccigrosso
2018-05-08T08:58:32-07:00
Forum: Users
Topic: Unicode symbol to image
Replies: 11
Views: 1687

Re: Unicode symbol to image

This slightly simpler command works for me and uses whatever color I want with -fill:

Code: Select all

convert -size 50x50 xc:transparent -pointsize 30 -fill red -annotate +10+33 "O" show:
ImageMagick 7.0.7-30 Q16 x86_64 2018-05-06
by muccigrosso
2018-05-05T17:02:20-07:00
Forum: Users
Topic: Variable argument in a string
Replies: 3
Views: 941

Re: Variable argument in a string

%w, not %w% and magick instead of convert for v 7 functionality.

Not sure it does what you want, but at least no errors for me.
by muccigrosso
2018-05-04T07:53:49-07:00
Forum: Users
Topic: How Can I Determine The Visual, Background Color?
Replies: 2
Views: 923

Re: How Can I Determine The Visual, Background Color?

You could get the histogram data from identify, manipulate the text a bit, then sort it to get the max. Everything after the use of identify would use some other tool.
by muccigrosso
2018-04-29T10:32:55-07:00
Forum: Users
Topic: No matter what, second parameter of convert always invalid.
Replies: 15
Views: 28573

Re: No matter what, second parameter of convert always invalid.

IM 7 uses magick. When you use convert, it is actually running the legacy IM 6. So if you really want the new features of IM 7, then use magick, not convert. This is good to know since IM's behavior on this seems a bit misleading. That is, on my High Sierra system, I get the following identical out...
by muccigrosso
2018-04-22T14:49:07-07:00
Forum: Users
Topic: miff mpr - what to use?
Replies: 10
Views: 1642

Re: miff mpr - what to use?

Miff is a file format, so writing "abc.miff" writes to disk, so the image is available for subsequent commands. Mpr is a memory location, so writing "mpr:abc" clones the image to memory, so it is available for subsequent operations within that command (by reading from "mpr:abc"), but not subsequent...
by muccigrosso
2018-04-22T08:11:51-07:00
Forum: Users
Topic: miff mpr - what to use?
Replies: 10
Views: 1642

Re: miff mpr - what to use?

convert a.tiff b.tiff -compose Minus_Src -composite mpr:c d.tiff -compose Divide_Src -composite final.tiff That won't work because "mpr:c" is a request to read mpr:c, but it hasn't been written. It could be "+write mpr:c". But there is no point in writing to mpr:c if it is never used. Good point! W...
by muccigrosso
2018-04-22T06:38:00-07:00
Forum: Users
Topic: miff mpr - what to use?
Replies: 10
Views: 1642

Re: miff mpr - what to use?

Why convert to miff at all? Just compose the tiff files into mpr: (so they stay in memory and never get written out) and then only write the final product: convert a.tiff b.tiff -compose Minus_Src -composite mpr:c d.tiff -compose Divide_Src -composite final.tiff (That might have to be divide_dst in ...
by muccigrosso
2018-04-19T16:59:01-07:00
Forum: Users
Topic: Do math with -set variables?
Replies: 6
Views: 1266

Re: Do math with -set variables?

There's more going on in my command, but it's that bit at the end that I'd like to do by adding a border instead of using extent, as here. I'm basically trimming down a file, making it black and then adding a white border on the top, so I need to know how big the border should be, hence the desire ...