feat: add additional cover art actions and settings (#1938)
* feat: add cover image auto cropping when oversized * feat: add smart cropping to ignore sections of constant colours in cover images * fix: description implied cbx files would be excluded from cover regeneration when they are not * feat: add options to bulk edit cover images in the library view * fix: resolve issues with batching requests and data validation for cover images
This commit is contained in:
@@ -108,6 +108,13 @@ export interface KoboSettings {
|
||||
forceEnableHyphenation: boolean;
|
||||
}
|
||||
|
||||
export interface CoverCroppingSettings {
|
||||
verticalCroppingEnabled: boolean;
|
||||
horizontalCroppingEnabled: boolean;
|
||||
aspectRatioThreshold: number;
|
||||
smartCroppingEnabled: boolean;
|
||||
}
|
||||
|
||||
export interface AppSettings {
|
||||
autoBookSearch: boolean;
|
||||
similarBookRecommendation: boolean;
|
||||
@@ -126,6 +133,7 @@ export interface AppSettings {
|
||||
metadataPersistenceSettings: MetadataPersistenceSettings;
|
||||
metadataPublicReviewsSettings: PublicReviewSettings;
|
||||
koboSettings: KoboSettings;
|
||||
coverCroppingSettings: CoverCroppingSettings;
|
||||
metadataDownloadOnBookdrop: boolean;
|
||||
}
|
||||
|
||||
@@ -146,5 +154,6 @@ export enum AppSettingKey {
|
||||
METADATA_PERSISTENCE_SETTINGS = 'METADATA_PERSISTENCE_SETTINGS',
|
||||
METADATA_DOWNLOAD_ON_BOOKDROP = 'METADATA_DOWNLOAD_ON_BOOKDROP',
|
||||
METADATA_PUBLIC_REVIEWS_SETTINGS = 'METADATA_PUBLIC_REVIEWS_SETTINGS',
|
||||
KOBO_SETTINGS = 'KOBO_SETTINGS'
|
||||
KOBO_SETTINGS = 'KOBO_SETTINGS',
|
||||
COVER_CROPPING_SETTINGS = 'COVER_CROPPING_SETTINGS'
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user