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

zooming smoothes image instead of showing pixels #168

Open
gtlv97dot6 opened this issue Feb 16, 2022 · 3 comments
Open

zooming smoothes image instead of showing pixels #168

gtlv97dot6 opened this issue Feb 16, 2022 · 3 comments
Labels
bitmap-editor Is about the bitmap editor support Is a Q&A thread

Comments

@gtlv97dot6
Copy link

Hi Damien,

great tool you have here. I was trying it and noticed that when zooming all the way to the max on the picture I want to annotate, the editor is interpolating. I went to look in the code if there was something I could easily try and I saw that you already configured it this way from the very beginning. However, on Firefox and Chromium on linux, Firefox, Edge and, Chrome on Windows, there is smoothing despite your configuration.
Not knowing the stack and not being a Node.js programmer, I figured it might be faster to ask you if you know what is going on rather than digging for hours.

Thanks, for the software and for the help/fix if you can provide it.

Cheers

@gtlv97dot6 gtlv97dot6 changed the title zooming smoothes image zooming smoothes image instead of showing pixles Feb 16, 2022
@gtlv97dot6 gtlv97dot6 changed the title zooming smoothes image instead of showing pixles zooming smoothes image instead of showing pixels Feb 16, 2022
@dmandrioli dmandrioli added bitmap-editor Is about the bitmap editor support Is a Q&A thread labels Mar 2, 2022
@dmandrioli
Copy link
Member

Thank you! I fully agree than smoothing is not expected in the context of labeling and I did try to get something working.
I think it was working in 2018...maybe something changed in browser implementation.

@gtlv97dot6
Copy link
Author

Hello Damien, I managed to get some time to try some changes here and there. By updating paperjs to the most recent version I got back the expected behaviour in terms of smoothing, however it broke the placement of the image and I could not find a way to fix it. I tried all sorts of changes in imageLoaded and resizeCanvas but without success.

@dmandrioli
Copy link
Member

Thank you for your feedback. Actually I also tried some experiments without success...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bitmap-editor Is about the bitmap editor support Is a Q&A thread
Projects
None yet
Development

No branches or pull requests

2 participants