Search found 13038 matches

by snibgo
2010-02-22T08:48:22-07:00
Forum: Users
Topic: 3d Shadows using Affine Shears
Replies: 6
Views: 15314

Re: 3d Shadows using Affine Shears

That's a very old version of IM. fmw's script works fine for me in a slightly less old 6.4.5 on Ubuntu.

I suggest you update IM.
by snibgo
2010-02-22T08:13:03-07:00
Forum: Users
Topic: 3d Shadows using Affine Shears
Replies: 6
Views: 15314

Re: 3d Shadows using Affine Shears

What OS? What version of IM? Can you provide the URL of your image?
by snibgo
2010-02-22T03:14:26-07:00
Forum: Users
Topic: Density question
Replies: 3
Views: 9639

Re: Density question

Image viewers may not use the same assumed DPI for your screen.

You might use the "-verbose" option of identify to get the density, and hence the physical dimensions.

Then "acroread foo.pdf", File, Properties, Description will tell you if the physical dimensions are the same.
by snibgo
2010-02-22T01:52:48-07:00
Forum: Users
Topic: Density question
Replies: 3
Views: 9639

Re: Density question

I suspect you are comparing apples with oranges, "judging by eye". What is the density of your png file? identify -verbose foo.png You might get something like: Geometry: 1280x720+0+0 Resolution: 72x72 Print size: 17.77x10.00 Units: PixelsPerInch Then I would expect convert foo.png foo.pdf to create...
by snibgo
2010-02-22T00:21:50-07:00
Forum: Users
Topic: error converting PDF->JPG
Replies: 6
Views: 14552

Re: error converting PDF->JPG

Those are questions about ghostscript, not ImageMagick. I suggest you ask in ghostscript forums.

(Hint: you might search for "ghostscript Unable to substitute for font".)
by snibgo
2010-02-19T21:35:17-07:00
Forum: Users
Topic: problem with delegates.xml
Replies: 13
Views: 57638

Re: problem with delegates.xml

I know nothing about delegates, but dcraw 8.86 has option -c to write to stdout, so can you > that to %o?
by snibgo
2010-02-19T09:37:15-07:00
Forum: Users
Topic: converting xcf > png: alpha channel lost
Replies: 9
Views: 24891

Re: converting xcf > png: alpha channel lost

Can you post a link to the xcf file so we can try it?
by snibgo
2010-02-19T09:22:49-07:00
Forum: Users
Topic: Dealing with alpha layers in TIFF->JPEG conversions
Replies: 12
Views: 30152

Re: Dealing with alpha layers in TIFF->JPEG conversions

Thanks, magick.

There is also the question of why

convert mask.tif mask.jpg
convert mask.tif -resize 100x100 mask.jpg


do two different things with alpha.
by snibgo
2010-02-19T06:24:26-07:00
Forum: Users
Topic: How to save the DIFFERENCES between two images ?
Replies: 29
Views: 83737

Re: How to save the DIFFERENCES between two images ?

How does this know that we want black as transparent?
I'm guessing, but see command-line-options, for -transparent-color:
"The default transparent color is #00000000, which is fully transparent black."
by snibgo
2010-02-18T15:52:12-07:00
Forum: Users
Topic: Chaining Successful Commands
Replies: 9
Views: 21374

Re: Chaining Successful Commands

Ah, yes, of course. "\" is bash, not PHP. And I'm not sure if you need to escape the brackets. Splitting the lines in PHP would be something like: shell_exec( <<<theEnd /usr/bin/composite -gravity center /full/path/to/overlay.png /full/path/to/image.png miff:- | /usr/bin/convert - -resize 128x128! -...
by snibgo
2010-02-18T15:34:54-07:00
Forum: Users
Topic: /usr/bin/convert: No such file or directory error - FIXED!
Replies: 8
Views: 40027

Re: -bash: /usr/bin/convert: No such file or directory error

If I understand you correctly:

1. Executing "$ convert" runs /usr/bin/convert.

2. "which convert" shows /usr/local/bin/convert.

If that's true, something is badly wrong (with your Unix, not Imagemagick).
by snibgo
2010-02-18T15:14:32-07:00
Forum: Users
Topic: Chaining Successful Commands
Replies: 9
Views: 21374

Re: Chaining Successful Commands

I would do the obvious things, like ensuring that some IM command works, then splitting this one into two so it doesn't use pipes, and so on.
by snibgo
2010-02-18T15:10:51-07:00
Forum: Users
Topic: Auto-detect optimal image output format, How to
Replies: 4
Views: 10868

Re: Auto-detect optimal image output format, How to

You'll have to do trials, trading off download size, visual appearance and programming complexity.

In my experience, most scanned pages compress best in jpg, even the most graphic kinds. (But your scans may be different.)
by snibgo
2010-02-18T09:09:04-07:00
Forum: Users
Topic: Transparent color: black
Replies: 12
Views: 32151

Re: Transparent color: black

Editable only as pixels. ImageMagick is a raster processor -- it deals with pixels.
by snibgo
2010-02-18T08:57:31-07:00
Forum: Users
Topic: Transparent color: black
Replies: 12
Views: 32151

Re: Transparent color: black

"Flatten" is what does the work. The "-background" just declares the colour that will be used by any operation that needs a background.