Skip to content

Conversation

@jstaab
Copy link
Contributor

@jstaab jstaab commented Feb 20, 2020

I have a super specific scenario that was failing, but looking at some of the open issues maybe there is a wider audience for this. Possibly #1695

In my case, a flipped and rotated image with compositeOperation='lighter' was rendering improperly when on high pixel density monitors. (Retina displays). It was fine otherwise.

The issue seems to have been with the order of operations between applying a multiplier for pixel density, and reversing the x-coordinate polarity. Before this patch, the numbers shoot off in the wrong direction.

Happy to discuss, if you see issues or I am completely off the mark, as it's my first PR here!

Copy link
Member

@iangilman iangilman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! That certainly seems like the right solution to me. Thank you for doing this!

@iangilman iangilman merged commit 4a62263 into openseadragon:master Feb 24, 2020
iangilman added a commit that referenced this pull request Feb 24, 2020
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.

2 participants