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

Large image scaling in interactive window #2

Open
ajfedorec opened this issue Aug 27, 2020 · 3 comments
Open

Large image scaling in interactive window #2

ajfedorec opened this issue Aug 27, 2020 · 3 comments

Comments

@ajfedorec
Copy link

This package seems really useful but I don't believe it is currently possible to use any of the functions with high resolution images (i.e. more pixels than my monitor) because the images are displayed within the interactive window at full resolution and are cut off at the size of the window.

Is it possible to scale the images to fit in the interactive window or, as a stop gap, provide scroll bars?

@ShotaOchi
Copy link
Owner

You can scale image just for preview by setting scale parameter if you use the developmental version of magickGUI.
For example, run the following code.

devtools::install_github("ShotaOchi/magickGUI")
library(magickGUI)
interactive_blur(wizard, scale = "100x")

However, some functions such as interactive_fill ffunction don't have scale parameter.
I will add scale parameter into all functions and submit the new version of magickGUI package to CRAN.

@ajfedorec
Copy link
Author

Thank you. That's exactly what I need but specifically for interactive_crop().

@ShotaOchi
Copy link
Owner

I'm sorry for my late response.
I added scale parameter into interactive_crop function.
Now it's on CRAN.
Please let me know if there is any bug.

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

No branches or pull requests

2 participants