[scribus] patching getImageScale()
ale.comp_06 at xox.ch
Tue Feb 15 13:44:16 CET 2011
during the weekend i was trying to help out jimjo and write a script
which would resize the current frame to the image size.
i stumbled upon the getImageScale() and noticed that its return value
does not make much sense. i've openened a bug report and attached a
patch which gives the same results as in the PP
my question to you is:
is anybody using a script which already uses the value returned by
(comparing the X and Y value does not count: the proportions among X and
Y scale will not be changed, except in the case you have pictures which
really weird X and Y resolutions).
if yes, can you test the patch and see if it affects your scripts?
craig was suggesting to create new commands and not touch the current
implementation of getImageScale()...
personally, i'd prefer to get a good value out of getImageScale() and
avoid creating several commands which basically do the same (and one of
them returns a value which can't really be used).
i'm waiting for your feedback.
More information about the scribus