Googol Lee
a378522af4
Use magick generating thumbnails.
...
Fix #1204
* Add bad medias to scanner_test.
* Fix the script.
* Add GenerateThumbnail function.
* Add identify dimension
* Use new API. Cover json condition.
* Use magick to generate thumbnails.
* Update go mod.
* Remove dependency of executable_worker -> test_utils
* Reduce dependency of magick.
* Use magick to get dimension.
* Remove almost all code around `image` package.
* Fix thumbnailing with multi-frame gif.
* Remove the struct in wrapper.
* Fix typo.
* Build images.
* Update logs
* Add jpeg decoder.
* Remove code dependency.
* Add log to confirm scan in parallel.
* Update log
* Add reformat image perf tests.
* Rollback the build workflow.
2025-05-22 09:01:43 +02:00
Googol Lee
f1b523a27e
Include a group of small but real media files for testing. ( #1131 )
...
* Move scanner/test_data/* to a stand-alone directory.
* Include real medias.
* Rename testdata to test_data
* Rename test_data/scanner -> test_data/library
* Clean tests to avoid depneding env.
* Rename: scanner/test_data -> scanner/test_media
* Rename: test_data/bin -> test_data/mock_bin
* Fix paths in tests.
2024-11-23 09:02:11 +01:00
Googol Lee
a9d7b774bd
Add log package for better logging level. ( #1130 )
...
* Add log package. Update worker with new log package.
* Add init error to worker.
* Init workers when binary launching.
* Add tests to cover different errors.
2024-11-21 10:44:38 +01:00
Googol Lee
c151bdee96
Process jpgs if raw processing is disabled. ( #1096 )
2024-10-20 16:52:47 +02:00