best thing would be store the format urself when u load the imageThere is a format() function, but it is an enum, like QImage::Format_Invalid, QImage::Format_Mono, QImage::Format_MonoLSB, QImage::Format_Indexed8, QImage::Format_RGB32, QImage::Format_ARGB32, but I need this information in the following form: char* like PNG, JPG, JPEG, etc.
What is the easiest solution for this problem?![]()




Reply With Quote

Bookmarks