diff options
author | Lode <lvandeve@gmail.com> | 2015-04-19 16:05:50 +0200 |
---|---|---|
committer | Lode <lvandeve@gmail.com> | 2015-04-19 16:05:50 +0200 |
commit | 768e2e1ba48f539d1d32cfbca432b5005d931a48 (patch) | |
tree | d4883e6959ae387a319bf6b7ce98de5a8fe3343b | |
parent | c451d74802333e861ca60f8a5a95ac11a83b5829 (diff) | |
parent | 438234d477a6301c0d30f1694b519c483423eee3 (diff) |
Merge branch 'master' of https://github.com/lvandeve/lodepng
-rw-r--r-- | pngdetail.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pngdetail.cpp b/pngdetail.cpp index 98f03d2..e812a42 100644 --- a/pngdetail.cpp +++ b/pngdetail.cpp @@ -435,11 +435,11 @@ void printZlibInfo(const std::vector<unsigned char>& in, const Options& options) { std::cout << "Block sizes (uncompressed): "; for(size_t i = 0; i < zlibinfo.size(); i++) - std::cout << (zlibinfo[i].compressedbits / 8) << " "; + std::cout << zlibinfo[i].uncompressedbytes << " "; std::cout << std::endl; std::cout << "Block sizes (compressed): "; for(size_t i = 0; i < zlibinfo.size(); i++) - std::cout << zlibinfo[i].uncompressedbytes << " "; + std::cout << (zlibinfo[i].compressedbits / 8) << " "; std::cout << std::endl; std::cout << "Block boundaries (uncompressed): "; for(size_t i = 0; i + 1 < boundaries_uncompressed.size(); i++) |