Skip to content

External Images #2

Description

@Irmitya

I was finding out how to export images, and after getting an image "extracted", I wanted to know how duplicate filenames would be handled and nested folders.
So, I opened a .pur file that's composed of images somewhere on my computer, and found that NONE of the images were loaded in the purformat.images list,

import PIL, io
PIL.Image.open(io.BytesIO(img.pngBinary)).save(fR"C:\purtoimage\{img.transforms[0].name}.png")

I use pureref as a notes/bookmarking tool, and wanted to use this to finally be able to automate it but without any usage of external images, I can only use it as an extractor.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions