Skip to content

Unable to set compression level in plotly.io.write_image #3492

Closed
@twoletters

Description

@twoletters

I searched extensively for a way to set the compression level when saving charts to PNG/JPG files using function plotly.io.write_image. Function plotly.express.imshow has a parameter binary_compression_level that seems to fit the bill, but plotly.io.write_image does not. I could not figure out if this could be achieved using scopes.

This feature would be useful to control disk/cpu usage when saving large amounts of images, which is my purpose here. What say you?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions