[Scribus] Scripter Image manipulation -- something missing?

Petr Vaněk petr
Sun Jan 9 10:57:22 CET 2005

On Sunday 09 of January 2005 4:18, Gregory Pittman wrote:
> While I wait for the scaleToFrameSize command, I am trying to load an
> image and then scale it, but can't get it to work.
> Here is the sequence of commands that are the essence of what I am doing:
>                 a = CreateImage(50, 50, 300, 200)
>                 loadImage(imagedir + '-001.jpg', a)  # an abitrary image
> as a test
>                 scaleImage(0.15, 0.15, a)
>                 redrawAll()
> It loads the image but doesn't actually scale it.  Curiously, the
> Properties toolbox says that the image is scaled to 15%, but it's not.

ay, ay, sir!

this is good for my today's hangover ;)))

Petr Vanek --------------
petr [at] yarpen [dot] cz
www.yarpen.cz ----------------
Kuolema Kaikille (Paitsi Meille)
Today is good day to end it all
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://nashi.altmuehlnet.de/pipermail/scribus/attachments/20050109/7c517658/attachment.pgp 

More information about the scribus mailing list