Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ODT corruption #15

Closed
javiergutierrezchamorro opened this issue May 17, 2015 · 3 comments
Closed

ODT corruption #15

javiergutierrezchamorro opened this issue May 17, 2015 · 3 comments

Comments

@javiergutierrezchamorro

As reported on FileOptimizer discussion (http://sourceforge.net/p/nikkhokkho/discussion/fileoptimizer/thread/666f945a/#2f64)

Setup: Win7x86 with FileOptimizer v7.60.1252

Steps:

Optimize a large LibreOffice ODT (Open Text Document) file (tested on 898k and 130k files)

Open file
Defect:
http://i.imgur.com/wqV9QHP.png

OpenOffice 4.1.1 had the same response. LibreOffice (v4.3.5.2 and v4.3.7.2) prompted me to repair it and it came back ok.

Tested both with 32 and 64-bit versions and operating systems.

File compression was excellent: 898k -> 751k (or 84%). This is remarkable because it's even better than a 7-zip "ultra"-level compression of the same file, which cut less than 1% off the file size.

@JayXon
Copy link
Owner

JayXon commented May 18, 2015

It seems the test file contains an entry with 0 file size, but still use deflate compression instead of store, which waste 2 byte.
I thought nobody would do something like this, but apparently I was wrong.

I'll push the fix once I tested it.

@JayXon JayXon closed this as completed in 5dc6ace May 18, 2015
@javiergutierrezchamorro
Copy link
Author

Thanks.

@javiergutierrezchamorro
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants