Commit fbc6725f authored by generatedunixname89002005307016's avatar generatedunixname89002005307016 Committed by Facebook GitHub Bot
Browse files

upgrade pyre version in `fbcode/vision` - batch 2

Differential Revision: D51902460

fbshipit-source-id: 3ffc5d7d2da5c5d4e971ee8275bd999c709e0b12
parent 6b876608
...@@ -112,6 +112,7 @@ class VideoWriter: ...@@ -112,6 +112,7 @@ class VideoWriter:
resize = im.size resize = im.size
# make sure size is divisible by 2 # make sure size is divisible by 2
resize = tuple([resize[i] + resize[i] % 2 for i in (0, 1)]) resize = tuple([resize[i] + resize[i] % 2 for i in (0, 1)])
# pyre-fixme[16]: Module `Image` has no attribute `ANTIALIAS`.
im = im.resize(resize, Image.ANTIALIAS) im = im.resize(resize, Image.ANTIALIAS)
im.save(outfile) im.save(outfile)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment