Coder Social home page Coder Social logo

Comments (6)

ianzhao05 avatar ianzhao05 commented on June 17, 2024

Thanks for reporting this. Can you elaborate? What OS are you using? If you add pil_img.show() at around line 85, does it show the correct or incorrect image? If you don't mind to do some debugging, if you print self.start and self.end in mouseReleaseEvent at line 68, do they represent the correct coordinates?

from textshot.

IshaanOhri avatar IshaanOhri commented on June 17, 2024

I'm using Mac OS 11.0 Beta. I had already debugged the code before opening the issue. So my display is 2560 x 1600 but the window size shown is 1680 x 1050. Either you need to change the resolution of the window or probably scale down the screenshot to the window resolution.

from textshot.

ianzhao05 avatar ianzhao05 commented on June 17, 2024

Ok, I am aware that is is a bit buggy on macOS. I will try to find a fix.

from textshot.

IshaanOhri avatar IshaanOhri commented on June 17, 2024

I have taken inspiration from your project and created a similar one of my own with added features and have solved this issue in there. You could refer Capture

from textshot.

ianzhao05 avatar ianzhao05 commented on June 17, 2024

Hmm, the link worked a second ago but now it doesn't? If you know how to solve this issue, please feel free to make a pull request! I am interested in seeing how you did it.

from textshot.

IshaanOhri avatar IshaanOhri commented on June 17, 2024

The link is working fine. I guess it might be some server issue or something.
By the way, PR created.
I'm therefore closing the issue.

from textshot.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.