mirror of
https://github.com/GoogleChromeLabs/squoosh.git
synced 2025-11-12 00:37:19 +00:00
Merge branch 'dev' into keyboard-shortcuts
This commit is contained in:
@@ -604,6 +604,7 @@ export default class Compress extends Component<Props, State> {
|
|||||||
const resizeState: Partial<ProcessorState['resize']> = {
|
const resizeState: Partial<ProcessorState['resize']> = {
|
||||||
width: decoded.width,
|
width: decoded.width,
|
||||||
height: decoded.height,
|
height: decoded.height,
|
||||||
|
method: vectorImage ? 'vector' : 'lanczos3',
|
||||||
// Disable resizing, to make it clearer to the user that something changed here
|
// Disable resizing, to make it clearer to the user that something changed here
|
||||||
enabled: false,
|
enabled: false,
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user