Skip to main content

BlendComposite

4 replies [Last post]
Spinnifex
Offline
Joined: 2011-03-29
Points: 0

Hello everyone,
Told me if I am wrong but it seems for me,
that the BlendComposite-modes GREEN & BLUE are swaped!?
If I use BlendComposite.GREEN on a blue gradient the image is getting blued.
Some other BlendComposite-modes are even not working ?
Like e.G. BlendComposite.COLOR.
I tested all Composites on BufferedImages where I fill the complete area with
a gradient paint.

Regards,
Spinnifex

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
kschaefe
Offline
Joined: 2006-06-08
Points: 0

Yes, it looks like the b and g are flipped in the BLUE and GREEN blending modes. Can you file a bug for that?

What problem are you experiencing with COLOR? How is the image differing from your expectation?

Karl

Spinnifex
Offline
Joined: 2011-03-29
Points: 0

Hi Karl,
Ok I write a bugreport.
@BlendComposite.COLOR : The problem is, that I don't know what it should produce because I get no documentation from nowhere.
Most of the composites are self explaining but this one and some other are not. Maybe we got to ask Romain Guy.
Greetings,
Spinnifex

kschaefe
Offline
Joined: 2006-06-08
Points: 0

Yeah, we need better documentation on these.  Looking at the source COLOR is hue and saturation, maintaing the general color of the sourc while using the luminance of the destination.

I guess we need a documentation bug as well.

Karl

Spinnifex
Offline
Joined: 2011-03-29
Points: 0

Re,
@Better documentation : true
@COLOR : Ok I got to more explain my testsuit. I use the Bloom-App from Filthy-Rich-Clients and change the
code, so that I can specify the blending mode. Maybe the COLOR-mode works but not in this special case of the
"bloom"-feature.
Spinnifex