288 Commits

Author SHA1 Message Date
2650b926f8
add grayscale mode
it will apply different formula to convert image into grayscale.

it works only if the source is not already in grayscale.

0 = normal
1 = average
2 = luminance
2023-05-05 12:24:12 +02:00
a54e093844
title page settings
add option to include or not title page
0 = never
1 = always
2 = when the epub is splitted
2023-05-05 12:08:48 +02:00
0de6cc9acd
cover improvement
include part in cover if totalParts > 1
cleaner cover in grayscale
2023-05-05 11:39:44 +02:00
4a1ae516ea
move title generation into method 2023-05-05 09:03:26 +02:00
003a91a07e
Merge pull request #14 from celogeek/portrait-only-mode
Portrait only mode
2023-05-04 22:20:22 +02:00
5b301526e1
mode portrait only 2023-05-04 22:18:36 +02:00
bd8506d367
add option to portrait only mode 2023-05-04 19:36:26 +02:00
d7e311488f
Merge pull request #13 from celogeek/compute-aspect-ratio
Compute aspect ratio
2023-05-04 19:28:47 +02:00
4d9681b457
higher precision 2023-05-04 19:26:55 +02:00
bb15fa5538
add option to choose aspect ratio 2023-05-04 17:22:19 +02:00
88928168b4
compute original aspect ratio 2023-05-04 16:56:30 +02:00
abf3b8facf
add shortcut v2.6.0 2023-05-01 19:27:51 +02:00
728129aba2
reorg params and display relevant params only 2023-05-01 19:08:26 +02:00
a816350c97
add png output images format 2023-05-01 18:59:05 +02:00
58cd5f5399
add nofilter option 2023-05-01 17:25:19 +02:00
ee00ed2615
option to keep skip resize filter 2023-05-01 17:09:47 +02:00
13103b0eba
do not enlarge smaller images
all width/height are computed based on viewport dimension.
images will enlarge if smaller, and resize to fit if larger.
2023-05-01 14:11:58 +02:00
8b04cbc38f
support grayscale or color mode
grayscale is on by default
as the conversion is mainly
useful for eInk device.
v2.5.0
2023-04-30 18:20:54 +02:00
1c1c1fd38c
rename high resolution profile 2023-04-30 18:12:29 +02:00
94983b0c61
add customization for body color 2023-04-30 16:49:55 +02:00
bcad0389fa
improve alignment on spread images for landscape 2023-04-30 16:25:02 +02:00
5b0051720f
simplify options display 2023-04-30 14:10:27 +02:00
5ec963a11e
change perfect ratio to 1.6 2023-04-30 13:51:06 +02:00
edfa349b01
add high resolution profile 2023-04-30 13:50:36 +02:00
e6051fda88
update readme 2023-04-30 01:10:55 +02:00
141aeae624
show stats only if process images v2.4.0 2023-04-30 00:58:26 +02:00
3858583728
use tmp storage to limit memory usage 2023-04-30 00:37:26 +02:00
05ac50a453
display elapse and memory usage at the end 2023-04-29 23:58:26 +02:00
b71deb257a
change Epub, epub to EPUB in code and comment 2023-04-29 11:55:13 +02:00
8cf02445e7
update readme 2023-04-29 11:54:32 +02:00
8ba526f186
add helper for layout blank v2.3.3 2023-04-28 18:01:32 +02:00
1119101f65
fix space require detection 2023-04-28 17:49:29 +02:00
e8613b0cce
add space before title in landscape 2023-04-28 17:49:16 +02:00
1bc85f4c2d
change noblankpage by noblankimage
detect blank image even if crop is disabled
2023-04-28 17:25:43 +02:00
fd796be892
fix double page render
if spread is used, we need 2 pages when left or right are used

if that case we add a special layout blank to fill the gap
v2.3.2
2023-04-28 13:41:18 +02:00
341fd2649e
remove blur on title image 2023-04-28 13:17:35 +02:00
0fdbf5baca
improve image processor v2.3.1 2023-04-27 19:00:27 +02:00
12cd279bb8
use img helper 2023-04-27 18:33:04 +02:00
06cc6d2788
fix duplicate blank page if last page is double 2023-04-27 18:32:48 +02:00
42eba9cb3b
move options to common package 2023-04-27 18:08:32 +02:00
ba538b431b
move compress image to zip package 2023-04-27 17:20:37 +02:00
66d6c22e55
improve cover title 2023-04-27 15:58:40 +02:00
6295fefa02
move image transformation to processing 2023-04-27 15:04:52 +02:00
02f86eb55e
move load to options as an helper 2023-04-27 13:46:00 +02:00
4553e1e673
decode image into loader 2023-04-27 12:02:47 +02:00
721d373a7f
move all filters 2023-04-26 23:04:31 +02:00
2b7582e776
move auto crop to filters 2023-04-26 20:56:02 +02:00
4dc1f7275f
improve crop ratio 2023-04-26 18:22:33 +02:00
a1b7497f0c
improve crop 2023-04-26 17:38:09 +02:00
0637d64b93
fix quiet mode 2023-04-26 17:37:41 +02:00