Search found 1147 matches

by glennrp
2016-11-19T13:03:45-07:00
Forum: Bugs
Topic: [RESOLVED] IM7 "-draw image over ..." fails, IM6 succeeds
Replies: 5
Views: 9750

[RESOLVED] IM7 "-draw image over ..." fails, IM6 succeeds

The following code produces the expected result, with white text on a green canvas: M=im6.9.6-5q16convert # works, produces white text on green canvas # M=im7.0.3-7q16magick # fails, produces no text on green canvas V=`$M -version | sed -e "s/Version: //;s/\(.*Q[^ ]*\)*.*/\1/;1q"` # White ...
by glennrp
2016-11-13T08:58:04-07:00
Forum: Users
Topic: Image conversion 8b -> 16b without darkening - SOLVED
Replies: 14
Views: 11818

Re: Image conversion 8b -> 16b without darkening

If your image is being displayed the way you like on browsers that don't do color management, you simply need to remove the color management chunks (gAMA, sRGB, cHRM, iCCP) from your PNG file. You can do this with the -strip option to IM, or you can use another PNG editor such as pngcrush to remove ...
by glennrp
2016-11-12T15:50:34-07:00
Forum: Bugs
Topic: [RESOLVED] W is ignored in xc:[WxH]
Replies: 10
Views: 14325

Re: W is ignored in xc:[WxH]

Well, it isn't just peculiar to MacOS. I get the same on Ubuntu 16:04, when I type into the console:

Code: Select all

glenn.rp> magick convert xc:[40!] show:
bash: !]: event not found
glenn.rp>
by glennrp
2016-11-12T14:42:08-07:00
Forum: Users
Topic: corrupted output
Replies: 8
Views: 7152

Re: corrupted output

Jpeg won't work for your transparent logos. I'd combine them into a raw RGBA (just once) and then use that as the source for compositing over the webcam photo. Just be aware that you have to keep track of the dimensions of the RGBA and pass them along separately via a "-size WxH" option, b...
by glennrp
2016-11-12T14:25:01-07:00
Forum: Bugs
Topic: [RESOLVED] W is ignored in xc:[WxH]
Replies: 10
Views: 14325

Re: W is ignored in xc:[WxH]

The bash csh-style history expansion with "!" only happens when you are typing in commands from a terminal window. In a bash script, a "!" is just a "!".
by glennrp
2016-11-12T13:24:29-07:00
Forum: Bugs
Topic: [RESOLVED] W is ignored in xc:[WxH]
Replies: 10
Views: 14325

Re: W is ignored in xc:[WxH]

Normally an extra "x" or "!" wouldn't matter, but I came across this problem while playing "Code Golf" at http://codegolf.stackexchange.com/questions/98968/go-out-and-vote/99087#99087 where every byte I use counts against me (similar to the actual game of golf where eve...
by glennrp
2016-11-12T09:14:26-07:00
Forum: Users
Topic: corrupted output
Replies: 8
Views: 7152

Re: corrupted output

There's probably a delay somewhere causing the image to be cut off by the next image arriving. ImageMagick itself is probably not the culprit; it should be able to do the convert and three composite operations in much less than 30 seconds. But, for efficiency, I'd combine the three overlay images in...
by glennrp
2016-11-12T07:28:05-07:00
Forum: Bugs
Topic: [RESOLVED] W is ignored in xc:[WxH]
Replies: 10
Views: 14325

[SOLVED] Re: W is ignored in xc:[WxH]

Thanks, I forgot about the sequence of events (xc:color[WxH] doesn't directly generate a WxH image; instead it makes a 1x1 image then resizes it to WxH). So there's no bug here, just pilot error on my part. I still get a puzzling result from xc:[W], though; that produces a 1x1 image instead of a WxW...
by glennrp
2016-11-12T07:14:52-07:00
Forum: Developers
Topic: show: vs x:
Replies: 1
Views: 5752

show: vs x:

I can't find anything other than one example in the documentation about "show:" and was wondering how it differs from "x:" which at least appears in "-list format". Was it intended to be a replacement or synonym for "x:", as "canvas:" replaced "...
by glennrp
2016-11-10T14:53:45-07:00
Forum: Users
Topic: How would I create a 1x3 png with three rgb pixels?
Replies: 5
Views: 5001

Re: How would I create a 1x3 png with three rgb pixels?

This is fine for Windows but on *nix the "#" will comment out the remainder of the line. magick xc:#F00 xc:#0F0 xc:#00F +append rgb.png So, on *nix, use one of these: magick xc\#F00 xc:\#0F0 xc:\#00F +append rgb.png magick xc:"#F00" xc:"#0F0" xc:"#00F" +append...
by glennrp
2016-11-10T14:28:06-07:00
Forum: Bugs
Topic: [RESOLVED] W is ignored in xc:[WxH]
Replies: 10
Views: 14325

Re: W is ignored in xc:[WxH]

[blush]
Version: ImageMagick 7.0.3-3 Q16 x86_64
by glennrp
2016-11-10T14:15:48-07:00
Forum: Bugs
Topic: convert SIGSEGV on malformed jng file format
Replies: 5
Views: 5148

Re: convert SIGSEGV on malformed jng file format

I think I took care of this or a similar bug last week in a fork of IM but neglected to port back. I'll have a look.
by glennrp
2016-11-10T14:11:37-07:00
Forum: Bugs
Topic: [RESOLVED] W is ignored in xc:[WxH]
Replies: 10
Views: 14325

[RESOLVED] W is ignored in xc:[WxH]

This should produce a 100x30 image but the result is 30x30

Code: Select all

magick xc:[100x30] show:
by glennrp
2016-10-31T09:09:49-07:00
Forum: Developers
Topic: convert xx.png to xx.rgb
Replies: 5
Views: 12941

Re: convert xx.png to xx.rgb

"RGB" used to be a popular format on SGI machines. ImageMagick calls them ".sgi" now. It might be what PS is wanting, if so use

Code: Select all

magick xx.png sgi:xx.rgb
by glennrp
2016-10-23T09:41:21-07:00
Forum: Users
Topic: jpeg corruption
Replies: 10
Views: 8294

Re: jpeg corruption

With either IM or GM the input image (rgb:$1) would have to come after the -size option. With such large images you might need to use -limit to avoid running out of resources.