@pilio/gemini-watermark-remover 1.0.17 → 1.0.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -4
- package/README_zh.md +0 -1
- package/package.json +3 -1
- package/src/core/candidateSelector.js +969 -119
- package/src/core/geminiSizeCatalog.js +143 -14
- package/src/core/restorationMetrics.js +166 -0
- package/src/core/selectionDebug.js +46 -0
- package/src/core/watermarkEngine.js +0 -1
- package/src/core/watermarkProcessor.js +897 -138
- package/src/core/watermarkScoring.js +140 -0
- package/src/runtime/browser.js +6 -2
- package/src/runtime/userscript.js +8 -2
- package/src/sdk/index.d.ts +0 -1
- package/src/shared/imageProcessing.js +3 -1
- package/src/userscript/processingRuntime.js +4 -3
package/README.md
CHANGED
|
@@ -209,10 +209,9 @@ import {
|
|
|
209
209
|
Use the pure-data API when you already have decoded `ImageData`:
|
|
210
210
|
|
|
211
211
|
```javascript
|
|
212
|
-
const result = await removeWatermarkFromImageData(imageData, {
|
|
213
|
-
adaptiveMode: 'auto',
|
|
214
|
-
|
|
215
|
-
});
|
|
212
|
+
const result = await removeWatermarkFromImageData(imageData, {
|
|
213
|
+
adaptiveMode: 'auto',
|
|
214
|
+
});
|
|
216
215
|
|
|
217
216
|
console.log(result.meta.decisionTier);
|
|
218
217
|
```
|
package/README_zh.md
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pilio/gemini-watermark-remover",
|
|
3
3
|
"description": "Automatically removes watermarks from Gemini AI generated images",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.19",
|
|
5
5
|
"author": "GargantuaX",
|
|
6
6
|
"sideEffects": false,
|
|
7
7
|
"files": [
|
|
@@ -78,6 +78,8 @@
|
|
|
78
78
|
"probe:real-page:compare": "node scripts/real-page-pixel-compare.js",
|
|
79
79
|
"benchmark:samples": "node scripts/sample-benchmark.js",
|
|
80
80
|
"benchmark:userscript": "node scripts/userscript-benchmark.js",
|
|
81
|
+
"scan:sample-watermarks": "node scripts/scan-sample-watermarks.js",
|
|
82
|
+
"render:skipped-crops": "node scripts/render-skipped-candidate-crops.js",
|
|
81
83
|
"package:extension": "node scripts/package-extension-release.js",
|
|
82
84
|
"cli:smoke": "node bin/gwr.mjs --help",
|
|
83
85
|
"serve": "pnpm dlx serve dist",
|