View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0004318 | Scribus | General | public | 2006-09-29 07:40 | 2007-01-04 10:03 |
Reporter | Martin van Rooten | Assigned To | |||
Priority | normal | Severity | crash | Reproducibility | always |
Status | closed | Resolution | unable to reproduce | ||
Platform | Microsoft Windows | OS | XP pro | ||
Product Version | 1.3.3.3 | ||||
Summary | 0004318: PNG. problem | ||||
Description | When using .PNG files for images scribus sometimes uses over 350 MB memory. Sometimes when I try to open such a file, scribus crashes due to a EXEPTION_ACCES_VIOLATION. When the images are in .JPG the 350MB is reduced to 25MB. | ||||
Tags | No tags attached. | ||||
Patch | |||||
|
What size are the original images? File size and image dimensions in pixels please. Also please confirm that you're using the _same_ image as both a JPEG and PNG, ie you're comparing apples and apples. It's worth noting that Scribus must decompress PNG images to work on them (make thumbnails / previews, embed in PDF, etc). It currently does this in a less than ideally memory efficient way - decoding the whole thing into a buffer in RAM and working on it then. It can sometimes have two copies in RAM if it's doing something like applying an ICC profile. It'd be good to try to cut down on this, and there are a few possible ways to do so, but for now you need enough RAM to hold at least two copies of the biggest image in your document decompressed in memory, plus whatever other memory Scribus needs. You didn't say how much RAM you had. That would be good to know when discussing memory use. The reason JPEG images (sometimes) don't cause as many issues is that Scribus can sometimes avoid loading the whole image. In particular, if the JPEG doesn't need conversion or colour correction it can be embedded directly into a PDF without being decompressed. It's still decompressed on opening to make the preview image though. |
Date Modified | Username | Field | Change |
---|---|---|---|
2006-09-29 07:40 | Martin van Rooten | New Issue | |
2006-09-29 10:52 |
|
Note Added: 0012694 | |
2006-09-29 10:53 |
|
Relationship added | child of 0002438 |
2006-11-16 10:04 | mhanski | Relationship added | related to 0004522 |
2007-01-04 01:14 |
|
Status | new => resolved |
2007-01-04 01:14 |
|
Resolution | open => unable to reproduce |
2007-01-04 01:14 |
|
Assigned To | => plinnell |
2007-01-04 10:03 |
|
Status | resolved => closed |