16 Commits (90958c54e5a03247cbb13ac7dac6543a8412494c)
 

Author SHA1 Message Date
Julius Riegel 90958c54e5
Merge pull request #4 from luxedo/main
Rename write_jpeg argument "compression" to "quality"
1 year ago
Luiz Eduardo Amaral 4994f7f758 Rename write_jpeg argument "compression" to "quality" 1 year ago
trivernis 9ad9ccf778
Remove static binding to ffmpeg and use command instead
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis bdc3ae07ac
Update dependencies and restrict writers to implement Seek as well
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
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