1
0
mirror of https://github.com/ciromattia/kcc synced 2026-06-30 18:15:24 +00:00
Commit Graph

39 Commits

Author SHA1 Message Date
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
Ciro Mattia Gonano 562c801366 Indent with PEP-8 standard 2013-03-02 18:58:50 +01:00
Paweł Jastrzębski f559463d90 Added option to rotate images instead spliting. 2013-03-02 17:31:56 +01:00
Ciro Mattia Gonano 32a0038c49 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:22:11 +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 51d857da0d Fix an issue for 1-page PDFs 2013-01-28 19:44:58 +01:00
Ciro Mattia Gonano 6029aa2606 Valid ePub 2.0 output 2013-01-28 19:28:25 +01:00
Ciro Mattia Gonano 74a93f1e50 Added MANIFEST.in, ugly fix for OSX not evaluating user local $PATH on app launched from Finder. 2013-01-28 11:59:43 +01:00
Ciro Mattia Gonano a546d0bea6 Update rarfile.py from https://github.com/markokr/rarfile 2013-01-28 10:36:58 +01:00
Ciro Mattia Gonano 02a7bca07c Added basic error reporting 2013-01-28 09:47:46 +01:00
Ciro Mattia Gonano f40a95765b Replace '+' in filenames (kindlegen does not like it!) 2013-01-25 15:01:32 +01:00
Ciro Mattia Gonano 21ac19e912 Initial draft for a working GUI. 2013-01-25 12:32:21 +01:00
Ciro Mattia Gonano 7a5e81afb8 Remove filelist 2013-01-21 19:23:25 +01:00
Ciro Mattia Gonano b453f61b92 Add cover to NCX 2013-01-21 19:23:08 +01:00
Ciro Mattia Gonano ef51425dd6 Added metadata 2013-01-21 15:09:52 +01:00
Ciro Mattia Gonano 89b19f2519 Added subfolder support 2013-01-21 13:15:19 +01:00
Ciro Mattia Gonano 9ee851d04b Fixed a serious bug on resizing when img ratio was bigger than device one 2013-01-18 11:54:34 +01:00
Ciro Mattia Gonano f231e9112a Added a bunch of optimizations (autocontrast, page centering) 2013-01-17 16:20:32 +01:00
Ciro Mattia Gonano d823afc3f9 More work on GUI, added page number cut and other patches to image.py from proDOOMman and Birua (kudos in README) 2013-01-16 09:53:23 +01:00
Ciro Mattia Gonano 2a7b2c9e3d Add PDF jpg image extraction (fixes #2)
More work on GUI with Tkinter.
2013-01-14 12:53:13 +01:00
Ciro Mattia Gonano 988a357555 Fixed an issue in OPF generation for device resolution (fixes #4)
Reworked options system (call with -h option to get the inline help) (fixes #3)
2013-01-10 13:03:13 +01:00
Ciro Mattia Gonano dd90ab5908 Start to work on py2exe/py2app ready code. 2012-12-17 10:45:24 +01:00
Ciro Mattia Gonano 4d96eb346f Preparing the field for switching towards a full-fledged app (get rid of AppleScript) via py2app/py2exe 2012-12-09 12:37:25 +01:00