Search found 12163 matches

by snibgo
2010-03-16T11:23:15-07:00
Forum: Users
Topic: sigmoidal contrast
Replies: 1
Views: 5306

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: 8427

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: 10236

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: 28491

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: 29231

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: 25079

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: 29231

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: 24170

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: 10900

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: 7273

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: 8397

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 a...
by snibgo
2010-03-06T23:51:19-07:00
Forum: Bugs
Topic: Unicode BOM header
Replies: 2
Views: 8397

Unicode BOM header

Windows 7, IM 6.5.8-8: convert -size 1920x1080 -gravity South ^ -background None ^ -fill blue ^ -font Verdana -pointsize 100 ^ caption:@captCopy.txt ^ captCopy.png captcopy.txt is encoded in UTF-8: {ef}{bb}{bf}Copyright {c2}{a9} 2010 Alan Gibson\r\n Where {ef} is the single byte, represented in hex ...
by snibgo
2010-03-05T08:43:50-07:00
Forum: Users
Topic: Can someone explain what the difference is?
Replies: 8
Views: 19719

Re: Can someone explain what the difference is?

You are missing +0+0 on the crop.

Rule of thumb: geometry (axb+c+d) with no offsets always needs "+0+0".
by snibgo
2010-03-04T17:47:12-07:00
Forum: Users
Topic: repairing jpegs
Replies: 23
Views: 80090

Re: repairing jpegs

I dumped them using a filter called DumpBin that converts nonprintable characters to hex. Then I counted the characters until I reached FF D8 FF, which is hex for the octal "\377\330\377", which IM expects to be at the start. You might find other files have a different number of spurious b...
by snibgo
2010-03-04T07:24:37-07:00
Forum: Users
Topic: Can someone explain what the difference is?
Replies: 8
Views: 19719

Re: Can someone explain what the difference is?

The extra output files will be because your shave or splice or both will need zero offsets: "+0+0". If you post your original file, we can test with what you've got, so our advice may be more precise.

Also, let us know what IM version you are using.