-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gdaladdo creates black edges if mask is used #11555
Comments
Have you tried with lossless compressed overviews? |
This gives an error
but nearest resampling with no compression gives sharp edges
|
rouault
added a commit
to rouault/gdal
that referenced
this issue
Dec 30, 2024
…COMPRESS_OVERVIEW != JPEG Fixes comment OSGeo#11555 (comment) but not the core issue itself
For me it seems like compression doesn't cause it but resampling method does.
|
rouault
added a commit
to rouault/gdal
that referenced
this issue
Dec 31, 2024
rouault
added a commit
that referenced
this issue
Jan 4, 2025
…COMPRESS_OVERVIEW != JPEG Fixes comment #11555 (comment) but not the core issue itself
rouault
added a commit
that referenced
this issue
Jan 4, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What is the bug?
gdaladdo creates black edges if mask is used
Input file: input.tif.gz
Rendered before adding overviews:

Steps to reproduce the issue
Run
gdaladdo -r lanczos --config COMPRESS_OVERVIEW JPEG --config PHOTOMETRIC_OVERVIEW=YCBCR input.tif
on geotiff with following metadata:Rendered after adding overviews:

Note that i render image onto red background.
Versions and provenance
GDAL 3.11.0dev-051a853584, released 2024/10/31
Linux bono 6.11.10-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.11.10-1 (2024-11-23) x86_64 GNU/Linux
Additional context
#11535 (comment)
The text was updated successfully, but these errors were encountered: