refactor: some tweaks
This commit is contained in:
@@ -59,11 +59,11 @@ export async function traceImage(
|
||||
|
||||
// 默认配置 - 使用 detailed preset 作为基础
|
||||
const defaultOptions: Partial<Options> = {
|
||||
...Options.Presets.detailed,
|
||||
...Options.Presets.curvy,
|
||||
numberOfColors: 8, // 限制颜色数量以控制图层数
|
||||
minColorQuota: 0.001, // 降低最小颜色占比阈值
|
||||
minColorQuota: 0.01, // 降低最小颜色占比阈值
|
||||
strokeWidth: 0, // 不需要描边
|
||||
lineFilter: false, // 保留所有线条
|
||||
lineFilter: true,
|
||||
...options,
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user