使用 jfif 格式而不是纯 jpeg 格式在 geotiff 文件中生成 jpeg-YCbCr 切片
目前,我的应用程序使用以下选项创建 GeoTiff 平铺文件:
- PROFILE=GeoTIFF
- TILED=YES
- BLOCKXSIZE=xxx
- BLOCKYSIZE=xxx
- COMPRESS=JPEG
- PHOTOMETRIC=YCBCR
- JPEG_QUALITY=xx
但是,某些使用我提供的图块的应用程序由于“无效”而无法工作JFIF 格式。
如何强制 gdal 确保 GeoTiff 图块中的 JFIF 格式?
Currently, my app creates GeoTiff tiled files using following options:
- PROFILE=GeoTIFF
- TILED=YES
- BLOCKXSIZE=xxx
- BLOCKYSIZE=xxx
- COMPRESS=JPEG
- PHOTOMETRIC=YCBCR
- JPEG_QUALITY=xx
However, some apps that use my served tiles do not work due to "invalid" JFIF format.
How can I force gdal to ensure JFIF format in GeoTiff tiles?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
请参阅我自己的答案 https://gis.stackexchange.com/questions/426732/generate-jpeg-ycbcr-tiles-in-geotiff-file-with-jfif-format-instead-pure-jpeg-for/428023#428023。
基本上,解决方案涉及 gdal 代码修改
See my own answer in https://gis.stackexchange.com/questions/426732/generate-jpeg-ycbcr-tiles-in-geotiff-file-with-jfif-format-instead-pure-jpeg-for/428023#428023.
Basically, solution involves gdal code modifications