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

I need to display the width and height of the screenshot while resizing, Is there an event to capture resize event or is there any way to display the width and height of the screenshot while capturing or resizing #205

Open
Chandan-TY opened this issue Mar 24, 2023 · 4 comments
Labels
enhancement New feature or request

Comments

@Chandan-TY
Copy link

I need to display the width and height of the screenshot while resizing, Is there an event to capture resize event or is there any way to display the width and height of the screenshot while capturing or resizing

Expected behavior
Display the width and height of the screenshot while resizing or capturing

width height while resizing

  • OS: [windows, iOS, linux]
  • Electron [^16.0.5]
  • electron-screenshots [^0.5.18]

Please let me know if is there any way to display width and height while resizing, it's required for one of my implementations and it's very essential while capturing screenshots. If it's not present please implement it.

@Chandan-TY
Copy link
Author

Also, let me know if can i fix the width and height of the screenshot without allowing the user to resize it. Only the user should be able to move without resizing.

@Chandan-TY
Copy link
Author

sample image

I need to display the width and height like above image.

@nashaofu nashaofu added the enhancement New feature or request label Mar 24, 2023
@Chandan-TY
Copy link
Author

Hi @nashaofu
When can we expect this feature? We need this feature for our current project.

  1. Need to restrict resizing the image, and add the event while resizing.
  2. Fix the width and height and only allow it to move.
  3. Display width and height while resizing.

@nashaofu
Copy link
Owner

nashaofu commented Mar 28, 2023

Hi @nashaofu When can we expect this feature? We need this feature for our current project.

  1. Need to restrict resizing the image, and add the event while resizing.
  2. Fix the width and height and only allow it to move.
  3. Display width and height while resizing.

Display width and height while resizing. I can support this feature, but I haven't figured out how to design the other features

  • Display width and height while resizing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants