mirror of
https://github.com/mitb-archive/filebot
synced 2024-12-21 23:38:50 -05:00
Center to 48x48
This commit is contained in:
parent
ea583295f3
commit
b7339a711b
@ -24,7 +24,7 @@ File getThumbnailPath(db, id) {
|
||||
|
||||
void createThumbnail(original, thumb) {
|
||||
thumb.dir.mkdirs()
|
||||
execute 'convert', original, '-strip', '-thumbnail', '48x48>', 'PNG8:' + thumb
|
||||
execute 'convert', original, '-thumbnail', '48x48', '-gravity', 'center', '-background', 'transparent', '-extent', '48x48', 'PNG8:' + thumb
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user