Skip to content

addImage createDataURIFromElement/getImageDataFromElement canvas image format #2415

@SmythConor

Description

@SmythConor

Hello, I noticed something with the version 1.5.3 in addImage createDataURIFromElement where the format parameter is ignored if the nodeName is canvas. In 1.4.1 the format was set depending on this parameter.

Now in recent updates: #2374 the format parameter has been removed which removes the ability to define what format you'd like to specify for the data.

I am working on trying to get a reproducible code snippet but it's proving difficult as the use case is kind of hard to isolate. However I do think this regresses the behaviour from 1.4.1. What do you think?

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