Skip to content

Image pipeline with .png retains state between runs with thumbnail!/2 #175

@bbangert

Description

@bbangert

I have some code that stores a portion of an image pipeline, and then tacks on commands and re-runs it multiple times. My understanding was that this should be fine as its immutable, the pipeline is just a set of instructions and has no state, etc. This doesn't seem to be the case for .png files using the thumbnail operation.

Here's a simple reproduction using a .png (I will attach it here as well):

image

Using other image operators instead of thumbnail returns the same byte stream consistently. This also doesn't seem to happen when I send a .svg through.

Here's the image I'm using:

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