Switch pipeable.output to pipeable.stdout.

This commit is contained in:
voussoir 2021-09-22 20:26:53 -07:00
parent 097cb07421
commit 4ba9d9dabe
No known key found for this signature in database
GPG key ID: 5F7554F8C26DACCB

View file

@ -98,7 +98,7 @@ def resize(
if new_name.extension == '.jpg': if new_name.extension == '.jpg':
image = image.convert('RGB') image = image.convert('RGB')
pipeable.output(new_name.absolute_path) pipeable.stdout(new_name.absolute_path)
image.save(new_name.absolute_path, exif=image.info.get('exif', b''), quality=quality) image.save(new_name.absolute_path, exif=image.info.get('exif', b''), quality=quality)
def resize_argparse(args): def resize_argparse(args):