193 Commits

Author SHA1 Message Date
62fc520ebb
cut more each side of doublepage split in portrait only 2024-05-09 12:28:48 +02:00
27d617640a
detect empty page 2024-05-08 18:49:01 +02:00
f9ebe71b9e
crop double page after autocrop
fix landscape display when each side can be cut differently.
A doublepage is 1 big image, and should be cut as one.
2024-05-07 08:55:42 +02:00
f7f8680eb3
fix doublePage issue when part crop are also a double page 2024-05-06 17:24:31 +02:00
2c372594cc
support tiff 2024-05-01 12:44:54 +02:00
5968cbdd09
sort import 2024-04-28 21:36:08 +02:00
79e20ca622
skip deprecated 2024-04-28 21:35:48 +02:00
8233d067ef
handle errors 2024-04-28 21:35:36 +02:00
f4501753c5
factor stderr printing 2024-04-28 19:36:49 +02:00
0dde6e02a4
add skip crop if limit reached 2024-04-28 19:28:35 +02:00
9133493e60
use percentage for cropping 2024-04-28 17:40:37 +02:00
c75c58dede
add crop limit option 2024-04-27 17:57:49 +02:00
ab62692ce6
update to go1.22 2024-02-26 14:12:47 +01:00
1ff7912b0f
handle error 2024-02-10 00:07:21 +02:00
2990367e2f
fix export type 2024-02-09 20:20:15 +02:00
23388b5f30
fix defer in a loop 2024-02-09 18:52:57 +02:00
ea85d820eb
fix grammar 2024-02-09 18:36:10 +02:00
139acd864b
fix naming 2024-02-09 10:46:20 +02:00
07ba350d82
fix comments 2024-02-08 21:05:27 +02:00
ca73ac9682
rename splitted to split 2024-02-08 20:49:35 +02:00
b6db09aa9e
fix typo & grammar 2024-02-08 20:44:00 +02:00
0a60bff6b8
reorder transform image for split & crop support 2024-01-28 16:45:47 +01:00
56943aa96c
remove plural from tasks 2024-01-28 16:44:31 +01:00
51f62588c2
add boundaries for autocrop to allow split then crop 2024-01-28 16:43:54 +01:00
2442f2edc7
remove unuse attribute 2024-01-28 16:43:28 +01:00
a552d7ac90
add json output 2023-09-30 20:20:20 +02:00
4a3fc60732
add throttling and interface 2023-09-25 09:10:46 +02:00
77d6600a36
add apple book compatibility mode 2023-09-24 13:40:41 +02:00
21cbde14bc
add option keepdoublepageifsplitted 2023-09-23 09:51:47 +02:00
fdca0caae7
record corrupted images and display it at the end 2023-07-08 11:32:37 +02:00
7de6ad1508
increase base size to avoid reaching the limit 2023-05-10 08:48:51 +02:00
7ce25bb234
create auto contrast filter
This filter improve contrast
and make the comics more
readable
2023-05-09 17:40:09 +02:00
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
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
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
a816350c97
add png output images format 2023-05-01 18:59:05 +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.
2023-04-30 18:20:54 +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
3858583728
use tmp storage to limit memory usage 2023-04-30 00:37:26 +02:00
b71deb257a
change Epub, epub to EPUB in code and comment 2023-04-29 11:55:13 +02:00
8ba526f186
add helper for layout blank 2023-04-28 18:01:32 +02:00