Search found 11717 matches

by snibgo
2010-03-17T16:21:53-07:00
Forum: Users
Topic: Drawing performance
Replies: 27
Views: 42347

Re: Drawing performance

In the code in your first posting, you seem to draw all the black squares and all the white squares. Have you tried drawing the entire board black, then just drawing the white squares? I suppose IM would then write half the pixels twice, but the reduction in parsing and housekeeping may be worthwhile.
by snibgo
2010-03-17T09:29:14-07:00
Forum: Users
Topic: Speed up -unique-colors on a large image
Replies: 3
Views: 7417

Re: Speed up -unique-colors on a large image

I suppose you are using Q-8?
by snibgo
2010-03-17T09:18:59-07:00
Forum: Users
Topic: Filtering bright points
Replies: 4
Views: 8460

Re: Filtering bright points

The links don't work. Perhaps you didn't tell GoogleDocs that anyone could have access.
by snibgo
2010-03-16T11:24:42-07:00
Forum: Users
Topic: <defunct>
Replies: 4
Views: 8802

Re: <defunct>

I last worked on Unix servers 15 years ago, so don't rely on my memory, but I think you'll find the process is a "zombie" that consumes no resources.
by snibgo
2010-03-16T11:23:15-07:00
Forum: Users
Topic: sigmoidal contrast
Replies: 1
Views: 4557

Re: sigmoidal contrast

convert input1.jpg -sigmoidal-contrast 3x45% output1.jpg
convert input2.jpg -sigmoidal-contrast 3x45% output2.jpg

Can I claim $250? Or is this a scam?
by snibgo
2010-03-15T11:01:28-07:00
Forum: Users
Topic: How to draw text that includes apostrophes.
Replies: 3
Views: 7229

Re: How to draw text that includes apostrophes.

To avoid problems like this, I use the "caption:@file.txt" style.
by snibgo
2010-03-14T16:04:06-07:00
Forum: Users
Topic: <defunct>
Replies: 4
Views: 8802

Re: <defunct>

by snibgo
2010-03-14T11:37:18-07:00
Forum: Users
Topic: can't get white background for display or convert
Replies: 11
Views: 25453

Re: can't get white background for display or convert

I don't think IM will ever create a chequer backgound, unless you ask it to. Perhaps your image viewer is showing that for transparency.

Please post your EPS file and exact command you are using.
by snibgo
2010-03-14T10:46:18-07:00
Forum: Users
Topic: Command line Compare 2 images
Replies: 7
Views: 26287

Re: Command line Compare 2 images

I understand that 100% means the images are identical. But I don't know what you want 50% or 0% to mean.

The command above will return zero when the images are identical.
by snibgo
2010-03-14T10:34:25-07:00
Forum: Users
Topic: Forcing imagemaigc to overwrite image
Replies: 4
Views: 19368

Re: Forcing imagemaigc to overwrite image

It will overwrite old images. It creates imagename-0 etc when you don't fully specify "crop" or whatever.

Show us the exact command you are using.
by snibgo
2010-03-14T10:10:21-07:00
Forum: Users
Topic: Command line Compare 2 images
Replies: 7
Views: 26287

Re: Command line Compare 2 images

See the documentation on "compare", eg

Code: Select all

compare -metric RMSE first.png second.png NULL:
will return a numerical measure of the difference between the two frames. Higher numbers are more different.

Can you define exactly what you mean by "percentage of similarity"?
by snibgo
2010-03-12T10:59:46-07:00
Forum: Users
Topic: Understand if pdf is color or GrayScale
Replies: 12
Views: 21401

Re: Understand if pdf is color or GrayScale

I suppose you have tried the obvious basic tests:

Code: Select all

ls anexArtigo.pdf
convert -identify anexArtigo.pdf
by snibgo
2010-03-10T05:29:16-07:00
Forum: Users
Topic: Using modulate on part of an image
Replies: 5
Views: 9621

Re: Using modulate on part of an image

Have you tried:

\( picture.jpg'[600x450]' -geometry +116+76 -modulate 120 \) -composite

?
by snibgo
2010-03-09T12:52:55-07:00
Forum: Users
Topic: Selective/Variable cropping of inputs to MONTAGE
Replies: 2
Views: 6016

Re: Selective/Variable cropping of inputs to MONTAGE

In Windows 7, but it should work in XP:

Code: Select all

convert %infile% -format "set ww=%%w\nset hh=%%h" info:%TEMP%\getsize.bat

call %TEMP%\getsize.bat
Then you can use %ww% and %hh% for width and height.
by snibgo
2010-03-07T00:51:49-07:00
Forum: Bugs
Topic: Unicode BOM header
Replies: 2
Views: 7197

Re: Unicode BOM header

That is "Notepad++", which is a different program. There are lots of workarounds. For this purpose, I use a program that strips out any BOMs from a file. But it is annoying; the correct behaviour for IM, I feel, is to act like any text editor and not to display the "?" glyph or any other glyph for a...