mirror of
https://github.com/mitb-archive/filebot
synced 2024-12-22 07:48:52 -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) {
|
void createThumbnail(original, thumb) {
|
||||||
thumb.dir.mkdirs()
|
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