Hey again,
Again, much gratitude for this amazing package.
I use imager in my own package, and I need to grab 4 points off of the same image. I then repeat the process for several images.
There is some weird behavior of the pop-up image window however. The first time the pop-up opens after calling grabPoint, everything is fine. The image opens up centered in the R console. However, for the next three times I need to grab points, the pop-up shows up in random locations. It is really time consuming to have to grab the pop-up window, center it again, then click to grab the point, and then have to repeat this process.
Digging through the code, I follow the grabPoint function, and see that it depends on select() inside the CImg.h file.
I think somewhere in there, it is programmed to move the screen location of each successive interactive window? Is there an option that could be set by imager, so that the window always opens in the same location?
If you could let me know of anyway to make this happen, even if it means I have to build from source, it would be a HUGE help to me!
Thanks in advance!

Hey again,
Again, much gratitude for this amazing package.
I use imager in my own package, and I need to grab 4 points off of the same image. I then repeat the process for several images.
There is some weird behavior of the pop-up image window however. The first time the pop-up opens after calling grabPoint, everything is fine. The image opens up centered in the R console. However, for the next three times I need to grab points, the pop-up shows up in random locations. It is really time consuming to have to grab the pop-up window, center it again, then click to grab the point, and then have to repeat this process.
Digging through the code, I follow the grabPoint function, and see that it depends on select() inside the CImg.h file.
I think somewhere in there, it is programmed to move the screen location of each successive interactive window? Is there an option that could be set by imager, so that the window always opens in the same location?
If you could let me know of anyway to make this happen, even if it means I have to build from source, it would be a HUGE help to me!
Thanks in advance!
