Search found 8 matches

by jflux
2013-02-09T20:52:14-07:00
Forum: MagickWand for PHP
Topic: Alpha/Transparency No Longer Preserved Using Filters
Replies: 7
Views: 81458

Re: Alpha/Transparency No Longer Preserved Using Filters

Awesome! Will Magickwand for PHP also be updated to include the MagickStatisticImageChannel function? (its the real function desired, already in wand but not magickwand for php) Now that I'm getting more familiar with the source (rather than just the thrown together quickfix above), I wouldn't mind ...
by jflux
2013-02-09T00:43:35-07:00
Forum: MagickWand for PHP
Topic: Alpha/Transparency No Longer Preserved Using Filters
Replies: 7
Views: 81458

Re: Alpha/Transparency No Longer Preserved Using Filters

OK, I've created a workaround / new feature that someone on the dev team can make better, hopefully implement.. Also found bugs in regular magickwand.. Since the filter functions are listed as deprecated, I've written an add-on to implement MagickStatisticImageChannel in Magickwand for PHP, BUG ALER...
by jflux
2013-02-08T00:55:37-07:00
Forum: MagickWand for PHP
Topic: Alpha/Transparency No Longer Preserved Using Filters
Replies: 7
Views: 81458

Re: Alpha/Transparency No Longer Preserved Using Filters

Possible progress.. Just discovered convert input.png -alpha on -statistic median 3x3 out.png does NOT preserve alpha on my end.. thought it did, but doesn't. convert input.png -channel rgba -statistic median 3x3 out.png DOES preserve alpha.. (using 6.8.2-4 on Linux Mint) Doesn't solve the Magickwan...
by jflux
2013-02-07T23:18:09-07:00
Forum: MagickWand for PHP
Topic: Alpha/Transparency No Longer Preserved Using Filters
Replies: 7
Views: 81458

Re: Alpha/Transparency No Longer Preserved Using Filters

I tried MW_ActivateAlphaChannel and it still blacked out the entire background, blocked up the overlay, playing with it now to see if I missed something, but appears to do the same. Haven't tried imagick yet. Attempted with both .gif , .png, and images strictly generated by Magickwand. All have perf...
by jflux
2013-02-07T21:26:23-07:00
Forum: MagickWand for PHP
Topic: Alpha/Transparency No Longer Preserved Using Filters
Replies: 7
Views: 81458

Alpha/Transparency No Longer Preserved Using Filters

Alpha is no longer being processed with the StatisticImage / filter functions in Magickwand for PHP. Was hoping an extra undocumented command had been included to do this, but from the source, doesn't appear so. MagickMedianFilterImage and MagickReduceNoiseImage both have the problem, possibly other...
by jflux
2013-02-07T20:57:17-07:00
Forum: Bugs
Topic: Transparency removed
Replies: 7
Views: 17614

Re: Transparency removed

The command line options and non PHP scripts appear to work here as well. Appears the problem is specific to Magickwand for PHP. The Magickwand for PHP devs likely need to figure this one out. I can't find an option in their source that passes alpha to the filter, so if it's now required, it's likel...
by jflux
2013-02-07T11:17:51-07:00
Forum: Bugs
Topic: Transparency removed
Replies: 7
Views: 17614

Re: Transparency removed

Thanks for info. I know it's capable of preserving the alpha thru command line, but for whatever reason the magickwand function no longer appears to do so. This is an existing project (DOD image processing algorithm) that we run thru a php / magickwand setup. Everything attempted thru magickwand and...
by jflux
2013-02-06T22:56:51-07:00
Forum: Bugs
Topic: Transparency removed
Replies: 7
Views: 17614

Re: Transparency removed

Noticing a similar problem when filtering using functions that are calling StatisticImage. MagickMedianFilterImage MagickReduceNoiseImage both replace the Transparency with solids and a black background, no longer appears to process the alpha data, looks like it strips the alpha then processes. Atte...