Trim space from end of libvips error messages

This commit is contained in:
Lovell Fuller
2023-03-24 09:58:21 +00:00
parent 0af070ed93
commit b55e58f31e
6 changed files with 16 additions and 4 deletions

View File

@@ -182,6 +182,11 @@ namespace sharp {
bool IsDzZip(std::string const &str);
bool IsV(std::string const &str);
/*
Trim space from end of string.
*/
std::string TrimEnd(std::string const &str);
/*
Provide a string identifier for the given image type.
*/