1
0
mirror of https://github.com/ciromattia/kcc synced 2026-07-24 13:43:13 +00:00
Commit Graph

142 Commits

Author SHA1 Message Date
Paweł Jastrzębski 6bc8038068 Yet another refactoring of resizeImage
I hope all bugs are dead this time!
2013-03-17 12:52:33 +01:00
Paweł Jastrzębski eb7d56c1b9 Force upscaling for spitted pages
Only when landscape mode is on.
Without it smaller splitted pages looks really bad on PW.
2013-03-17 10:45:46 +01:00
Paweł Jastrzębski f5b515ef79 GUI update 2013-03-17 09:37:57 +01:00
Paweł Jastrzębski 943431346d MAJOR Landscape Mode improvement
No idea how this change will impact Non-Kindle devices but quality
increase of spitted pages is amazing.
2013-03-17 08:47:35 +01:00
Paweł Jastrzębski a597173b71 Added high quality Panel View 2013-03-16 21:53:23 +01:00
Paweł Jastrzębski c484cc8fff Code inspection 2013-03-16 20:05:27 +01:00
Paweł Jastrzębski f55bb6dce6 Code cleaning 2013-03-16 13:33:13 +01:00
Paweł Jastrzębski e7f49f8330 New profiles
Kindle Touch support Virtual Panel View.
Kindle Classic/NT is not.
2013-03-16 10:19:57 +01:00
Paweł Jastrzębski cec9356fc2 Code cleaning 2013-03-16 10:10:19 +01:00
Ciro Mattia Gonano 19dc5cc6f2 Merge branch 'master' into kcc-fakepanelview
Apply PEP-8 codestyle
2013-03-13 00:21:09 +01:00
Ciro Mattia Gonano 67baf90d04 Merge branch 'master' into kcc-fakepanelview
Apply PEP-8 codestyle
2013-03-13 00:20:38 +01:00
Ciro Mattia Gonano c2cfc9b8db Apply the correct ordering for image processing (closes #33, thanks to @devernay) 2013-03-12 16:54:14 +01:00
Paweł Jastrzębski e3127ed516 Code cleanup 2013-03-12 14:00:52 +01:00
Paweł Jastrzębski 93a98db43e Disabled unused functions 2013-03-12 10:48:30 +01:00
Paweł Jastrzębski 750b55649a Draft of FakePanelView Landscape mode 2013-03-12 10:47:37 +01:00
Paweł Jastrzębski ca5854a8bd Real Panel View don't split in half 2013-03-10 18:18:20 +01:00
Paweł Jastrzębski eb7766a5e5 Draft of FakePanelView mode 2013-03-10 11:58:52 +01:00
Paweł Jastrzębski 0cabbfde96 Additional tweaks of Landscape mode 2013-03-10 10:43:34 +01:00
Ciro Mattia Gonano 1582d03fab Optimization: if gamma is 1.0 don't eval image 2013-03-06 15:15:24 +01:00
Ciro Mattia Gonano ce824f4cab Add default gamma by profile support 2013-03-06 11:32:20 +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
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 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
Paweł Jastrzębski e92ee81617 Fixed single empty page on end of book. 2013-03-04 19:52:38 +01:00
Paweł Jastrzębski c7f38a574f Fixed Landscape mode with upscaling enabled. 2013-03-04 17:24:11 +01:00
Paweł Jastrzębski 193ad9382c Disabled new resizeImage function for older Kindle. 2013-03-04 17:05:16 +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
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 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 02a7bca07c Added basic error reporting 2013-01-28 09:47:46 +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 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 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