[Scribus] Scribus - Get Image from Database?

Craig Bradney cbradney
Tue Mar 20 13:46:51 CET 2007


> How do you get an image from MySQL to display in Scribus?  I used
> createImage to create the picture frame okay, but when I try to use
> loadImage to load the MySQL image, I get:
> "TypeError: coercing to Unicode: need string or buffer, tuple found"
>  
> This is probably because it is looking for a filename, right?  How do I
get
> it to display directly from MySQL, without creating a temporary file, and
> then displaying it?

Hi Marissa,

Scribus currently only supports loading images directly from the local
filesystem. A temporary file would be required, and then you will have to
link to that file.

Regards
Craig
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://nashi.altmuehlnet.de/pipermail/scribus/attachments/20070320/a72ed5fa/attachment.html 



More information about the scribus mailing list