What data type to specify in the CImg C++?
Hello, there is a piece of code
..... CImg <unsigned char> our_img("..."); .....
Wonder why type
? Is it possible a different type? And what does it depend?
March 23rd 20 at 19:22
Not running migrations in Django?
Like on button click in MSIE browser open Chrome or Yandex?
The relevance of the article "Teach Yourself Computer Science"?
Where can I download the template (or stylesheet) for opencart 2?
What is the difference between Xamarin and development at Bitrix.Mobile?
How to register alias .profile that they are not deleted after closing putty?
How to describe the concept system?
Why is the color reproduction on the HP laptop does not coincide with the screen of the Iphone and how to fix it?
More answers about
"What data type to specify in the CImg C++?"
March 23rd 20 at 19:24
This is the type which holds 1 pixel. From this type depends on the number of possible colors.
Other possible and I would suggest to use the type with a fixed size, such as uint32_t.
Find more questions by tags