Opened 16 years ago
Closed 16 years ago
#2572 closed defect (fixed)
fixed
Reported by: | winkey | Owned by: | Even Rouault |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | GDAL_Raster | Version: | svn-trunk |
Severity: | normal | Keywords: | overview extra sample |
Cc: |
Description
I did notice Extra Samples: 1<assoc-alpha> seems to missing from the overviews
[ldm@atmos ike]$ tiffinfo testy.tiff TIFFReadDirectory: Warning, Unknown field with tag 33550 (0x830e) encountered. TIFFReadDirectory: Warning, Unknown field with tag 33922 (0x8482) encountered. TIFFReadDirectory: Warning, Unknown field with tag 34735 (0x87af) encountered. TIFFReadDirectory: Warning, Unknown field with tag 34737 (0x87b1) encountered. TIFFReadDirectory: Warning, Unknown field with tag 42113 (0xa481) encountered. TIFF Directory at offset 0x6e00e7a (115347066) Image Width: 4901 Image Length: 5441 Tile Width: 256 Tile Length: 256 Bits/Sample: 8 Sample Format: unsigned integer Compression Scheme: None Photometric Interpretation: RGB color Extra Samples: 1<assoc-alpha> Samples/Pixel: 4 Planar Configuration: single image plane Tag 33550: 0.000003,0.000003,0.000000 Tag 33922: 0.000000,0.000000,0.000000,-95.213176,29.770886,0.000000 Tag 34735: 1,1,0,5,1024,0,1,2,1025,0,1,1,2048,0,1,4326,2049,34737,7,0,2054,0,1,9102 Tag 34737: WGS 84| Tag 42113: 255 TIFF Directory at offset 0x6e01da8 (115350952) Subfile Type: reduced-resolution image (1 = 0x1) Image Width: 2451 Image Length: 2721 Tile Width: 128 Tile Length: 128 Bits/Sample: 8 Sample Format: unsigned integer Compression Scheme: None Photometric Interpretation: RGB color Samples/Pixel: 4 Planar Configuration: single image plane TIFF Directory at offset 0x6e02c1a (115354650) Subfile Type: reduced-resolution image (1 = 0x1) Image Width: 1226 Image Length: 1361 Tile Width: 128 Tile Length: 128 Bits/Sample: 8 Sample Format: unsigned integer Compression Scheme: None Photometric Interpretation: RGB color Samples/Pixel: 4 Planar Configuration: single image plane TIFF Directory at offset 0x6e0303c (115355708) Subfile Type: reduced-resolution image (1 = 0x1) Image Width: 613 Image Length: 681 Tile Width: 128 Tile Length: 128 Bits/Sample: 8 Sample Format: unsigned integer Compression Scheme: None Photometric Interpretation: RGB color Samples/Pixel: 4 Planar Configuration: single image plane TIFF Directory at offset 0x6e031de (115356126) Subfile Type: reduced-resolution image (1 = 0x1) Image Width: 307 Image Length: 341 Tile Width: 128 Tile Length: 128 Bits/Sample: 8 Sample Format: unsigned integer Compression Scheme: None Photometric Interpretation: RGB color Samples/Pixel: 4 Planar Configuration: single image plane TIFF Directory at offset 0x6e032d8 (115356376) Subfile Type: reduced-resolution image (1 = 0x1) Image Width: 154 Image Length: 171 Tile Width: 128 Tile Length: 128 Bits/Sample: 8 Sample Format: unsigned integer Compression Scheme: None Photometric Interpretation: RGB color Samples/Pixel: 4 Planar Configuration: single image plane [ldm@atmos ike]$
Change History (5)
comment:1 by , 16 years ago
comment:2 by , 16 years ago
when i added overviews to to images with an alpha channel the overviews came out totaly transparent my only guess is its picking up the wrong band as the alpha channel, the images were created by gdalwarp
comment:3 by , 16 years ago
winkey,
I've commited in r15393 the code that duplicates the ExtraSamples tag in overviews. Could you confirm that it solves your issue ?
By the way, which viewer are you using ? (there's a high chance I've no access to it if it is not open source ;-))
comment:4 by , 16 years ago
Component: | Utilities → GDAL_Raster |
---|---|
Keywords: | overview extra sample added |
Owner: | changed from | to
Status: | new → assigned |
comment:5 by , 16 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Summary: | overviews on images with a alpha channel don't seem to work → fixed |
all is well now, thank you
viewers were
gdalwarp -dstalpha.... -> gdaladdo -> mapserver (gdal/png) -> Google earth | -> openlayers/seamonkey gdalwarp -dstalpha.... -> gdaladdo -ro ext.ovr -> eog
Yes, indeed. But does it cause problems ? You can also notice we don't reproduce the GeoTIFF tags in overviews neither.