Commit Graph
211 Commits
Author SHA1 Message Date
Ciro Mattia Gonano b01e8e2bc2 Version bumping 2013-03-07 10:53:28 +01:00
Ciro Mattia Gonano 6836c6ee17 PEP-8 codestyle (sorry for newline on long lines, PEP-8 want at max 78char-long lines...) 2013-03-06 22:47:17 +01:00
Paweł Jastrzębski 4a0497addc Fixed bug - CSS directory depth 2013-03-06 20:23:18 +01:00
Paweł Jastrzębski e2f5c549aa GUI improvements
Option sorting resolved slighty lame but it work.
2013-03-06 20:12:27 +01:00
Paweł Jastrzębski a8195d44ee Little cleaning and normalisation 2013-03-06 18:01:12 +01:00
Ciro Mattia Gonano 62475e12c6 Merge branch 'master' 2013-03-06 16:29:56 +01:00
Paweł Jastrzębski 6a298175f0 CSS Formatting 2013-03-06 13:39:51 +01:00
Paweł Jastrzębski 690f0298e6 Merge https://github.com/devernay/kcc into kcc-epubmargins 2013-03-06 13:08:26 +01:00
Frédéric Devernay 32391f6a5a better epub support (grabbed from calibre): get rid of those small margins 2013-03-06 12:11:50 +01:00
Paweł Jastrzębski 718af10be7 Updated GUI
Plus small notquantize tweaks.
2013-03-05 23:41:48 +01:00
Paweł Jastrzębski b162425e52 Added option to disable dithering 2013-03-05 22:31:26 +01:00
Paweł Jastrzębski f1b63420f6 Merge branch 'master' of https://github.com/devernay/kcc into kcc-gamma 2013-03-05 21:49:24 +01:00
Ciro Mattia Gonano 95e7329abf Revert to POSIX path - win7 kindlegen seems to want them 2013-03-05 19:25:00 +01:00
Frédéric Devernay 5d3b7e83f5 add --nosplitrotate option (is the name right?) 2013-03-05 17:58:24 +01:00
Frédéric Devernay 751e6eb4e7 save dithered images as PNG, and linearize (inverse gamma) before dithering 2013-03-05 17:56:43 +01:00
Ciro Mattia Gonano 074e31cb2e Revert to POSIX path - win kindlegen seems to work 2013-03-05 17:31:34 +01:00
Ciro Mattia Gonano e7e87d03cd Replace backslashes in path, too (win paths) 2013-03-05 17:12:48 +01:00
Paweł Jastrzębski 825eafad7f Fixed bug caused by formating
2:0 Mr. Ciromattia :-)
2013-03-05 16:52:22 +01:00
Paweł Jastrzębski f805984c1c Fixed logic - Inserting blank-page records
Variable "facing" could be bool but this way code is more readable.
2013-03-05 16:28:22 +01:00
Paweł Jastrzębski 3848c8da57 Closing media-type might be good idea
:-)
2013-03-05 14:02:03 +01:00
Ciro Mattia Gonano 3faef90afe Version bump for 2.6 2013-03-05 12:50:27 +01:00
Ciro Mattia Gonano ef8469add4 Fix path for blank page 2013-03-05 12:48:22 +01:00
Ciro Mattia Gonano 5ebf6af92a Merge from lanscape branch 2013-03-05 11:57:40 +01:00
Ciro Mattia Gonano cc3237d051 Formatting and PEP-8 codestyle 2013-03-05 11:54:23 +01:00
Ciro Mattia Gonano 3c187889d1 Image has already-set profile, so use the inited one 2013-03-05 11:50:33 +01:00
Ciro Mattia Gonano 1a9db245bf Code cleanup 2013-03-05 11:27:50 +01:00
Paweł Jastrzębski e92ee81617 Fixed single empty page on end of book. 2013-03-04 19:52:38 +01:00
Paweł Jastrzębski 193ad9382c Disabled new resizeImage function for older Kindle. 2013-03-04 17:05:16 +01:00
Paweł Jastrzębski 8802c24ad0 Don't create blank-page records for older Kindle. 2013-03-04 16:21:12 +01:00
Paweł Jastrzębski 0398d7bf93 Don't create blank-page records for older Kindle.
Kindle without Landscape mode show blank-page records incorrectly.
2013-03-04 16:14:11 +01:00
Paweł Jastrzębski 7275856549 Landscape mode support - Image part. Not perfect.
New resizeImage function to properly display splitted pages in landscape
mode.
Enabling upscaling or stretching might result with not correct display
of splitted pages in landscape mode.
2013-03-04 15:22:00 +01:00
Paweł Jastrzębski 8d5ccf5d27 Landscape mode support - EPUB part.
Code create proper landscape enabled EPUB file.
Rewritten itemref function (#198) ensures that splited pages will be
displayed together.
2013-03-04 11:36:57 +01:00
Paweł Jastrzębski 166b25bec1 Fixed HTML template. For real this time :-)
Misunderstood nature of the problem. It was caused by subdirectory
depth.
2013-03-03 22:36:54 +01:00
Paweł Jastrzębski f5eeb68f79 Fixed HTML template.
Old code produced broken div + wrong src:
<div><img src="../<div><img src="../Images/X/Y.jpg" alt="Y.jpg"
class="singlePage"/></div>
2013-03-03 22:18:10 +01:00
Ciro Mattia Gonano ae1fd4f965 Dev version bump 2013-03-03 14:40:48 +01:00
Ciro Mattia Gonano 1bde9bad04 Update README 2013-03-03 14:39:11 +01:00
Ciro Mattia Gonano aaef0aaf16 "Natural sorting" for image files (closes #18) 2013-03-03 14:35:59 +01:00
Ciro Mattia Gonano 3c45ab0903 Add option for epub output (closes #22) 2013-03-03 14:26:04 +01:00
Ciro Mattia Gonano 5103a80bb5 Use random UUID for meta header 2013-03-03 12:56:25 +01:00
Ciro Mattia Gonano 39b4bc5ec0 Add rendition:layout and rendition:orientation meta tags (supported by new kindlegen 2.8) 2013-03-03 12:47:19 +01:00
Ciro Mattia Gonano b6b6bf5d1f Add rotate option to GUI 2013-03-02 19:38:08 +01:00
Paweł Jastrzębski f559463d90 Added option to rotate images instead spliting. 2013-03-02 17:31:56 +01:00
Ciro Mattia Gonano 1edbe389ba Mainly adhere to PEP 8 code style (http://www.python.org/dev/peps/pep-0008/)
Add some commented code for working on Panel view enhancement and natural sorting.
2013-03-01 16:21:54 +01:00
Ciro Mattia Gonano f7b5ff982d Added primary-writing-mode metatag (fixes #19) 2013-02-26 16:52:37 +01:00
Ciro Mattia Gonano e1c0b5e0bc Added --black-borders option to set added borders black when page's ratio is not the device's one (fixes #11).
Fixes epub containing zipped itself (fixes #10).
2013-02-05 19:13:13 +01:00
Ciro Mattia Gonano d136f8cc3a Use temporary directory as workdir (fixes converting from external volumes and zipfiles renaming)
Fixed "add folders" from GUI.
2013-01-29 15:01:36 +01:00
Ciro Mattia Gonano 05c8fe328e Fixes folder handling, subfolders and issues with spaces and # on filenames. 2013-01-29 00:08:31 +01:00
Ciro Mattia Gonano 1ce7a0040a Work on folders - break code 2013-01-28 23:25:13 +01:00
Ciro Mattia Gonano 6029aa2606 Valid ePub 2.0 output 2013-01-28 19:28:25 +01:00
Ciro Mattia Gonano f40a95765b Replace '+' in filenames (kindlegen does not like it!) 2013-01-25 15:01:32 +01:00