openframeworks / openframeworks/openFrameworks
grabScreen gives black when width equals certain values. FIX may be found
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 10.4k
- Forks
- 2.6k
- Avg merge
- 1d 21h
- Merged PRs (30d)
- 9
Description
I have a strange behavior of grabScreen. I get a black image when width captured = 69 or 70 or 71
But I have the right image when width captured = 67 / 68 / 72 / or more
Some other higher values also gives black.
Height doesn't seem to have an influence
ofImage img
img.clear();
img.grabScreen(0,0,70,100);
img.draw(0,200);
I'm using Head on OSX 10.10.5
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Locate the grabScreen implementation and reproduce the issue on OS X using widths 67 through 72 and the other failing values described in the report. Trace the screen-capture path and verify that the resulting images are non-black for the affected widths.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- computer-graphics, desktop
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100