[Scribus] Image Sizing Functions in Scripter

Joachim Neu joachim_neu
Sat Mar 1 00:11:56 CET 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

You can rescale a loaded image by using:
   scribus.scaleImage
As far as I know there's no way to get the size of the image with
scribus but you could do this with other python modules and calculate
the correct percentage with these information.

Greetz!

Wesley Crossman schrieb:
> Hello all,
> 
> I'm trying to write a script which generates real estate flyers from
> templates, and I'm having trouble finding a way to make images fill the
> frames. I assume that I'll need to calculate it myself, but I haven't
> found a way to get the size of the image to find the needed percentage.
> Centering the image in the frame would be nice too. Can anyone help me
> with this?
> 
> Thanks in advance,
> 
> Wesley
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Scribus mailing list
> Scribus at nashi.altmuehlnet.de
> http://nashi.altmuehlnet.de/mailman/listinfo/scribus
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFHyJE87awBpSuN1JIRAvmVAKCgTpnZc2UHdOVRyVO4voQ2mBvIYwCfQp+t
C1taHszH80on/HE/sI2YujU=
=ffLh
-----END PGP SIGNATURE-----
-------------- n?chster Teil --------------
Ein Dateianhang mit Bin?rdaten wurde abgetrennt...
Dateiname   : joachim_neu.vcf
Dateityp    : text/x-vcard
Dateigr??e  : 206 bytes
Beschreibung: nicht verf?gbar
URL         : http://nashi.altmuehlnet.de/pipermail/scribus/attachments/20080301/ca9b2859/attachment.vcf 



More information about the scribus mailing list