POV-Ray : Newsgroups : povray.binaries.images : Considering avif image format support : Re: Considering avif image format support Server Time
5 Feb 2025 15:08:44 EST (-0500)
  Re: Considering avif image format support  
From: William F Pokorny
Date: 28 Jan 2025 23:29:26
Message: <6799aea6$1@news.povray.org>
On 1/28/25 11:24, kurtz le pirate wrote:
> It's a very good idea. however, we need to look at the development 
> effort required to use this new format for out and in images.
> Unless you use ready-made libraries like ImageMagick, "libheif", 
> "libavif", ...
> 
> In terms of comparability, the images in your messages are clearly 
> visible, with some differences, but visible.

Thanks for the feedback.

I'm able to view the avif image by clicking on the link in firefox. Both 
the jpg and avif files show up for me in thunderbird.

We'd certainly lean on libavif. Unsure about libheif. The trickier part 
would be support for the HDR transfer functions which would need to be 
pulled into POV-Ray for full support (display_gamma).

There are also wide color gamut capabilities - some of which I guess 
ripples back into avif SDR output formats too. Could get complicated as 
there isn't currently any existing code and keyword support for it.

It's true my todo list is very long, so we'll see. The ffmpeg program 
can do single image format conversions and it supports pfm already, so
an option would be to use it for a pre or post frame script calling 
ffmpeg to do the conversion from/to avif (unsure about ImageMajick's pfm 
support).

---
Aside. While looking at the avif format I stumbled across a USA 
government site which is keeping up a large collections of latest 
official file format documents. Looked useful. See:

https://www.loc.gov/preservation/digital/formats/fdd/browse_list.shtml

Bill P.


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.