EPUB files are zip archives and the files in them follow a specification. If you have correct files just zip them and change the name of the file. Actually creating an EPUB is far more than compression so I don't see the point in adding such a feature.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The trick is, there's a file called "mimetype" that should be the first file in the zip and mustn't be compressed (the rest of the book can use compression).
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
That goes back to my previous point; EPUB files are not a storage format and are specialized for a specific purpose. This feature seems very out of scope for 7zip. Obviously this will go to the project owners (if they browse these), but I think this feature isn't a good idea.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I very much disagree, all you have to do is detect when the userenters .epub as the file extension, if so create the archive with the mimetype file uncompressed and first, then compress everything else.
it would literally only require a if statement, and extending the file type detection code
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
EPUB files are zip archives and the files in them follow a specification. If you have correct files just zip them and change the name of the file. Actually creating an EPUB is far more than compression so I don't see the point in adding such a feature.
The trick is, there's a file called "mimetype" that should be the first file in the zip and mustn't be compressed (the rest of the book can use compression).
That goes back to my previous point; EPUB files are not a storage format and are specialized for a specific purpose. This feature seems very out of scope for 7zip. Obviously this will go to the project owners (if they browse these), but I think this feature isn't a good idea.
I very much disagree, all you have to do is detect when the userenters .epub as the file extension, if so create the archive with the mimetype file uncompressed and first, then compress everything else.
it would literally only require a if statement, and extending the file type detection code
I have created more specific request. All I need in fact is to have a possibility to have the
mimetype
file first, by adding it first.