Search found 38 matches

by tcrass
2013-05-17T12:08:39-07:00
Forum: Users
Topic: One more: sRGB grayscale PNGs getting too dark
Replies: 7
Views: 8164

One more: sRGB grayscale PNGs getting too dark

Hi everyone, perhaps my problem will eventually dissolve into thin air once a more recent version of IM gets available through the Debian repositories (I'm on 6.7.7-10 2012-11-06 for Sid), but I keep wondering about a certain aspect of colorspace handling. Apparently, many of you already have encoun...
by tcrass
2010-07-23T00:59:35-07:00
Forum: Users
Topic: Increasing transparency using a grayscale mask
Replies: 3
Views: 9157

Re: Increasing transparency using a grayscale mask

Hi fmw42, convert image.png \( -clone 0 -alpha extract maskimage -compose multiply -composite \) \ -alpha off -compose copy_opacity -composite result.png thanks a lot, '-alpha extract' was what I needed, and it was very easey to implement the above procedure in PerlMagick. :-) Anthony, The better wa...
by tcrass
2010-07-21T13:17:31-07:00
Forum: Users
Topic: Increasing transparency using a grayscale mask
Replies: 3
Views: 9157

Increasing transparency using a grayscale mask

Hi everyone, after some 6 hours of fiddling around and searching the WebI I am staring to get a little desperate... Somehow I just seem to be incapable of understanding home IM handles transparency (as opposed to, say, GIMP). Hence I finally decided to just ask for help on the following task: I hava...
by tcrass
2009-12-28T11:14:48-07:00
Forum: PerlMagick
Topic: simoidalContrast: unrecognized 'mid-point'
Replies: 3
Views: 19766

Re: simoidalContrast: unrecognized 'mid-point'

Use '3x50%' or use an absolute value that scales to the quantum-depth of your ImageMagick distribution. Most likely its Q16 so use 59000 instead of 90. That works, thanks a lot! :-) The original posting is from 2006 -- any chance that either PerlMagick or the documentation gets updated? Regards -- ...
by tcrass
2009-12-28T03:09:32-07:00
Forum: PerlMagick
Topic: simoidalContrast: unrecognized 'mid-point'
Replies: 3
Views: 19766

Re: simoidalContrast: unrecognized 'mid-point'

Hi threre, Until we get a patch in the current ImageMagick release, use image->SigmoidalContrast( "3x50" ); it seems that currently neither this method, nor the parameters described in the PerlMagic documentation work as they should. At least for me, the following bit of code my $img = Ima...
by tcrass
2009-11-25T03:45:25-07:00
Forum: PerlMagick
Topic: PerlMagick equivalent of "+map," remove Local Color Tables?
Replies: 10
Views: 28587

Re: PerlMagick equivalent of "+map," remove Local Color Tables?

magick wrote:We can reproduce the problem you posted and will have a patch available by sometime tomorrow.
Great!

Thanx --

tcrass
by tcrass
2009-11-23T01:30:51-07:00
Forum: PerlMagick
Topic: PerlMagick equivalent of "+map," remove Local Color Tables?
Replies: 10
Views: 28587

Re: PerlMagick equivalent of "+map," remove Local Color Tables?

Remap() has a dither-method option. Use "None" to not dither the results. Ah, thanks! But this is not yet documented on http://www.imagemagick.org/script/perl-magick.php, is it? Regards -- tcrass [EDIT] Hmm... seems not to work. The following piece of code outputs a dithered image (error ...
by tcrass
2009-11-22T12:07:06-07:00
Forum: PerlMagick
Topic: PerlMagick equivalent of "+map," remove Local Color Tables?
Replies: 10
Views: 28587

Re: PerlMagick equivalent of "+map," remove Local Color Tables?

Hi there,

does anyone know if there is there a way to *prevent* dithering when calling Remap() -- and is willing to share this information with me? ;-)

Thanx --

tcrass