title: Pillow: control quality and subsampling of JPEG-compressed TIFF
body: <p>I'm using Pillow to create multi-page TIFFs. I want to compress the layers with JPEG, which I see I can do with the <code>compression</code> option: <a href="https://pillow.readthedocs.io/en/stable/handbook/image-file-formats.html#saving-tiff-images" rel="nofollow noreferrer">https://pillow.readthedocs.io/en/stable/handbook/image-file-formats.html#saving-tiff-images</a> </p>
  
  <p>I'd also like to specify the compression quality and, ideally, the chroma subsampling model, both of which are available for the JPEG plugin: <a href="https://pillow.readthedocs.io/en/stable/handbook/image-file-formats.html#jpeg" rel="nofollow noreferrer">https://pillow.readthedocs.io/en/stable/handbook/image-file-formats.html#jpeg</a></p>
  
  <p>Is this possible to do with the TIFF writer plugin?</p>
  
  <p>Thanks.</p>