View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0007744 | Scribus | Scripter | public | 2009-01-21 21:15 | 2009-01-22 19:44 |
Reporter | aliB | Assigned To | jghali | ||
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | Dell Inspiron 9400 | OS | Linux | OS Version | OpenSuSE 11.1 |
Product Version | 1.3.5svn | ||||
Fixed in Version | 1.3.5svn | ||||
Summary | 0007744: scaleImage(x,y,"name") does not behave correct on some images | ||||
Description | The Scripter documentation says, x and y are values from 0 up to ... where 1 means 100 % Calling scaleImage(1,1,"Image1") for the image http://interfacelift.com/wallpaper_beta/details/1465/frozen_trees.html does not scale the image to 100 % | ||||
Steps To Reproduce | 1. Create a document and insert an image frame and call it Image1 2. Load the above image (with resolution 2560x1600) into this image frame. 3. open the scripter console and type scaleImage(1,1,"Image1") 4. Execute and see the result | ||||
Tags | No tags attached. | ||||
Patch | |||||
|
scaleImage() set the internal scaling factors which are different from the values viewed on PP. To fix the issue and avoid potential breakage of existing scripts, i added a new setImageScale method() which allows to set values as seen on PP. It can be used the same way as scaleImage. |
|
The documentation on http://docs.scribus.net/index.php?lang=en&page=scripterapi-setobjprop should be fixed. "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 %." And the new function should be added. |
|
Documentation is now updated in svn. Update on website should come shortly. |
Date Modified | Username | Field | Change |
---|---|---|---|
2009-01-21 21:15 | aliB | New Issue | |
2009-01-21 22:53 | jghali | Note Added: 0020959 | |
2009-01-21 22:53 | jghali | Status | new => resolved |
2009-01-21 22:53 | jghali | Fixed in Version | => 1.3.5svn |
2009-01-21 22:53 | jghali | Resolution | open => fixed |
2009-01-21 22:53 | jghali | Assigned To | => jghali |
2009-01-22 14:39 | aliB | Note Added: 0020966 | |
2009-01-22 14:39 | aliB | Status | resolved => feedback |
2009-01-22 14:39 | aliB | Resolution | fixed => reopened |
2009-01-22 19:34 | jghali | Note Added: 0020972 | |
2009-01-22 19:34 | jghali | Status | feedback => resolved |
2009-01-22 19:34 | jghali | Resolution | reopened => fixed |
2009-01-22 19:44 | cbradney | Status | resolved => closed |