Author Topic: python how to embed or insert image data to frame?  (Read 47 times)

Gibbz

  • Jr. Member
  • **
  • Posts: 51
  • Karma: 0
  • Scribus User
python how to embed or insert image data to frame?
« on: May 10, 2019, 08:27:30 am »
I have a base64 encoded image I want to embed into my document via python.
I know scribus support embedding images, how do I do this via python/scripter?

a.l.e

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1881
  • Karma: 26
    • the graphics lab
Re: python how to embed or insert image data to frame?
« Reply #1 on: May 10, 2019, 10:44:07 am »
i don't think that the API call does exist yet...

but it's probably not that hard to add it... at least if you first write the data to a file and use the "standard" way to link the image and then embed it.

.... patches are welcome, i guess...

 

palmate