Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/marcin-filipiak/cpp_imagedecoupler
Finding and removing pictures with the same content
https://github.com/marcin-filipiak/cpp_imagedecoupler
debian image-processing tools ubuntu
Last synced: about 1 month ago
JSON representation
Finding and removing pictures with the same content
- Host: GitHub
- URL: https://github.com/marcin-filipiak/cpp_imagedecoupler
- Owner: marcin-filipiak
- License: gpl-3.0
- Created: 2024-03-20T16:55:33.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-12-05T14:14:35.000Z (about 2 months ago)
- Last Synced: 2024-12-05T15:25:41.748Z (about 2 months ago)
- Topics: debian, image-processing, tools, ubuntu
- Language: C++
- Homepage:
- Size: 72.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
This program is a simple utility written in C++ that scans a folder for JPG image files, calculates their MD5 hashes, and checks for duplicates based on these hashes. Here's a breakdown of its main functionalities:
__File Input/Output Operations:__
The program utilizes file input/output operations to read from and write to files. It includes functions to save file paths along with their MD5 hashes to a text file.__MD5 Hash Calculation:__
The program calculates the MD5 hash of each JPG file in the specified folder using the OpenSSL library.__Duplicate Detection:__
After generating the list of file paths along with their MD5 hashes, the program identifies duplicate images by comparing their MD5 hashes. If duplicate images are found, it prompts the user to select which duplicate to delete.__Folder Traversal:__
It can optionally traverse subfolders recursively to find JPG files.__User Interaction:__
The program interacts with the user through the command line interface, allowing them to select which duplicate file to delete or to cancel the operation.__Error Handling:__
It includes error handling mechanisms to deal with issues such as file opening failures and directory traversal errors.To use the program, you provide the path to the folder containing JPG files as a command-line argument. Optionally, you can specify the "-r" flag to enable recursive searching within subfolders. After scanning and detecting duplicates, it generates a file named "decoupler_list.txt" containing the paths of JPG files and their MD5 hashes for reference.
Overall, this program offers a straightforward way to manage duplicate JPG files within a folder structure.
## Links
* ![Image Decoupler with GUI](https://github.com/marcin-filipiak/gtkmm_ImageDecoupler)
My tools for images segregation, resizing etc:
* ![Image Decoupler GUI](https://github.com/marcin-filipiak/gtkmm_ImageDecoupler) - GTKmm, find duplicated images in subfolders
* ![Image Decoupler Console](https://github.com/marcin-filipiak/cpp_ImageDecoupler) - Console, find duplicated images in subfolders
* ![Image Segregator GUI](https://github.com/marcin-filipiak/gtk_ImageSegregator) - GTK, usefull tool for images segregation
* ![Image Resizer GUI](https://github.com/marcin-filipiak/gtk_ImageResizer) - GTK , resize images in folder
* ![Image Resizer GUI](https://github.com/marcin-filipiak/qt_ImgFolderResizer) - Qt, resize images in folder