Skip to content

Can support for the memoryview type be added as input to _decode (decode.c)? #6933

@bigcat88

Description

@bigcat88

Data created with help of PyMemoryView_FromMemory function.

Overhead for big images when converting memoryview to bytes is noticeable.

Code located here:

if (!PyArg_ParseTuple(args, "y#", &buffer, &bufsize)) {

Is this possible to easy add support for such feature or not?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions