mirror of
https://github.com/mitb-archive/filebot
synced 2025-03-10 06:20:27 -04:00
Avoid JPG profile issues and reduce output filesize
This commit is contained in:
parent
b7339a711b
commit
b73c634645
@ -24,7 +24,7 @@ File getThumbnailPath(db, id) {
|
||||
|
||||
void createThumbnail(original, thumb) {
|
||||
thumb.dir.mkdirs()
|
||||
execute 'convert', original, '-thumbnail', '48x48', '-gravity', 'center', '-background', 'transparent', '-extent', '48x48', 'PNG8:' + thumb
|
||||
execute 'convert', '-strip', original, '-thumbnail', '48x48', '-gravity', 'center', '-background', 'transparent', '-extent', '48x48', 'PNG8:' + thumb
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user