Opened 22 years ago

Closed 19 years ago

#244 closed defect (fixed)

icp greyscale conversion to jpeg broken

Reported by: warmerdam@… 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)

small.jpg (0 bytes ) - added by warmerdam@… 22 years ago.
corrupt jpeg file.
small.tif (0 bytes ) - added by warmerdam@… 22 years ago.
original tiff file.

Download all attachments as: .zip

Change History (4)

by warmerdam@…, 22 years ago

Attachment: small.jpg added

corrupt jpeg file.

by warmerdam@…, 22 years ago

Attachment: small.tif added

original tiff file.

comment:1 by gpotts, 22 years ago

Owner: changed from dburken@… to gpotts

comment:2 by dburken, 19 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.