An utility program that removes metadata from images and compresses them.
Find a file
2022-09-28 12:13:41 +03:00
.idea/.idea.ImgMetadataRemover/.idea Initial commit 2022-01-22 19:06:10 +02:00
ConsoleInterface Rename SimpleOutputSink to DirectoryOutputSink 2022-04-03 18:16:17 +03:00
ConsoleInterface.Tests Rename SimpleOutputSink to DirectoryOutputSink 2022-04-03 18:16:17 +03:00
ImageCore Change IMetadataRemover implement SaveImage for Stream 2022-04-03 18:16:00 +03:00
ImageCore.Tests Implement demo UWP application 2022-04-03 19:27:11 +03:00
UwpApplication Create readme.md 2022-09-28 12:13:41 +03:00
.gitignore Add UwpApplication project. 2022-01-31 21:30:11 +02:00
global.json Modify project structure & delete WPF application. 2022-02-11 23:39:34 +02:00
ImgMetadataRemover.sln Refactor project structure 2022-04-02 17:22:42 +03:00
ImgMetadataRemover.sln.DotSettings.user Change ICompressor implement Compress for a Stream 2022-04-03 18:15:17 +03:00
README.md Update README.md 2022-09-28 12:11:09 +03:00

ImgMetaRemover

This a is a simple project made for personal use.

The goal is to make it easy to remove metadata from images and compress them. This is useful to bloggers and people that upload personal images online, as many of these images contain GPS and other personal identifiable data.

Usage

Place it into path and run with --help. If no arguments are provided it will run inside the default directory.

@nutiu ➜ publish git(main) .\metadata_remover.exe --help

metadata_remover 1.0.0
Copyright (C) 2022 metadata_remover

  -c, --compress     (Default: true) Compress images after cleaning.

  -d, --dest         (Default: ./cleaned) The destination directory for the cleaned images.

  --help             Display this help screen.

  --version          Display version information.

  source (pos. 0)    (Default: .) The source directory of images.

Developing

Publishing

To publish the command line app I run:

 dotnet publish --framework net5.0 --os linux -p:PublishReadyToRun=false --configuration Release
 
 dotnet publish --framework net5.0  --configuration Release
 
 dotnet publish --framework net5.0 --os osx -p:PublishReadyToRun=false --configuration Release

Tests

To run tests use dotnet test.

Ensure that IMAGE_CORE_TESTS is set to the path to the image core tests path. Ex: \RiderProjects\ImgMetadataRemover\ImageCore.Tests.

Credits