Search found 12163 matches

by snibgo
2013-04-08T09:29:43-07:00
Forum: Users
Topic: Converting .png to .xpm with transparency and RGB colorspace
Replies: 2
Views: 19387

Re: Converting .png to .xpm with transparency and RGB colors

First, I sugget you upgrade to a more recent version of IM. That one is ancient. Second, I know nothing about XPM format. But converting a PNG with transparency to XPM and back to PNG works fine with no options at all, and no visible colour change. However, the alpha becomes binary, ie on or off, an...
by snibgo
2013-04-07T14:47:47-07:00
Forum: Bugs
Topic: Error converting tiff
Replies: 11
Views: 8321

Re: Error converting tiff

I get an image with only part of the data. It looks like there were multiple layers but converting to png only takes one layer. In addition to fmw's comment, I see the file also has a clipping path. I'm not familiar with clipping paths, but this might be the cause of "only part of the data&quo...
by snibgo
2013-04-06T13:31:37-07:00
Forum: Bugs
Topic: Error converting tiff
Replies: 11
Views: 8321

Re: Error converting tiff

Perhaps the image has transparency. Can you paste the output from "identify -verbose image.tiff" here? Put it between [ code ] and [ /code ] to preserve the formatting.
by snibgo
2013-04-06T13:26:06-07:00
Forum: Users
Topic: Set background color on composite
Replies: 5
Views: 11721

Re: Set background color on composite

convert prova.jpg -alpha on maskcirc.png -compose Dst_In -composite -background Pink -alpha remove out.jpg JPEGs don't have a transparency channel, so I need to give it one before "-compose Dst_In -composite" will work. That leaves a transparent area outside the circle. When converted to ...
by snibgo
2013-04-05T16:02:09-07:00
Forum: Bugs
Topic: Color reduction doesn't work well with alpha PNGs
Replies: 6
Views: 7574

Re: Color reduction doesn't work well with alpha PNGs

Sorry, I don't speak Perl.

I forgot to mention: I use Q16 IM, which will give different results to your Q8.
by snibgo
2013-04-05T12:30:46-07:00
Forum: Bugs
Topic: Color reduction doesn't work well with alpha PNGs
Replies: 6
Views: 7574

Re: Color reduction doesn't work well with alpha PNGs

Try ...

Code: Select all

"%IMG6846%convert" alpha-gradient.png  -quantize RGB -alpha off -dither None -colors 256 -alpha on a8.png
... which gives a similar result to that old IM version but (I would argue) even more fantastic.
by snibgo
2013-04-05T12:00:29-07:00
Forum: Bugs
Topic: Problem with ImageMagick 6.5.2-5
Replies: 11
Views: 6855

Re: Problem with ImageMagick 6.5.2-5

Yes, it gives me the warning but that doesn't stop it working. I mention it only because that tag might, theoretically, be what distinguishes the OP's tiffs that don't work under 6.5.2-5 from those that do.
by snibgo
2013-04-05T11:54:39-07:00
Forum: Bugs
Topic: Normalize filter does not work anymore
Replies: 10
Views: 9144

Re: Normalize filter does not work anymore

Yup, "-normalize" needs "-set colorspace RGB" to work in the way we might expect.

So does "-threshold", "-equalize" and even "-contrast-stretch 0" though not "-auto-level".
by snibgo
2013-04-05T04:45:19-07:00
Forum: Bugs
Topic: Error converting tiff
Replies: 11
Views: 8321

Re: Error converting tiff

What version of IM? What platform? Can you supply an example has this problem?
by snibgo
2013-04-05T04:08:37-07:00
Forum: Bugs
Topic: Problem with ImageMagick 6.5.2-5
Replies: 11
Views: 6855

Re: Problem with ImageMagick 6.5.2-5

Both commands work without problems on v6.5.8-8 on Windows 7.

With more recent versions, I get a warning:

Code: Select all

identify.exe: Wrong data type 3 for "GainControl"; tag ignored. `TIFFReadCustomDirectory' @ warning/tiff.c/TIFFWarnings/821.
by snibgo
2013-04-03T17:49:54-07:00
Forum: Bugs
Topic: Caption error with french accent
Replies: 4
Views: 4270

Re: Caption error with french accent

I find the Windows command processor usually mucks up commands containing UTF-8 text. I'm sure there is a workaround, but I don't know what it is. Instead, I put the text in a file, saved as UTF-8, and "@" caption. Thus ... "%IMG%convert" -background lightblue -fill blue -gravity...
by snibgo
2013-04-03T17:32:38-07:00
Forum: Users
Topic: Scaling scans of analog photo negatives
Replies: 5
Views: 11303

Re: Scaling scans of analog photo negatives

In the UK, a 4TB external disk costs around £130. If an image takes 0.2 GB, the disk would hold 20,000 images. So less than a penny per image, and the cost keeps dropping. Double or treble that for backups, of course. But still less than the cost of negative sleeves and binders. Scaling algorithms k...
by snibgo
2013-04-03T09:32:24-07:00
Forum: Bugs
Topic: Problem with ImageMagick 6.5.2-5
Replies: 11
Views: 6855

Re: Problem with ImageMagick 6.5.2-5

The oldest version I have is 6.5.8-8, on Windows 7. The command ...

Code: Select all

"%IMG658%identify" -format "%z\n %r\n %n\n" Brueckeninsp-123.tif
... works with no problem.
by snibgo
2013-04-03T09:13:09-07:00
Forum: Users
Topic: Scaling scans of analog photo negatives
Replies: 5
Views: 11303

Re: Scaling scans of analog photo negatives

Regarding file sizes, are you using a "-compress" option? You might find that this significantly reduces file size without losing any data (at the expense of processing time). Eg:

Code: Select all

convert in.tiff -compress Zip out.tiff
by snibgo
2013-04-02T21:42:18-07:00
Forum: Users
Topic: Problem with +transparent and +opaque
Replies: 4
Views: 4684

Re: Problem with +transparent and +opaque

If you want to replace all colours apart from a specified one with transparency, use "+transparent". See http://www.imagemagick.org/script/command-line-options.php#transparent convert input.jpg +transparent "#1A1414" output.jpg Your IM version is also very old; I don't know (and ...