Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(image_composition): image::imageops::{overlay -> replace} #69

Closed
wants to merge 1 commit into from

Conversation

Shinyzenith
Copy link
Member

@Shinyzenith Shinyzenith commented Oct 12, 2023

  • Overlay takes into account the underlying pixel and the overlayed pixel to interpolate the final pixel data.

    Eg: This takes effect for transparent regions in PNG images.

  • Replace performs the same operation for us but instead it does not perform the pixel interpolation and instead just replaces the pixel.

@Shinyzenith Shinyzenith force-pushed the patch branch 3 times, most recently from c7b413c to 79d901c Compare October 12, 2023 12:24
* Overlay takes into account the underlying pixel and the overlayed
  pixel to interpolate the final pixel data.

  Eg: This takes effect for transparent regions in PNG images.

* Replace performs the same operation for us but instead it does not
  perform the pixel interpolation and instead just replaces the pixel.

Signed-off-by: Shinyzenith <[email protected]>
@Shinyzenith
Copy link
Member Author

This is better done by PR #71 and #72

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

Successfully merging this pull request may close these issues.

1 participant