8000 Feature request: TIFF LZW compression support in savefig() · Issue #8530 · matplotlib/matplotlib · GitHub
[go: up one dir, main page]

Skip to content
Feature request: TIFF LZW compression support in savefig() #8530
Closed
@renato-umeton

Description

@renato-umeton

MPL is such a great tool I tend to use it in many projects. Although amazing in so many ways, one area of improvement is the support for compression for TIFF images. Compression works when saving to other formats but it does not work with TIFF format. Note that TIFF is the format most scientific journal prefer for figures. MPL is great at so many things, I think embedding an LZW compression algorithm would be great. Currently we have to resort to PIL or PILLOW and do this:

  1. create the image with MPL
  2. save to tiff, uncompressed -- easily 500MB
  3. load PIL library
  4. load the 500MB image with PIL
  5. re-save the image in PIL using the flag compression=LZW.

If we could spare steps 3-5 it would be great I think...

Thanks!!!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0