Skip to content

How do I add an image that is stored as binary in a BLOB column? #712

@ArneAnka

Description

@ArneAnka

Hi!

Trying to add a picture to a document that is stored as binary straight into the DB. Bot PNG and GIF files. How do I approach this problem?

document.add_picture(bin(item['data']))

item['data'] is the column that has the binary for the image.

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