| Project: | ProjectPier |
| Version: | 0.8.0.3 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | new |
Jump to:
Description
With some large images, the thumbnail generation fails and leaves a page almost empty.
More information here:
http://www.projectpier.org/node/863
I attached a file that can cause the problem. (1000x1000 pixels)
| Attachment | Size |
|---|---|
| pptest2.png | 2.22 MB |
First thing I would check is the memory limit on your installation. With the sample image you posted PHP's peak memory usage measured in ProjectFileRevision::createThumb() just before the method returns with memory_get_peak_usage(true) is 14417920 bytes (roughly 13.75 MB) on my installation.
I don't think this is directly related to pixel dimensions but SimpleGdImage simply consumes too much (e.g. more than allowed by the memory limit setting) memory for large images.