@pilio/gemini-watermark-remover 1.0.42 → 1.0.44

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.
Files changed (45) hide show
  1. package/LICENSE +22 -22
  2. package/README.md +426 -426
  3. package/README_zh.md +415 -415
  4. package/dist/video-app.js +2 -2
  5. package/dist/video-preview.html +558 -558
  6. package/package.json +3 -1
  7. package/skills/gemini-watermark-remover/SKILL.md +32 -32
  8. package/skills/gemini-watermark-remover/references/usage.md +23 -23
  9. package/src/cli/gwrCli.js +17 -17
  10. package/src/cli/gwrRemoveCommand.js +433 -433
  11. package/src/core/allenkFdncnnDenoise.js +653 -653
  12. package/src/core/alphaMap.js +30 -30
  13. package/src/core/candidateEvaluation.js +299 -299
  14. package/src/core/candidateSelector.js +3736 -3736
  15. package/src/core/geminiSizeCatalog.js +580 -580
  16. package/src/core/imageWatermarkPipeline.js +329 -329
  17. package/src/core/outputResidualLocalization.js +351 -351
  18. package/src/core/pipelineAcceptedExecutor.js +364 -364
  19. package/src/core/pipelineAcceptedExecutorRequest.js +46 -46
  20. package/src/core/pipelineCandidateQuality.js +838 -823
  21. package/src/core/pipelineCandidateRunner.js +109 -109
  22. package/src/core/pipelineFinalization.js +46 -46
  23. package/src/core/pipelineInitialSelection.js +1498 -1461
  24. package/src/core/pipelineMeta.js +257 -257
  25. package/src/core/pipelineRepairGates.js +101 -101
  26. package/src/core/pipelineResult.js +136 -136
  27. package/src/core/planeAlphaEvidence.js +106 -0
  28. package/src/core/rowAlphaEvidence.js +59 -0
  29. package/src/core/watermarkConfig.js +132 -132
  30. package/src/core/watermarkEngine.js +33 -33
  31. package/src/core/watermarkPresence.js +14 -14
  32. package/src/core/watermarkProcessor.js +6332 -6332
  33. package/src/sdk/index.d.ts +191 -191
  34. package/src/sdk/node.d.ts +56 -56
  35. package/src/sdk/video.d.ts +111 -111
  36. package/src/sdk/video.js +358 -358
  37. package/src/sdk/videoProgress.js +108 -108
  38. package/src/shared/actionContextCompat.js +54 -54
  39. package/src/shared/imageSessionStore.js +495 -495
  40. package/src/userscript/clipboardHook.js +351 -351
  41. package/src/userscript/downloadHook.js +1500 -1500
  42. package/src/userscript/historyBindingBootstrap.js +163 -163
  43. package/src/userscript/index.js +161 -161
  44. package/src/userscript/pageProcessBridge.js +247 -247
  45. package/src/userscript/userNotice.js +19 -19
package/LICENSE CHANGED
@@ -1,22 +1,22 @@
1
- MIT License
2
-
3
- Copyright (c) 2025 Jad
4
- Copyright (c) 2024 AllenK (Kwyshell)
5
-
6
- Permission is hereby granted, free of charge, to any person obtaining a copy
7
- of this software and associated documentation files (the "Software"), to deal
8
- in the Software without restriction, including without limitation the rights
9
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10
- copies of the Software, and to permit persons to whom the Software is
11
- furnished to do so, subject to the following conditions:
12
-
13
- The above copyright notice and this permission notice shall be included in all
14
- copies or substantial portions of the Software.
15
-
16
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22
- SOFTWARE.
1
+ MIT License
2
+
3
+ Copyright (c) 2025 Jad
4
+ Copyright (c) 2024 AllenK (Kwyshell)
5
+
6
+ Permission is hereby granted, free of charge, to any person obtaining a copy
7
+ of this software and associated documentation files (the "Software"), to deal
8
+ in the Software without restriction, including without limitation the rights
9
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10
+ copies of the Software, and to permit persons to whom the Software is
11
+ furnished to do so, subject to the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be included in all
14
+ copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22
+ SOFTWARE.