12 Commits (5017e269913375336caa26d88f95aea859033008)
 

Author SHA1 Message Date
trivernis 5017e26991
Add function to get the size of a thumbnail
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 001affa3fb
Change downscaling filter to Lanczos
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 35bef3ee0b
Move ffmpeg to feature flag
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 1ab447a108
Refactor video thumbnail generation
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 028d0c2150
Improve video thumbnailing by using ffmpeg instead
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis b452ff4c8e
Add very basic support for video thumbnails
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis a89dc06743
Merge branch 'main' of github.com:Trivernis/thumbnailer 3 years ago
trivernis 8e2a37c3eb
Change output bit depth to fixed size rgb8 (with alpha for png)
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
Julius Riegel d5f4ec0308
Merge pull request #1 from Trivernis/imgbot
[ImgBot] Optimize images
3 years ago
trivernis a18bafb39e
Add README and crates.io metadata
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
ImgBotApp 8e014f7376
[ImgBot] Optimize images
*Total -- 50.32kb -> 40.31kb (19.88%)

/tests/assets/test.png -- 17.69kb -> 8.20kb (53.65%)
/tests/assets/test.jpg -- 32.62kb -> 32.11kb (1.57%)

Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>
3 years ago
trivernis cf3ad87360
Initial version with image thumbnails
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago