Quantcast
Channel: magick Discussions Rss Feed
Viewing all articles
Browse latest Browse all 3693

New Post: MagickImage.Composite method: usage of 2 CompositeOperators

$
0
0
Dear Community,

I am using the latest stable (Nuget) version of Magick.NET-Q8-AnyCPU 7.0.4.400 and currently trying to port the 'cartoon' effect of Fred's infamous ImageMagick scripts, I came across the following problem:
It seems to be a valid use of the ImageMagick API to use 2 Composite operators as follows in one Composite operation:
-compose over -compose colordodge -composite 
The Magick.NET API seems to offer the Composite operator only as a normal enum. I was rather expecting a [Flags] enum so that I could specify 2 operators as (CompositeOperator.Over | CompositeOperator.ColorDodge)
Am I missing something? To me it seems that that the result would not be the same when calling Composite twice with the two enum values.

I would greatly appreciate any feedback on this because this seems to be last missing puzzle in porting the script, which would be a great addition to the 8 already existing ports on NuGet for Fred's ImageMagick scripts.

Viewing all articles
Browse latest Browse all 3693

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>