Page 1 of 1
Zip - AddPackFile - deflate or store
Posted: Mon Mar 21, 2016 9:52 am
by Sebastian0107
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.
Re: Zip - AddPackFile - deflate or store
Posted: Tue Mar 29, 2016 8:50 am
by collectordave
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.
Re: Zip - AddPackFile - deflate or store
Posted: Fri Apr 08, 2016 4:34 pm
by Sebastian0107
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.
Re: Zip - AddPackFile - deflate or store
Posted: Sat Apr 09, 2016 5:09 am
by collectordave
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