svg2png: update the error messages.
authorHermet Park <chuneon.park@samsung.com>
Fri, 12 Nov 2021 03:00:01 +0000 (12:00 +0900)
committerJunsuChoi <jsuya.choi@samsung.com>
Tue, 16 Nov 2021 08:37:47 +0000 (17:37 +0900)
@Issue: https://github.com/Samsung/thorvg/issues/1031

src/bin/svg2png/svg2png.cpp

index c646918..567365f 100644 (file)
@@ -233,11 +233,11 @@ public:
                         if ((ret = renderFile(real_path))) break;
                     } else {
                         //not a directory and not .svg file
-                        cout << "Warning: File \"" << path << "\" is not a proper svg file." << endl;
+                        cout << "Error: File \"" << path << "\" is not a proper svg file." << endl;
                     }
 
                 } else {
-                    cout << "Warning: File \"" << path << "\" is invalid." << endl;
+                    cout << "Error: Invalid file or path name: \"" << path << "\"" << endl;
                 }
             }
         }