Make vector the default resize type for vector images

This commit is contained in:
Jake Archibald
2020-12-15 10:42:18 +00:00
parent c3d05e0e2d
commit 3338808f17

View File

@@ -604,6 +604,7 @@ export default class Compress extends Component<Props, State> {
const resizeState: Partial<ProcessorState['resize']> = {
width: decoded.width,
height: decoded.height,
method: vectorImage ? 'vector' : 'lanczos3',
// Disable resizing, to make it clearer to the user that something changed here
enabled: false,
};