mirror of
https://github.com/Frooodle/Stirling-PDF.git
synced 2025-09-26 17:52:59 +02:00
enable color as opposed to grayscale by default
This commit is contained in:
parent
a27929d13e
commit
7b21e87fcf
@ -61,7 +61,7 @@ export default function FakeScanPreview({ file, parameters }: Props) {
|
||||
}
|
||||
|
||||
const grayscale = parameters.colorspace === 'grayscale' ? 'grayscale(1)' : 'grayscale(0)';
|
||||
const sepia = parameters.yellowish ? 'sepia(0.35)' : 'sepia(0)';
|
||||
const sepia = parameters.yellowish ? 'sepia(0.6)' : 'sepia(0)';
|
||||
// Simulate noise via drop-shadow stacking is heavy; skip and rely on server-side
|
||||
return `${grayscale} ${sepia} brightness(${brightness}) contrast(${contrast}) blur(${blur}px)`;
|
||||
}, [parameters]);
|
||||
|
@ -21,7 +21,7 @@ export const defaultParameters: FakeScanParameters = {
|
||||
quality: 'high',
|
||||
rotation: 'slight',
|
||||
advancedEnabled: false,
|
||||
colorspace: 'grayscale',
|
||||
colorspace: 'color',
|
||||
border: 20,
|
||||
rotate: 0,
|
||||
rotateVariance: 2,
|
||||
|
Loading…
Reference in New Issue
Block a user