Open hafedh-trimeche opened 1 year ago
Hello, Would this function be used to load image from memory and how to free it?
CImg<unsigned char> load_img_from_memory(char* buffer, int w, int h, int s) { return CImg<unsigned char>(buffer, s, w, h); }
Best regards.
Hello, Would this function be used to load image from memory and how to free it?
Best regards.