switch to vipsthumbnail smartcrop
This commit is contained in:
@@ -75,7 +75,7 @@ module DanbooruImageResizer
|
|||||||
arguments = [
|
arguments = [
|
||||||
file.path,
|
file.path,
|
||||||
"--eprofile=#{SRGB_PROFILE}",
|
"--eprofile=#{SRGB_PROFILE}",
|
||||||
"--crop=none",
|
"--smartcrop=attention",
|
||||||
"--size=#{length}",
|
"--size=#{length}",
|
||||||
"--format=#{output_file.path}[Q=#{quality},background=255,strip,interlace,optimize_coding]"
|
"--format=#{output_file.path}[Q=#{quality},background=255,strip,interlace,optimize_coding]"
|
||||||
]
|
]
|
||||||
|
|||||||
Reference in New Issue
Block a user