[gdal-dev] CreateCopy/BuildOverviews produce strange colors

2010-08-14 Thread Helge Morkemo
Hi experts! I'm trying to make a (lower quality) copy of a GeoTIFF file, and add overviews to that copy. It seems to work fine, BUT the resulting file has the colors messed up! With JPEG_QUALITY=30, the colors seem to be "faded". With JPEG_QUALITY=90, they're more "intense" than the original. GDA

[gdal-dev] CreateCopy/BuildOverviews produce strange colors

2010-08-12 Thread Helge Morkemo
Hi experts! I'm trying to make a (lower quality) copy of a GeoTIFF file, and add overviews to that copy. It seems to work fine, BUT the resulting file has the colors messed up! With JPEG_QUALITY=30, the colors seem to be "faded". With JPEG_QUALITY=90, they're more "intense" than the original. GDAL

Re: [gdal-dev] Bigtiff

2010-07-01 Thread Helge Morkemo
Hi all I've been testing. Seems like something happens when I set tilesize (BLOCKXSIZE/BLOCKYSIZE) to 256 or bigger. My test program (VisualBasic2010) produced an untiled file of 10x10 pixels in 324 seconds. (Uncompressed, no overviews) I can live with that. With tilesize 128 it takes 158

[gdal-dev] Bigtiff

2010-07-01 Thread Helge Morkemo
Hi I'm creating a huge bigtiff file, it's 169000x151000 pixels (23.77 Gigapixels, rgb) from .net using WriteRaster. In the beginning it seemed to be producing output with good performance, but it is getting slower and slower. The production time seems to be increasing in steps. Is there a caching

Re: [gdal-dev] BuildOverviews fails gor Jpeg-compressed TIFF

2010-05-25 Thread Helge Morkemo
Have you made these changes after the 1.7.2 release? I have tested some more. The problem occurs when I use PHOTOMETRIC=YCBCR, not when I use =RGB. I've tried setting INTERLEAVE=PIXEL too, but that didn't help (yes, I know it's the default). Anything else I can try? ___

[gdal-dev] BuildOverviews fails gor Jpeg-compressed TIFF

2010-05-21 Thread Helge Morkemo
Hi all! I have a problem when producing overviews in a jpeg compressed tiff.with Gdal 1.7.2, Windows 7 After my basic image is produced, with the GeoTIFF driver, I call BuildOverviews("GAUSS",overviewlist,nothing,nothing) overviewlist is 2,4,8,16,32,64,128 (It's a VB.NET 2010 app.) I get this mes