Search found 12163 matches

by snibgo
2010-02-19T21:35:17-07:00
Forum: Users
Topic: problem with delegates.xml
Replies: 13
Views: 67762

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

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

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

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

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 ...
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: 46716

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

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

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

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

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.
by snibgo
2010-02-18T08:43:14-07:00
Forum: Users
Topic: Chaining Successful Commands
Replies: 9
Views: 23799

Re: Chaining Successful Commands

"miff:" is a file format, not a command. The "-" means send it to stdout. You need a corresponding "-" in the next convert to read from stdin.

convert - -resize 128x128! \
etc
by snibgo
2010-02-18T08:26:37-07:00
Forum: Users
Topic: PNG2TIFF width transparent background
Replies: 10
Views: 27977

Re: PNG2TIFF width transparent background

What version of IM are you using?

When I use
convert test.png test.tif
(version 6.4.5) my result looks like what you want.
by snibgo
2010-02-18T08:02:49-07:00
Forum: Users
Topic: Transparent color: black
Replies: 12
Views: 35749

Re: Transparent color: black

"identify verbose" tells me the image has a conventional alpha channel. If you effectively want to place this image in front of a white background, so the white shows through the transparent areas, try: convert newsletter.png -background white -flatten newsWhite.png [Edited: added "-&...
by snibgo
2010-02-18T07:07:05-07:00
Forum: Users
Topic: Transparent color: black
Replies: 12
Views: 35749

Re: Transparent color: black

Can you post a link to your image?
by snibgo
2010-02-18T05:11:15-07:00
Forum: Users
Topic: Transparent color: black
Replies: 12
Views: 35749

Re: Transparent color: black

Is this for 256-pallette Gif?

The "-transparent-color" option is probably what you need.