Skip to content

Commit

Permalink
Switch default convert to 4:2:0 subsampling
Browse files Browse the repository at this point in the history
  • Loading branch information
jrdh committed Oct 12, 2021
1 parent cb8a122 commit 9720423
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion iiif/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ def generate_sizes(width: int, height: int, minimum_size: int = 200):


def convert_image(image_path: Path, target_path: Path, quality: int = 80,
subsampling: str = '4:2:2'):
subsampling: str = '4:2:0'):
"""
Given the path to an image, outputs the image to the target path in jpeg format. This should
happen to all images that will have processing done on them subsequently as it means we can use
Expand Down

0 comments on commit 9720423

Please sign in to comment.