diff --git a/src/Magnum/SceneTools/sceneconverter.cpp b/src/Magnum/SceneTools/sceneconverter.cpp index 4971792e9..0ee1b6234 100644 --- a/src/Magnum/SceneTools/sceneconverter.cpp +++ b/src/Magnum/SceneTools/sceneconverter.cpp @@ -1278,7 +1278,7 @@ is specified as well, the IDs reference attributes of the first mesh.)") totalImageDataSize += info.dataSize; } if(!imageInfos.isEmpty()) - Debug{} << "Total (uncompressed) image data size:" << Utility::format("{:.1f}", totalImageDataSize/1024.0f) << "kB"; + Debug{} << "Total image data size:" << Utility::format("{:.1f}", totalImageDataSize/1024.0f) << "kB"; if(args.isSet("profile")) { Debug{} << "Import took" << UnsignedInt(std::chrono::duration_cast(importTime).count())/1.0e3f << "seconds"; diff --git a/src/Magnum/Trade/imageconverter.cpp b/src/Magnum/Trade/imageconverter.cpp index d2688f196..5eb01f6af 100644 --- a/src/Magnum/Trade/imageconverter.cpp +++ b/src/Magnum/Trade/imageconverter.cpp @@ -514,6 +514,7 @@ key=true; configuration subgroups are delimited with /.)") else useColor = Debug::isTty() ? Debug::Flags{} : Debug::Flag::DisableColors; + std::size_t totalImageDataSize = 0; for(const Trade::Implementation::ImageInfo& info: infos) { Debug d{useColor}; if(info.level == 0) { @@ -542,7 +543,11 @@ key=true; configuration subgroups are delimited with /.)") << Debug::color(Debug::Color::Green) << info.dataFlags << Debug::resetColor; d << Debug::nospace << ")"; + + totalImageDataSize += info.dataSize; } + if(!infos.isEmpty()) + Debug{} << "Total image data size:" << Utility::format("{:.1f}", totalImageDataSize/1024.0f) << "kB"; if(args.isSet("profile")) { Debug{} << "Import took" << UnsignedInt(std::chrono::duration_cast(importTime).count())/1.0e3f << "seconds";