View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0010627 | Scribus | Graphics / Image Frames | public | 2012-03-12 18:58 | 2015-05-10 20:48 |
Reporter | Thaddeus | Assigned To | fschmid | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | 1.4.1.svn | ||||
Fixed in Version | 1.5.0svn | ||||
Summary | 0010627: Unable to open some PS images into Image Frame | ||||
Description | Three different things but somehow related: * "Get Image" onto Image Frame not displaying some PS images such as "Test01.ps". * "File -> Import -> Get Vector File" imports "Test01.ps" with no problem if nothing is selected; if image frame is already selected, it imports into selected frame with wrong rendering and also prompts user to import image again -- user can cancel though!. * Converting the imported Polygon to an image results in broken image or wrong rendering -- same as converting a Polygon created from Insert menu -- I tried square and triangle. Tried this on: Scribus Version 1.4.1svn 23 January 2012 Build ID: C-*-T-*-C1.8.6-Windows Using Ghostscript version 9.00 %! 72 72 moveto 468 0 rlineto -468 648 rlineto closepath stroke showpage | ||||
Tags | No tags attached. | ||||
Patch | |||||
|
|
|
get vector file does not import into an image frame, even if such a frame is currently selected... but i can confirm that scribus can correctly read the file but can't load it into an image frame. evince and inkscape correctly import it. |
|
Yes, you're right, the "Get Vector File" when image frame is selected/not selected does work OK: my confusion. Converting to image the imported Test01.ps messes up the image contents though: may be this should be a different ticket ? GhostScript can also render them (Test01.ps & Test02.ps) OK. |
|
|
|
The problem with these .ps files is that they are not conforming Adobe's Postscript conventions. They are missing the "%!PS-Adobe-3.1" header line and even more badly they do not have a "%%BoundingBox:" comment line. Scribus relies at least on the latter to determine the size of the resulting image. |
|
Wouldn't that be a broken EPS ? GhostScript comes with ps2epsi to convert to eps, but adds a silly raster preview section. |
|
|
|
|
|
Only test03.eps will work, as it has the %%BoundingBox comment, the other won't work. |
|
i'm comfortable with the fact that scribus can't load an image if it's not correct... but if it can import it as vector and other applications can flawlessly open it, i think that there should be a way to tell the user what has happened. |
|
OK, that's good to know, so it needs the "%%BoundingBox" comment and with no arguments which appears to mean display all the contents. I would change this behavior with: look at the extension, if PS, load all the contents; if EPS, look for %%BoundingBox arguments and use them. As far as I can tell, PS does not need a BoundingBox comment; GS ignores the PS "%%BoundingBox: llx lly urx ury" when converting PS to EPS and computes its own. The strange thing is that I now noticed that importing ignores the EPS BoundingBox?: works great when loading EPS image though! |
|
|
|
|
|
Think the name of this bug needs to be changed |
|
Tested, fixed. Thanks. |
Date Modified | Username | Field | Change |
---|---|---|---|
2012-03-12 18:58 | Thaddeus | New Issue | |
2012-03-12 18:58 | Thaddeus | File Added: Test01.ps | |
2012-03-13 14:22 | ale | Note Added: 0027796 | |
2012-03-13 16:45 | Thaddeus | Note Added: 0027797 | |
2012-03-13 16:46 | Thaddeus | File Added: Test02.ps | |
2012-03-13 21:57 | fschmid | Note Added: 0027799 | |
2012-03-14 17:14 | Thaddeus | Note Added: 0027802 | |
2012-03-14 17:14 | Thaddeus | File Added: Test03.ps | |
2012-03-14 17:15 | Thaddeus | File Added: Test03.eps | |
2012-03-14 20:11 | fschmid | Note Added: 0027807 | |
2012-03-15 07:58 | ale | Note Added: 0027815 | |
2012-03-15 19:24 | Thaddeus | Note Added: 0027818 | |
2012-03-15 19:25 | Thaddeus | File Added: Test04.ps | |
2012-03-15 19:25 | Thaddeus | File Added: Test04.eps | |
2014-10-22 05:15 | Kunda | Assigned To | => fschmid |
2014-10-22 05:15 | Kunda | Status | new => assigned |
2015-05-01 19:47 | Kunda | Note Added: 0035011 | |
2015-05-02 09:37 | fschmid | Status | assigned => resolved |
2015-05-02 09:37 | fschmid | Fixed in Version | => 1.5.0svn |
2015-05-02 09:37 | fschmid | Resolution | open => fixed |
2015-05-10 20:48 | christoph_s | Note Added: 0035086 | |
2015-05-10 20:48 | christoph_s | Status | resolved => closed |
2015-09-17 20:10 | Kunda | Category | Graphics / Image Frames => Graphics/Img Frames |
2015-09-17 20:11 | Kunda | Category | Graphics/Img Frames => Graphics / Image Frames |