[scribus] Python API question: scaleImage behavior

Gregory Pittman gpittman at iglou.com
Thu Nov 26 20:12:08 UTC 2015

On 11/26/2015 01:47 PM, Christian Mandel wrote:
> Am 26.11.2015 um 18:13 schrieb Gregory Pittman:
>> [...]
>> PS The scripter API documentation in 1.5.0 says:
>> scaleImage(...)
>> scaleImage(x, y [, "name"])
>> Do not use this command, since it no longer works. Use setImageScale
>> instead.
>> and setScaleImage() immediately follows.
> Unfortunately not in my 1.5.0 version packaged for ubuntu
> (scribus-ng-doc 1.5.0-0ubuntu15.04.0~ppa0) from the scribus ppa. It reads
>   scaleImage(...)
>   scaleImage(x, y [, "name"])
>   Sets the scaling factors of the picture in the image frame "name". If
>   "name" is not given the currently selected item is used. A number of
>   1 means 100 %.
>   May raise WrongFrameTypeError if the target frame is not an image
>   frame
> setScaleImage() is not known at all.
> Is the api documentation mirrored on the web somewhere (searched for a
> while but did not find it).

Made a typo, it's actually setImageScale(), in case that makes any

Looking at the docs, it looks like it's something that got updated in
the English manual, not German (even though the Scripter part of the
German manual is in English).

If you can find the directory where your docs are, ??/share/doc/en/, you
could just copy all the scripterapi- HTML files over to the de directory
to be up to date.

I'll fix this in 1.5.1svn.


More information about the scribus mailing list