Welcome to iraf.net Friday, April 19 2024 @ 09:04 PM GMT
Buglog #505
- Friday, August 09 2002 @ 09:03 PM GMT
- Contributed by: admin
- Views: 1,296
MODULE: data.export
SYSTEM: V2.11 - V2.12.1
SYSTEM: V2.11 - V2.12.1
NUMBER: 505 MODULE: data.export SYSTEM: V2.11 - V2.12.1 DATE: Fri Aug 9 15:03:10 MST 2002 FROM: fitz BUG: The task was failing to write a PPM file properly when the input image contained an odd number of columns, resulting in a corrupted image. STATUS: PPM files interleave the pixels, but when there are an odd number of columns in the image the resulting line contains an odd number of bytes/line. IRAF file I/O cannot properly write data and the task was not structured to buffer lines for a case such as this. The task will now truncate the last column of the input image so the output will contain an even number of bytes. The workaround is simply to copy out a new image with an even number of columns before running the task. Fixed for future releases or contact site support for a code change.
The following comments are owned by whomever posted them. This site is not responsible for what they say.