From fc2996968ecaa8ce36508f4036bea082684850a1 Mon Sep 17 00:00:00 2001 From: Josh Veitch-Michaelis Date: Fri, 15 Mar 2019 21:58:53 +0000 Subject: [PATCH] find annotation files for tiff images --- src/utils.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/utils.c b/src/utils.c index b4d17c23..904aa2e0 100644 --- a/src/utils.c +++ b/src/utils.c @@ -252,6 +252,8 @@ void replace_image_to_label(const char* input_path, char* output_path) find_replace_extension(output_path, ".BMP", ".txt", output_path); find_replace_extension(output_path, ".ppm", ".txt", output_path); find_replace_extension(output_path, ".PPM", ".txt", output_path); + find_replace_extension(output_path, ".tiff", ".txt", output_path); + find_replace_extension(output_path, ".TIFF", ".txt", output_path); } float sec(clock_t clocks)