diff --git a/ai-filter.sln b/ai-filter.sln index 7922392..7818aed 100644 --- a/ai-filter.sln +++ b/ai-filter.sln @@ -47,13 +47,12 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "prompt_templates", "prompt_ EndProjectSection EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "resources", "resources", "{68A87938-5C2B-49F5-8AAA-8A34FBBFD854}" + ProjectSection(SolutionItems) = preProject + resources\svg2img.ps1 = resources\svg2img.ps1 + EndProjectSection EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "img", "img", "{F266602F-1755-4A95-A11B-6C90C701C5BF}" ProjectSection(SolutionItems) = preProject - resources\img\brain.png = resources\img\brain.png - resources\img\busy.png = resources\img\busy.png - resources\img\done.png = resources\img\done.png - resources\img\error.png = resources\img\error.png resources\img\full-logo.png = resources\img\full-logo.png resources\img\logo.png = resources\img\logo.png resources\img\logo128.png = resources\img\logo128.png diff --git a/resources/img/average-16.png b/resources/img/average-16.png new file mode 100644 index 0000000..ff202ff Binary files /dev/null and b/resources/img/average-16.png differ diff --git a/resources/img/average-32.png b/resources/img/average-32.png new file mode 100644 index 0000000..e0fe4b4 Binary files /dev/null and b/resources/img/average-32.png differ diff --git a/resources/img/average-64.png b/resources/img/average-64.png new file mode 100644 index 0000000..bec89df Binary files /dev/null and b/resources/img/average-64.png differ diff --git a/resources/img/brain.png b/resources/img/brain.png deleted file mode 100644 index 296bb64..0000000 Binary files a/resources/img/brain.png and /dev/null differ diff --git a/resources/img/busy.png b/resources/img/busy.png deleted file mode 100644 index ee7d5d6..0000000 Binary files a/resources/img/busy.png and /dev/null differ diff --git a/resources/img/circle-16.png b/resources/img/circle-16.png new file mode 100644 index 0000000..9984541 Binary files /dev/null and b/resources/img/circle-16.png differ diff --git a/resources/img/circle-32.png b/resources/img/circle-32.png new file mode 100644 index 0000000..6023c0e Binary files /dev/null and b/resources/img/circle-32.png differ diff --git a/resources/img/circle-64.png b/resources/img/circle-64.png new file mode 100644 index 0000000..5381c54 Binary files /dev/null and b/resources/img/circle-64.png differ diff --git a/resources/img/clipboarddata-16.png b/resources/img/clipboarddata-16.png new file mode 100644 index 0000000..6d615ef Binary files /dev/null and b/resources/img/clipboarddata-16.png differ diff --git a/resources/img/clipboarddata-32.png b/resources/img/clipboarddata-32.png new file mode 100644 index 0000000..a426878 Binary files /dev/null and b/resources/img/clipboarddata-32.png differ diff --git a/resources/img/clipboarddata-64.png b/resources/img/clipboarddata-64.png new file mode 100644 index 0000000..9d945d0 Binary files /dev/null and b/resources/img/clipboarddata-64.png differ diff --git a/resources/img/done.png b/resources/img/done.png deleted file mode 100644 index b70d728..0000000 Binary files a/resources/img/done.png and /dev/null differ diff --git a/resources/img/download-16.png b/resources/img/download-16.png new file mode 100644 index 0000000..620f868 Binary files /dev/null and b/resources/img/download-16.png differ diff --git a/resources/img/download-32.png b/resources/img/download-32.png new file mode 100644 index 0000000..840c82b Binary files /dev/null and b/resources/img/download-32.png differ diff --git a/resources/img/download-64.png b/resources/img/download-64.png new file mode 100644 index 0000000..67aa68d Binary files /dev/null and b/resources/img/download-64.png differ diff --git a/resources/img/error.png b/resources/img/error.png deleted file mode 100644 index 07705d9..0000000 Binary files a/resources/img/error.png and /dev/null differ diff --git a/resources/img/eye-16.png b/resources/img/eye-16.png new file mode 100644 index 0000000..392340e Binary files /dev/null and b/resources/img/eye-16.png differ diff --git a/resources/img/eye-32.png b/resources/img/eye-32.png new file mode 100644 index 0000000..5531c1a Binary files /dev/null and b/resources/img/eye-32.png differ diff --git a/resources/img/eye-64.png b/resources/img/eye-64.png new file mode 100644 index 0000000..7d7fbd2 Binary files /dev/null and b/resources/img/eye-64.png differ diff --git a/resources/img/flag-16.png b/resources/img/flag-16.png new file mode 100644 index 0000000..3c2b58c Binary files /dev/null and b/resources/img/flag-16.png differ diff --git a/resources/img/flag-32.png b/resources/img/flag-32.png new file mode 100644 index 0000000..531dee2 Binary files /dev/null and b/resources/img/flag-32.png differ diff --git a/resources/img/flag-64.png b/resources/img/flag-64.png new file mode 100644 index 0000000..6446415 Binary files /dev/null and b/resources/img/flag-64.png differ diff --git a/resources/img/gear-16.png b/resources/img/gear-16.png new file mode 100644 index 0000000..3e1839f Binary files /dev/null and b/resources/img/gear-16.png differ diff --git a/resources/img/gear-32.png b/resources/img/gear-32.png new file mode 100644 index 0000000..67300de Binary files /dev/null and b/resources/img/gear-32.png differ diff --git a/resources/img/gear-64.png b/resources/img/gear-64.png new file mode 100644 index 0000000..99c8a68 Binary files /dev/null and b/resources/img/gear-64.png differ diff --git a/resources/img/reply-16.png b/resources/img/reply-16.png new file mode 100644 index 0000000..abda5b3 Binary files /dev/null and b/resources/img/reply-16.png differ diff --git a/resources/img/reply-32.png b/resources/img/reply-32.png new file mode 100644 index 0000000..193deac Binary files /dev/null and b/resources/img/reply-32.png differ diff --git a/resources/img/reply-64.png b/resources/img/reply-64.png new file mode 100644 index 0000000..d241386 Binary files /dev/null and b/resources/img/reply-64.png differ diff --git a/resources/img/settings-16.png b/resources/img/settings-16.png new file mode 100644 index 0000000..bb7581d Binary files /dev/null and b/resources/img/settings-16.png differ diff --git a/resources/img/settings-32.png b/resources/img/settings-32.png new file mode 100644 index 0000000..cc059a4 Binary files /dev/null and b/resources/img/settings-32.png differ diff --git a/resources/img/settings-64.png b/resources/img/settings-64.png new file mode 100644 index 0000000..347d454 Binary files /dev/null and b/resources/img/settings-64.png differ diff --git a/resources/img/trash-16.png b/resources/img/trash-16.png new file mode 100644 index 0000000..43e1f7f Binary files /dev/null and b/resources/img/trash-16.png differ diff --git a/resources/img/trash-32.png b/resources/img/trash-32.png new file mode 100644 index 0000000..1968ed5 Binary files /dev/null and b/resources/img/trash-32.png differ diff --git a/resources/img/trash-64.png b/resources/img/trash-64.png new file mode 100644 index 0000000..bbbdd2d Binary files /dev/null and b/resources/img/trash-64.png differ diff --git a/resources/img/upload-16.png b/resources/img/upload-16.png new file mode 100644 index 0000000..408364c Binary files /dev/null and b/resources/img/upload-16.png differ diff --git a/resources/img/upload-32.png b/resources/img/upload-32.png new file mode 100644 index 0000000..e6efe06 Binary files /dev/null and b/resources/img/upload-32.png differ diff --git a/resources/img/upload-64.png b/resources/img/upload-64.png new file mode 100644 index 0000000..65629df Binary files /dev/null and b/resources/img/upload-64.png differ diff --git a/resources/svg/average.svg b/resources/svg/average.svg new file mode 100644 index 0000000..b427612 --- /dev/null +++ b/resources/svg/average.svg @@ -0,0 +1,3 @@ + + + diff --git a/resources/svg/circle.svg b/resources/svg/circle.svg new file mode 100644 index 0000000..84f078d --- /dev/null +++ b/resources/svg/circle.svg @@ -0,0 +1,3 @@ + + + diff --git a/resources/svg/clipboarddata.svg b/resources/svg/clipboarddata.svg new file mode 100644 index 0000000..aebd8f5 --- /dev/null +++ b/resources/svg/clipboarddata.svg @@ -0,0 +1,3 @@ + + + diff --git a/resources/svg/download.svg b/resources/svg/download.svg new file mode 100644 index 0000000..595f3a5 --- /dev/null +++ b/resources/svg/download.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/svg/eye.svg b/resources/svg/eye.svg new file mode 100644 index 0000000..2f1f62f --- /dev/null +++ b/resources/svg/eye.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/svg/flag.svg b/resources/svg/flag.svg new file mode 100644 index 0000000..ef18dc3 --- /dev/null +++ b/resources/svg/flag.svg @@ -0,0 +1,3 @@ + + + diff --git a/resources/svg/gear.svg b/resources/svg/gear.svg new file mode 100644 index 0000000..3827d6a --- /dev/null +++ b/resources/svg/gear.svg @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/resources/svg/reply.svg b/resources/svg/reply.svg new file mode 100644 index 0000000..fdf9414 --- /dev/null +++ b/resources/svg/reply.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/svg/settings.svg b/resources/svg/settings.svg new file mode 100644 index 0000000..ce5be79 --- /dev/null +++ b/resources/svg/settings.svg @@ -0,0 +1,3 @@ + + + diff --git a/resources/svg/trash.svg b/resources/svg/trash.svg new file mode 100644 index 0000000..c236be7 --- /dev/null +++ b/resources/svg/trash.svg @@ -0,0 +1,3 @@ + + + diff --git a/resources/svg/upload.svg b/resources/svg/upload.svg new file mode 100644 index 0000000..09e7ce4 --- /dev/null +++ b/resources/svg/upload.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/svg2img.ps1 b/resources/svg2img.ps1 new file mode 100644 index 0000000..c71f0ff --- /dev/null +++ b/resources/svg2img.ps1 @@ -0,0 +1,28 @@ +$svgDir = "./svg" +$outDir = "./img" +$sizes = @(16, 32, 64) + +# Ensure output directory exists +if (!(Test-Path -Path $outDir)) { + New-Item -ItemType Directory -Path $outDir | Out-Null +} + +# Check for Inkscape +if (-not (Get-Command "inkscape" -ErrorAction SilentlyContinue)) { + Write-Error "Inkscape CLI is not installed or not in PATH. Please install it from https://inkscape.org/" + exit 1 +} + +# Process SVGs +Get-ChildItem -Path $svgDir -Filter *.svg | ForEach-Object { + $svgPath = $_.FullName + $baseName = $_.BaseName + + foreach ($size in $sizes) { + $outFile = Join-Path $outDir "$baseName-$size.png" + Write-Host "Converting $($_.Name) to $outFile ($size x $size)..." + & inkscape "$svgPath" --export-type=png --export-filename="$outFile" --export-width=$size --export-height=$size + } +} + +Write-Host "Conversion complete."