You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This seems like one of those things where I have to be missing the obvious. I would like to simply display the image without the coordinate information and lines. I tried using the display_info parameter in the display() function but didn't make a difference. I have spent an hour or two on this issue but to no avail. What am I missing? Thank you.
Jim
The text was updated successfully, but these errors were encountered:
Thank you. I will see if I can adjust my code to use this instead of the display() function. That doing what I needed other than the info being displayed.
Jim
From: David Tschumperlé ***@***.***>
Sent: Friday, June 7, 2024 11:16 AM
To: GreycLab/CImg ***@***.***>
Cc: Jim Taylor ***@***.***>; Author ***@***.***>
Subject: Re: [GreycLab/CImg] Turn Off Coordinate Info in Display (Issue #420)
Here's a basic example of using the CImgDisplay class for doing this:
#include "CImg.h"
using namespace cimg_library;
int main() {
CImg<> img(640,480,1,3,0);
img.draw_plasma(1,1).normalize(0,255);
CImgDisplay disp(img);
while (!disp.is_closed()) {
disp.wait();
if (disp.is_resized()) disp.resize().display(img);
}
return 0;
}
—
Reply to this email directly, view it on GitHub<#420 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AGAFOTFD4POAQWSJN4IKI43ZGHMDVAVCNFSM6AAAAABI5XOLNKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNJVGE2DKMRQG4>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
This seems like one of those things where I have to be missing the obvious. I would like to simply display the image without the coordinate information and lines. I tried using the display_info parameter in the display() function but didn't make a difference. I have spent an hour or two on this issue but to no avail. What am I missing? Thank you.
Jim
The text was updated successfully, but these errors were encountered: