--web-optimized option creates image with incorrect bounds
See original GitHub issueIssue Description
not sure if this is related to #123 but when using the --web-optimized
option the output has a larger bounding box than the input.
tile.tiff
tile.tiff.zip
rio cogeo create --cog-profile deflate --dtype float32 --overview-resampling bilinear --web-optimized --resampling bilinear tile.tiff 1.tiff
rio cogeo create --cog-profile deflate --dtype float32 --overview-resampling bilinear --resampling bilinear tile.tiff 2.tiff
The input tile.tiff
has the bounds of the second screenshot, so the first command with --web-optimized
creates an incorrect output.
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
rio-cogeo/cogeo.py at main · cogeotiff/rio-cogeo - GitHub
Cloud Optimized GeoTIFF creation and validation plugin for rasterio - rio-cogeo/cogeo.py at main · cogeotiff/rio-cogeo.
Read more >How To Optimize Images for Web Without Losing Quality
Are images killing the load speed of your website? Learn how to optimize images for web (PNGs and JPGs) without losing quality, when...
Read more >How To Optimize Images for Web and Performance - Kinsta
Images are often the #1 element responsible for slow page load times. Learn how to optimize images for web and your site.
Read more >Web-Optimized Image Delivery | Adobe Experience Manager
To enable web-optimized image delivery, edit a page template and simply activate the option Enable Web Optimized Images within the design ...
Read more >Best Image Sizes and How to Save Images For the Web (2022)
Unoptimized images slow down websites. Slow websites = bad user experience, lower chances to rank in Google searches and ultimately less ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
hi @vincentsarago
Thanks for looking into this, you’re right when I zoom right in I can see the precision issue and I now understand why it’s needing to fill in these other tiles when using web-optimized.
@andrewharvey 👋 ☝️