From 57415cb399e1abb6cb6eba37cbda2ae271f00035 Mon Sep 17 00:00:00 2001 From: sharif Date: Mon, 23 Jun 2025 23:46:31 +0600 Subject: [PATCH] Enhance AI content credential detection and metadata removal features across components --- src/App.svelte | 6 +- src/lib/Header.svelte | 367 +++++++++++++++++++++++++++++++--- src/lib/ImageProcessor.svelte | 102 +++++++++- src/lib/MetadataViewer.svelte | 22 ++ src/lib/PrivacyInfo.svelte | 50 ++++- 5 files changed, 517 insertions(+), 30 deletions(-) diff --git a/src/App.svelte b/src/App.svelte index 9616f29..68e1cf3 100644 --- a/src/App.svelte +++ b/src/App.svelte @@ -181,8 +181,10 @@

{/if}

✓ All EXIF metadata removed

-

✓ AI/C2PA provenance data stripped

-

✓ Location data cleared

+

✓ GPS location data cleared

+

✓ AI content credentials stripped

+

✓ C2PA provenance data removed

+

✓ Camera & device info cleared

-
- diff --git a/src/lib/MetadataViewer.svelte b/src/lib/MetadataViewer.svelte index e7d221f..c2946c5 100644 --- a/src/lib/MetadataViewer.svelte +++ b/src/lib/MetadataViewer.svelte @@ -122,6 +122,28 @@ "synthesized", "gpt-4", "trainedAlgorithmicMedia", + "adobe firefly", + "google imagen", + "anthropic claude", + "runway ml", + "artbreeder", + "deepdream", + "nightcafe", + "starryai", + "jasper art", + "canva ai", + "remove.bg", + "upscayl", + "real-esrgan", + "waifu2x", + "topaz gigapixel", + "c2pa", + "content credentials", + "provenance", + "content authenticity", + "jumbf", + "cai", + "project origin", ]; let hasAI = false; diff --git a/src/lib/PrivacyInfo.svelte b/src/lib/PrivacyInfo.svelte index f745557..82fa514 100644 --- a/src/lib/PrivacyInfo.svelte +++ b/src/lib/PrivacyInfo.svelte @@ -38,7 +38,14 @@ 🕒 Timestamps: Enable detailed activity timelines
- 🤖 AI Detection: Software tags reveal AI generation + 🤖 AI Detection: Software tags reveal AI generation tools +
+
+ 🔗 C2PA Credentials: Content provenance tracks creation + history +
+
+ 🏷️ Software Tags: DALL-E, Midjourney, ChatGPT watermarks
@@ -56,8 +63,27 @@
• Journalists protecting sources
• Activists maintaining anonymity
-
• Content creators removing AI tags
-
• Anyone valuing digital privacy
+
• AI artists removing generation tags
+
• Content creators stripping watermarks
+
• Social media users protecting privacy
+
• Anyone valuing digital anonymity
+
• Photographers selling stock images
+
• Removing C2PA content credentials
+
+ + +
+

🤖 AI Content Credential Support:

+
+
• OpenAI DALL-E
+
• Midjourney
+
• Stable Diffusion
+
• Adobe Firefly
+
• ChatGPT Images
+
• Google Imagen
+
• C2PA Signatures
+
• Content Authenticity
+
• JUMBF Containers
@@ -87,6 +113,11 @@ border: 1px solid rgba(37, 99, 235, 0.1); } + .bg-secondary { + background-color: rgba(16, 185, 129, 0.05); + border: 1px solid rgba(16, 185, 129, 0.1); + } + .rounded { border-radius: 0.5rem; } @@ -100,9 +131,22 @@ grid-template-columns: 1fr 1fr; } + .grid-3 { + grid-template-columns: repeat(3, 1fr); + } + @media (max-width: 768px) { .grid-2 { grid-template-columns: 1fr; } + .grid-3 { + grid-template-columns: 1fr 1fr; + } + } + + @media (max-width: 480px) { + .grid-3 { + grid-template-columns: 1fr; + } }