Bug 199871
Summary: | pamscale goes berserk | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Tom Horsley <horsley1953> |
Component: | netpbm | Assignee: | Jindrich Novy <jnovy> |
Status: | CLOSED ERRATA | QA Contact: | Ben Levenson <benl> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 5 | CC: | pknirsch |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i386 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2006-08-22 10:08:23 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Tom Horsley
2006-07-23 17:46:31 UTC
The pnm file you use for downsampling is pgm or ppm? Here's the source of the image: scanimage --mode Gray --depth 8 --resolution 600 -x 217 -y 237 | \ pamflip -rotate270 > chemlawn.pnm I forget which is which in pgm versus ppm, but it is whatever the heck that scanimage call generates (8 bit grayscale). Possibly relevant, the actual image I used for testing was a scan of a small piece of paper, so the 217x237 mm image will actually have quite a lot of white background from the scanner lid (though it seems to have the same behavior for different scans). Fixed. It was caused by the fact, that pamscale used uninitialized variables for the output X and Y resolutions of the image and the cubic filter pass then tried to fill the image up in the invalid bounds what caused wasting of all system resources. FC5 update is comming soon. netpbm-10.34-1.fc5 has been pushed for fc5, which should resolve this issue. If these problems are still present in this version, then please make note of it in this bug report. |