| 259 | } |
| 260 | |
| 261 | static bool cmpExtension(const char *path, const char *ext) { |
| 262 | for (const char *a = path+strlen(path)-1, *b = ext+strlen(ext)-1; b >= ext; --a, --b) |
| 263 | if (a < path || toupper(*a) != toupper(*b)) |
| 264 | return false; |
| 265 | return true; |
| 266 | } |
| 267 | |
| 268 | template <int N> |
| 269 | static const char *writeOutput(const BitmapConstSection<float, N> &bitmap, const char *filename, Format &format) { |
no test coverage detected