Search found 12163 matches

by snibgo
2012-11-01T11:57:11-07:00
Forum: Users
Topic: Identify from command line - need help
Replies: 3
Views: 5946

Re: Identify from command line - need help

The error is probably sent to stderr, which is channel 2. Pick it up with:

identify -verbose file.jpg 2>result.txt
by snibgo
2012-11-01T11:53:20-07:00
Forum: Bugs
Topic: Convert gray PPM to PGM, PNG
Replies: 2
Views: 10668

Re: Convert gray PPM to PGM, PNG

It seems to work okay for me. (Windows, 6.7.9-Q16) D:\web\im>"%IMG%convert" test.ppm test.png D:\web\im>"%IMG%convert" test.png text:- # ImageMagick pixel enumeration: 8,1,255,srgb 0,0: ( 0, 0, 0) #000000 black 1,0: ( 32, 32, 32) #202020 srgb(32,32,32) 2,0: ( 64, 64, 64) #404040 ...
by snibgo
2012-10-31T06:47:10-07:00
Forum: Users
Topic: convert command fails
Replies: 8
Views: 12936

Re: convert command fails

IM relies on a delegate to read and write eqp files. Try the command "convert -list delegate" for a list of delegates. There should be one in there for eps files, and it will show you the command it will use (probably ghostscript). If it shows no program, or it does but the program doesn't...
by snibgo
2012-10-31T06:41:37-07:00
Forum: Users
Topic: Measuring curve lengths and irregular areas
Replies: 4
Views: 8595

Re: Measuring curve lengths and irregular areas

Will that work for diagonal lines? Eg a line from (0,0) to (10,10) is longer than one from (0,0) to (0,10), even if they have the same number of non-aliased pixels. I would have thought the best way to estimate the length of an arbitrary curve would be to split it into segments such that each segmen...
by snibgo
2012-10-30T20:55:45-07:00
Forum: Users
Topic: Adjust image color levels
Replies: 5
Views: 11528

Re: Adjust image color levels

The technique I use is to apply the same adjustments in Gimp to a gradient file, then use IM to "clut" the image with the adjusted gradient file.
by snibgo
2012-10-28T21:16:28-07:00
Forum: Users
Topic: Using IM to subtract changes in photos
Replies: 4
Views: 5975

Re: Using IM to subtract changes in photos

It occurred to me that ffmpeg might have the ability to extract "raw" frames, that would visually show the data contained in I, B and P-frames. However, a quick look at the help ("ffmpeg -h") doesn't mean much to me. As fmw42 says, IM can easily identify what has changed between ...
by snibgo
2012-10-28T15:40:17-07:00
Forum: Users
Topic: $ sign on text not rendering if followed by numbers
Replies: 4
Views: 7503

Re: $ sign on text not rendering if followed by numbers

I suspect a Unix escape issue. No problem in Windows, eg:

convert logo: -gravity south -annotate 0 $1billion t.png
by snibgo
2012-10-28T15:27:03-07:00
Forum: Bugs
Topic: Overlay transparanty bug
Replies: 7
Views: 10143

Re: Overlay transparanty bug

There are a number of issues here. 1. There may be a bug in IM's resize. convert hearts.png -resize 166x165 h1.png Pixels in hearts.png that were tranparent white become transparent black in h1.png, so they all have the same colour. (This may be because they are stored as one bit in hearts.png.) Thi...
by snibgo
2012-10-26T20:58:13-07:00
Forum: Bugs
Topic: -separate lowers tones?
Replies: 4
Views: 5621

Re: -separate lowers tones?

Agreed. But I think the "-combine" behaviour is wrong. It copies the pixel values from the separate greyscale files without conversion, but the resulting file (according to "identify") is sRGB.
by snibgo
2012-10-26T20:27:47-07:00
Forum: Bugs
Topic: Overlay transparanty bug
Replies: 7
Views: 10143

Re: Overlay transparanty bug

Windows needs % to be doubled only in command files, not in direct commands at the command window. The original image is entirely black. The pretty picture is made from some of the pixels being transparent, and some opaque. The second command make all the pixels the same transparency, so it no longe...
by snibgo
2012-10-26T20:02:49-07:00
Forum: Bugs
Topic: -separate lowers tones?
Replies: 4
Views: 5621

Re: -separate lowers tones?

Add -set colorspace sRGB to your command line. Which command line: the separate, combine or both? Adding it just before the "-separate" or after the "-combine" doesn't help. Adding it before the "-combine" makes it worse. The documentation (http://www.imagemagick.org/s...
by snibgo
2012-10-26T00:03:15-07:00
Forum: Bugs
Topic: -separate lowers tones?
Replies: 4
Views: 5621

-separate lowers tones?

"-separate" followed by "-combine" significantly lowers the middle tones of an image. For example: convert logo: log.tiff convert logo: -channel RGB -separate log_%d.tiff convert log_0.tiff log_1.tiff log_2.tiff -channel RGB -combine logCopy.tiff log.tiff and logCopy.tiff should ...
by snibgo
2012-10-20T19:51:48-07:00
Forum: Users
Topic: Convert JP2 to JPG Issue
Replies: 12
Views: 25423

Re: Convert JP2 to JPG Issue

If it's helpful: a large file fails for me on my (fairly current) Q16, but succeeds on a (fairly old) Q8. D:\web\im>"%IMG%convert" BALTIMORE201210010200_21.JP2 x.jpg error: cannot decode code stream convert.exe: unable to decode image file `BALTIMORE201210010200_21.JP2' @ error/jp2.c/ReadJ...
by snibgo
2012-10-20T16:53:14-07:00
Forum: Users
Topic: GUI for Geometry
Replies: 9
Views: 14912

Re: GUI for Geometry

Ah, great minds ... In theory, the tenth-size trick might generate a false positive, but it works for me.
by snibgo
2012-10-20T15:49:01-07:00
Forum: Users
Topic: GUI for Geometry
Replies: 9
Views: 14912

Re: GUI for Geometry

Gimp can be used as a GUI driver for IM, rather clumsily. True, I'd like Gimp to build a batch file of IM commands that I could run at my leisure, but doing that is probably harder than making Gimp 16-bit. In the meantime, we can: 1. Use Gimp curves tool to adjust tones, colour balance etc. Then use...