Search found 12163 matches

by snibgo
2010-04-16T07:04:18-07:00
Forum: Users
Topic: Image with profile
Replies: 15
Views: 30387

Re: Image with profile

What command are you using for the merge? Any operation that involves two input files will copy the profile and other data from only one of the input files. (And it shouldn't change either input file, unless you use mogrify.)
by snibgo
2010-04-15T19:22:04-07:00
Forum: Users
Topic: Affine transformatino not accurate
Replies: 5
Views: 11385

Re: Affine transformatino not accurate

It might be a good thing if the documentation http://www.imagemagick.org/script/comma ... hp?#affine mentioned this additional pixel border.
by snibgo
2010-04-15T18:08:06-07:00
Forum: Users
Topic: Histogram with huge file size...
Replies: 7
Views: 16785

Re: Histogram with huge file size...

"identify -verbose" shows output.png from the first command carries a huge comment, which seems to be the numbers behind the graph, a written form of the histogram. output.png also has a comment, but now it seems to be the histogram of the histogram image, which is (of course) much simpler...
by snibgo
2010-04-15T15:32:11-07:00
Forum: Users
Topic: delete a line or two..
Replies: 9
Views: 20516

Re: delete a line or two..

Yes, that's it. That's why you need to find commonalities between source images. "compare" will find "similar" matches, hence my cut-off at 66% will finds lines that are shorter than 10 pixels, or are slightly diagonal, etc. Reduce that number to far, and you will get false posit...
by snibgo
2010-04-15T14:12:32-07:00
Forum: Users
Topic: delete a line or two..
Replies: 9
Views: 20516

Re: delete a line or two..

For this particular image, moo.jpg, IM can readily find the horiontal lines. Use a search pattern (say) 10 pixels wide, and six high. Make lines 0, 1, 4 and 5 white; lines 2 and 3 black. compare -metric RMSE moo.jpg search.png found.png Threshold found.jpg [edit: I mean found.png] about 66%, and it ...
by snibgo
2010-04-15T10:49:27-07:00
Forum: Users
Topic: delete a line or two..
Replies: 9
Views: 20516

Re: delete a line or two..

You'd have to examine a few examples to determine commonality. For example: - Trim off surrounding white space. - Is the date/time always in approximately the same position? Then crop everthing else away. - Are the lines usually/always thicker than the letters? Then morphology erode will erode them ...
by snibgo
2010-04-15T10:07:40-07:00
Forum: Users
Topic: Affine transformatino not accurate
Replies: 5
Views: 11385

Re: Affine transformatino not accurate

Incidentally, I don't get that problem on some trial images with IM 6.6.0-8 on Windows7. Can you post mouse.png? What IM version are you on?
by snibgo
2010-04-15T09:42:43-07:00
Forum: Users
Topic: Affine transformatino not accurate
Replies: 5
Views: 11385

Re: Affine transformatino not accurate

Very strange. You might want to post this in the bugs forum: viewforum.php?f=3

Meanwhile, you might try "-rotate 90".
by snibgo
2010-04-15T09:29:38-07:00
Forum: Users
Topic: VB Interface and Capturing STDERR
Replies: 2
Views: 5811

Re: VB Interface and Capturing STDERR

You are asking a Visual Basic question on an ImageMagick forum. I don't know the answer, but an internet search turns up many possibilities.
by snibgo
2010-04-15T09:05:42-07:00
Forum: Users
Topic: Error Convert JPG to JP2 on Windows Platform
Replies: 5
Views: 12091

Re: Error Convert JPG to JP2 on Windows Platform

Your command works for me on Windows 7, IM 6.6.0-8. Can you post the input image? What IM version are you on?
by snibgo
2010-04-15T08:48:35-07:00
Forum: Users
Topic: Image with profile
Replies: 15
Views: 30387

Re: Image with profile

If org.jpg has an embedded profile, your command should create a monochrome version.

If it doesn't, you should add the appropriate profile first, eg:

convert org.jpg -profile sRGB_v4_ICC_preference.icc -profile bw.icm org_bw.jpg
by snibgo
2010-04-14T17:09:16-07:00
Forum: Users
Topic: Trying to use imagemagick to segment text
Replies: 2
Views: 6502

Re: Trying to use imagemagick to segment text

Can't you get the classnotes eletronically? What decade are we living in? If the paragraphs are divided by blank lines, you could use "compare" to find the gaps. But you would have to handle paragraphs that spanned pages. Unless you have a large volume to do, I'd think Gimp cut and paste w...
by snibgo
2010-04-14T16:51:14-07:00
Forum: Users
Topic: delete a line or two..
Replies: 9
Views: 20516

Re: delete a line or two..

If you know the coordinates of the ends, IM could paint quickly over them. Finding those coordinates in the general case wouldn't be trivial.
by snibgo
2010-04-14T14:06:50-07:00
Forum: Users
Topic: $100 to the hacker/graphic pro that can convert RGB to CMYK!
Replies: 5
Views: 11332

Re: $100 to the hacker/graphic pro that can convert RGB to C

Inkscape creates SVG or PNG, but nothing else. Printers use different inks and papers. The conversion to CMYK should take account of this. (One paper/ink combination might need less magenta ink and more black to get the same result as another paper/ink combination.) The information about these requi...
by snibgo
2010-04-14T12:39:00-07:00
Forum: Users
Topic: $100 to the hacker/graphic pro that can convert RGB to CMYK!
Replies: 5
Views: 11332

Re: $100 to the hacker/graphic pro that can convert RGB to C

As magick hints, to ensure "the coloring comes out as it should", you MUST know the profile of the output devices. Ask your printer for the profile, which will be a .icc or .icm file.