syoyo / tinydng

Header-only Tiny DNG/TIFF loader and writer in C++
MIT License
151 stars 30 forks source link

Excessive Printing/Output #21

Closed rajkundu closed 2 years ago

rajkundu commented 2 years ago

Hello! I just began using this library (it's great - thank you for it!), and I am getting excessive output to stdout when simply trying to load a TIFF file.

I see that the flag TINY_DNG_LOADER_DEBUG enables debug output. However, it seems that as of commit 9c10667, this flag has become unconditionally enabled.

Perhaps I am missing something, but should the linked line above be commented out as in previous commits?

syoyo commented 2 years ago

@rajkundu Good catch! Guess I've commit it by mistake. You can simply uncomment to suppress debug print for a while. You can also send a PR to fix it!(simply delete/uncomment that line)

rajkundu commented 2 years ago

Made a PR at #22!