Opened 22 years ago
Closed 19 years ago
#244 closed defect (fixed)
icp greyscale conversion to jpeg broken
Reported by: | Owned by: | gpotts | |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | Loaders | Version: | 0.2.0a-2 |
Severity: | normal | Keywords: | |
Cc: |
Description
Using the cygwin executables posted Dec 5th or 6th. I am using the supplied Cygwin dll, but my cygwin environment (not sure if this matters) reports: warmerda% uname -a CYGWIN_NT-5.1 GDAL800XP 1.3.3(0.46/3/2) 2001-09-12 23:54 i686 unknown The command: icp.exe jpeg small.tif small.jpg Seems to complete fine, but image_info.exe reports the following: N:\wrk\ossim>image_info.exe -i small.jpg theDefaultElevationPath: Corrupt JPEG data: 1 extraneous bytes before marker 0xc0 lr_x: 74.000000000000000 lr_y: 74.000000000000000 number_input_bands: 1 number_lines: 75.000000000000000 number_output_bands: 1 number_samples: 75.000000000000000 radiometry: 8-bit ul_x: 0.000000000000000 ul_y: 0.000000000000000 Viewing the image, it has some significant anomolies. The results were substantially worse on a larger original. I just made this image small to work with easily. I would guess that the output jpeg file was opened in text mode instead of binary mode but I am not at all sure of that. I am not even sure if that can occur with Cygwin builds.
Attachments (2)
Change History (4)
by , 22 years ago
comment:1 by , 22 years ago
Owner: | changed from | to
---|
comment:2 by , 19 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
corrupt jpeg file.