Zip - AddPackFile - deflate or store
- Sebastian0107
- New User
- Posts: 4
- Joined: Fri Mar 18, 2016 3:26 pm
Zip - AddPackFile - deflate or store
It should be possible to choose between "deflate" or "store" to include a mimetype with no compression. It would be possible to generate OpenDocument- and ePub-Files with PB.
-
- Addict
- Posts: 1310
- Joined: Fri Aug 28, 2015 6:10 pm
- Location: Portugal
Re: Zip - AddPackFile - deflate or store
I am also looking into openoffice files to see if we can create and change them and from your first thread http://www.purebasic.fr/english/viewtop ... &hilit=zip came up with a zip\unzip programme to help make a start.
Hope it is of use.
Hope it is of use.
Any intelligent fool can make things bigger and more complex. It takes a touch of genius — and a lot of courage to move in the opposite direction.
- Sebastian0107
- New User
- Posts: 4
- Joined: Fri Mar 18, 2016 3:26 pm
Re: Zip - AddPackFile - deflate or store
Unfortunately it is not possible to put uncompressed files into a zip-container. Without the choice of "store" or "deflate" it is not possible to create openDocument-Files and other files, which must have a uncompressed mimetype.
-
- Addict
- Posts: 1310
- Joined: Fri Aug 28, 2015 6:10 pm
- Location: Portugal
Re: Zip - AddPackFile - deflate or store
Allready modyfied open office spreadsheets by unzipping changing and then rezipping so not attempting to put an uncompressed file into a zip container unzip first.
Have also tried with a .odt file. Unzipped then rezipped no problem. Try this http://www.purebasic.fr/english/viewtop ... 12&t=65415
Have also tried with a .odt file. Unzipped then rezipped no problem. Try this http://www.purebasic.fr/english/viewtop ... 12&t=65415
Any intelligent fool can make things bigger and more complex. It takes a touch of genius — and a lot of courage to move in the opposite direction.