Opened 14 years ago

Closed 5 years ago

#3549 closed defect (wontfix)

New PCIDSK Driver has no COMPRESSION metadata

Reported by: warmerdam Owned by: warmerdam
Priority: low Milestone: closed_because_of_github_migration
Component: GDAL_Raster Version: svn-trunk
Severity: minor Keywords: PCIDSK
Cc: gaopeng

Description

The new PCIDSK driver does not include COMPRESSION IMAGE_STRUCTURE metadata for jpeg or rle compressed images.

Change History (3)

comment:1 by Jukka Rahkonen, 9 years ago

From the driver document page http://www.gdal.org/frmt_pcidsk.html

"Overall file, and band specific metadata should be correctly associated with the image or bands"

Either the manual page or this ticket is wrong. The code for the "New PCIDSK Driver" is probably here: http://trac.osgeo.org/gdal/browser/trunk/gdal/frmts/pcidsk/pcidskdataset2.cpp

comment:2 by Jukka Rahkonen, 9 years ago

Confirmed by a simple test with GDAL 2.0-dev

gdal_translate -of pcidsk -co compression=RLE -co interleaving=tiled P3311D.tif P33_1.pci

File size with compression=RLE is smaller that without so apparently it is applied. Still gdalinfo does not report compression and the aux.xml file shows only

<PAMDataset>
  <PAMRasterBand band="1">
    <ColorInterp>Gray</ColorInterp>
  </PAMRasterBand>
</PAMDataset>

comment:3 by Even Rouault, 5 years ago

Milestone: closed_because_of_github_migration
Resolution: wontfix
Status: newclosed

This ticket has been automatically closed because Trac is no longer used for GDAL bug tracking, since the project has migrated to GitHub. If you believe this ticket is still valid, you may file it to https://github.com/OSGeo/gdal/issues if it is not already reported there.

Note: See TracTickets for help on using tickets.