1
0
Fork 0
mirror of synced 2024-05-02 19:44:09 +12:00

Merge branch 'master' into master

This commit is contained in:
Rafał Mikrut 2024-02-14 17:27:26 +01:00 committed by GitHub
commit 8b8dc8ca09
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 22 additions and 22 deletions

View file

@ -4,9 +4,9 @@ Czkawka GUI is a graphical user interface for Czkawka Core written with GTK 4.
![Screenshot from 2023-11-26 12-43-32](https://github.com/qarmin/czkawka/assets/41945903/722ed490-0be1-4dac-bcfc-182a4d0787dc)
## Requirements
Requirements depends on platform that you are using.
Requirements depend on your platform.
Prebuild binareies are available here - https://github.com/qarmin/czkawka/releases/
Prebuilt binaries are available here - https://github.com/qarmin/czkawka/releases/
### Linux
#### Prebuild binaries
@ -22,16 +22,16 @@ brew install gtk4 adwaita-icon-theme ffmpeg librsvg libheif libraw
```
### Windows
All needed libraries should be bundled in zip(except ffmpeg which you need download and unpack to location with `czkawka_gui.exe` - https://ffmpeg.org/download.html#build-windows)
All needed libraries should be bundled in zip (except ffmpeg which you need download and unpack to location with `czkawka_gui.exe` - https://ffmpeg.org/download.html#build-windows)
You can also install app via msys2(webp and heif should work here) - https://www.msys2.org/#installation (czkawka package - https://packages.msys2.org/base/mingw-w64-czkawka)
You can also install the app via msys2 (webp and heif should work here) - https://www.msys2.org/#installation (czkawka package - https://packages.msys2.org/base/mingw-w64-czkawka)
```
pacman -S mingw-w64-x86_64-czkawka-gui
```
and you can create shortcut to `C:\msys64\mingw64\bin\czkawka_gui.exe`
and you can create a shortcut to `C:\msys64\mingw64\bin\czkawka_gui.exe`
## Compilation
Compilation of gui is harder than compilation cli or core, because uses gtk4 which is written in C and also requires a lot build and runtime dependencies.
Compiling the gui is harder than compiling cli or core, because it uses gtk4 which is written in C and also requires a lot build and runtime dependencies.
### Requirements
| Program | Minimal version |
@ -56,18 +56,18 @@ cargo run --release --bin czkawka_gui
cargo run --release --bin czkawka_gui --features "heif,libraw"
```
### Windows
Currently, there is no instruction how to compile app on Windows natively.</br>
You can check for CI for instructions how to cross-compile app from linux to windows(uses prebuilt docker image) - [CI Instructions](../.github/workflows/windows.yml)</br>
There exists mingw recipe which you can try to convert for your purposes - https://github.com/msys2/MINGW-packages/blob/master/mingw-w64-czkawka/PKGBUILD
Currently, there is are no instructions on how to compile the app on Windows natively.</br>
You can check for CI for instructions how to cross-compile the app from linux to windows (uses prebuilt docker image) - [CI Instructions](../.github/workflows/windows.yml)</br>
There exists a mingw recipe which you can try to convert for your purposes - https://github.com/msys2/MINGW-packages/blob/master/mingw-w64-czkawka/PKGBUILD
## Limitations
Not all available features other components implemented here, so this is list of limitations:
- Snap versions not allows to use similar videos feature
- On Windows, prebuild binaries do not support heif and webp files
Not all available features and/or components implemented here, this is the list of limitations:
- Snap versions does not allow to use the similar videos feature
- Windows version does not support heif and webp files with prebuilt binaries
- Prebuilt binaries for mac arm do not exist
- On Windows, text may appear very small on high resolution displays, a solution is to manually change DPI scaling for this app, see :
- recommended fix: [#787#issuecomment-1292253437](https://github.com/qarmin/czkawka/issues/787#issuecomment-1292253437) (modify gtk.css),
- or this workaround: [#867#issuecomment-1416761308](https://github.com/qarmin/czkawka/issues/863#issuecomment-1416761308) (modify windows DPI settings for this app (this works too but the text is a bit blurry)).
- Prebuild binaries for mac arm not exists
## License
Code is distributed under MIT license.

View file

@ -69,22 +69,22 @@ duplicate_check_method_tooltip =
Hash - Finds files which have the same content. This mode hashes the file and later compares this hash to find duplicates. This mode is the safest way to find duplicates. App heavily uses cache, so second and further scans of the same data should be a lot of faster than the first.
image_hash_size_tooltip =
Each checked image produce special hash which can be compared with every other, and small difference between them means that this images are similar.
Each checked image produces a special hash which can be compared with each other, and a small difference between them means that these images are similar.
8 hash size is quite good to find images that are only little similar to original. With bigger set of images (>1000) will produce big amount of false positives, so I recommend to use for such amount bigger hash size.
8 hash size is quite good to find images that are only a little similar to original. With a bigger set of images (>1000), this will produce a big amount of false positives, so I recommend to use a bigger hash size in this case.
16 is default hash size which is quite good compromise between finding even a little similar images and having small amount of hash collisions.
16 is the default hash size which is quite a good compromise between finding even a little similar images and having only a small amount of hash collisions.
32 and 64 hashes finds only very similar images, but almost should not have any false positives (maybe except some images with alpha channel).
32 and 64 hashes find only very similar images, but should have almost no false positives (maybe except some images with alpha channel).
image_resize_filter_tooltip =
To compute hash of image, library must first resize it.
To compute hash of image, the library must first resize it.
Depend on chosen algorithm, resulted image used to calculate hash will may looks little different.
Depend on chosen algorithm, the resulting image used to calculate hash will looks a little different.
The fastest algorithm to use, but also one which gives the worst results is Nearest, it is enabled by default, because with 16x16 hash size, lower quality it is not really visible.
The fastest algorithm to use, but also the one which gives the worst results, is Nearest. It is enabled by default, because with 16x16 hash size lower quality it is not really visible.
With 8x8 hash size is recommended to use different algorithm than Nearest, to have better groups of images.
With 8x8 hash size it is recommended to use a different algorithm than Nearest, to have better groups of images.
image_hash_alg_tooltip =
Users can choose from one of many algorithms of calculating the hash.
@ -146,7 +146,7 @@ main_check_box_broken_files_archive = Archive
main_check_box_broken_files_image = Image
check_button_general_same_size = Ignore same size
check_button_general_same_size_tooltip = Ignore from results, files which have identical size - usually this are 1:1 duplicates
check_button_general_same_size_tooltip = Ignore files with identical size in results - usually these are 1:1 duplicates
main_label_size_bytes_tooltip = Size of files which will be used in scan