Skip to content

Add OVERLAY, HARD_LIGHT, SOFT_LIGHT blend modes to PImageTest#1463

Open
khuntvidisha13 wants to merge 1 commit intoprocessing:mainfrom
khuntvidisha13:add-core-visual-tests
Open

Add OVERLAY, HARD_LIGHT, SOFT_LIGHT blend modes to PImageTest#1463
khuntvidisha13 wants to merge 1 commit intoprocessing:mainfrom
khuntvidisha13:add-core-visual-tests

Conversation

@khuntvidisha13
Copy link

What this PR does

Extends testAllBlendModesExactMatchStaticHelper in PImageTest.java
to include 3 missing blend modes:

  • OVERLAY
  • HARD_LIGHT
  • SOFT_LIGHT

Why

These blend modes exist in PConstants but were not being tested.
All 3 modes now verified against PImage.blendColor() static helper.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant