View Single Post
Old 08-28-2012, 04:52 PM   #100
grumbles
Addict
grumbles ought to be getting tired of karma fortunes by now.grumbles ought to be getting tired of karma fortunes by now.grumbles ought to be getting tired of karma fortunes by now.grumbles ought to be getting tired of karma fortunes by now.grumbles ought to be getting tired of karma fortunes by now.grumbles ought to be getting tired of karma fortunes by now.grumbles ought to be getting tired of karma fortunes by now.grumbles ought to be getting tired of karma fortunes by now.grumbles ought to be getting tired of karma fortunes by now.grumbles ought to be getting tired of karma fortunes by now.grumbles ought to be getting tired of karma fortunes by now.
 
grumbles's Avatar
 
Posts: 238
Karma: 1500000
Join Date: Nov 2009
Location: Toronto
Device: Pandigital Novel (Black), T-2 and 3, Nexus 7
ProDigit said

I'm missing is a compression program that will be intelligent enough to know that mimetype does not need to be compressed, and powerful enough to compress the rest of the files with a high compression ratio.

Funny you should say that. I am currently working on just a program. It takes the name of the epub you want to create, the name of the directory holding all the files and creates the zip. the mimetype is added first (stored) and then all the files it finds are added. It searches all found subdirectories as well. It only creates the zip, it will not add or replace files in an existing zip (epub). The code is rough at the moment but I tried it on few unzipped epubs and it appeared to work. It's written in FreePascal and I have w32 and Linux executables. It might be useful to someone else. It will be useful to me.
grumbles is offline   Reply With Quote