Skip to content
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

HEIF/AVIF driver's creation capabilities for 16-bit multispectral images. And add VVC driver. #11128

Open
lidq92 opened this issue Oct 26, 2024 · 4 comments

Comments

@lidq92
Copy link

lidq92 commented Oct 26, 2024

Feature description

Hope that HEIF, AVIF, and VVC drivers support creation capabilities for 16-bit multispectral images.

I can use HEVC reference software HM and VVC reference software VTM for the compression of remote sensing images.
I wonder if I can do the HEVC/VVC compression with GDAL's raster driver.
So I just ran gdal_translate -q -of HEIF ARAD_1K_0950.tif ARAD_1K_0950.heif, then got ERROR 1: HEIF driver has no creation capabilities.
After checking the doc, I found that HEIF does have no creation capabilities in the current version.
Besides, AVIF supports only 8/10/12-bit images, single-bland, single-band and alpha channel, RGB and RGBA. AVIF also does not support compression of 16-bit multispectral images with more than 4 bands.

Additional context

No response

@rouault
Copy link
Member

rouault commented Oct 26, 2024

CC @bradh

@lidq92 HEIF creation capabilities have just landed in GDAL master (3.11.0dev) a few days ago. Did you try to build it from source?

@lidq92
Copy link
Author

lidq92 commented Oct 26, 2024

CC @bradh

@lidq92 HEIF creation capabilities have just landed in GDAL master (3.11.0dev) a few days ago. Did you try to build it from source?

My current version is '3.11.0dev-bafd1ad193' (Maybe from your https://github.com/rouault/gdal/tree/fix_11095). I will have a try on the latest one. I just git clone the latest master, but haven't installed and tried it.

@bradh
Copy link
Contributor

bradh commented Oct 26, 2024

Adding more creation capabilities is planned but not scheduled.

@lidq92 are you in a position to assist with that work?

There are inherent limitations in some formats and in some implementations of those formats. Uncompressed might be the best way to handle some use cases. JPEG 2000 variations may also be good options. So we may need enhancements at the libheif, libavif or codec level as well as the GDAL work?

@lidq92
Copy link
Author

lidq92 commented Oct 26, 2024

@bradh I appreciate the update and would be happy to assist with relevant work. However, I want to mention that my skills in C/C++ programming are somewhat limited. I will try to contribute some codes, but I might be able to contribute primarily by reviewing the changes and conducting verification tasks for the functionality.

Let me know how I can help!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants