Input file size different than output file size. #329

Closed
opened 2026-01-29 20:42:05 +00:00 by claunia · 0 comments
Owner

Originally created by @p2jason on GitHub (Jul 23, 2020).

Hello,

I have an XML file that is 64.7 MB (67,934,807 bytes to be exact). After I compress and decompress it with Brotli level 1, the output file is 64.0 MB (67,173,375 bytes). I diff-ed the two files and found out that the last 761,432 bytes of the input file are missing from the output file. The rest of the files are identical. I tried using another file and I had the same problem.

I am using the 1.0.7 release, but I have also tried the latest version of the repository.

This is my code: main.txt

Can someone please help me figure out what I am doing wrong?

Originally created by @p2jason on GitHub (Jul 23, 2020). Hello, I have an XML file that is 64.7 MB (67,934,807 bytes to be exact). After I compress and decompress it with Brotli level 1, the output file is 64.0 MB (67,173,375 bytes). I diff-ed the two files and found out that the last 761,432 bytes of the input file are missing from the output file. The rest of the files are identical. I tried using another file and I had the same problem. I am using the 1.0.7 release, but I have also tried the latest version of the repository. This is my code: [main.txt](https://github.com/google/brotli/files/4967792/main.txt) Can someone please help me figure out what I am doing wrong?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/brotli#329