feat: add adjust colors and scanner effect pages with corresponding types and configurations

This commit is contained in:
alam00000
2026-02-01 12:21:14 +05:30
parent a929524f09
commit 325519b9f7
24 changed files with 2845 additions and 23962 deletions

View File

@@ -0,0 +1,10 @@
export interface AdjustColorsSettings {
brightness: number;
contrast: number;
saturation: number;
hueShift: number;
temperature: number;
tint: number;
gamma: number;
sepia: number;
}

View File

@@ -47,3 +47,5 @@ export * from './sign-pdf-type.ts';
export * from './add-watermark-type.ts';
export * from './email-to-pdf-type.ts';
export * from './bookmark-pdf-type.ts';
export * from './scanner-effect-type.ts';
export * from './adjust-colors-type.ts';

View File

@@ -0,0 +1,16 @@
export interface ScannerEffectState {
file: File | null;
}
export interface ScanSettings {
grayscale: boolean;
border: boolean;
rotate: number;
rotateVariance: number;
brightness: number;
contrast: number;
blur: number;
noise: number;
yellowish: number;
resolution: number;
}