Questions tagged [avif]

51 questions
0
votes
1 answer

How to convert a .avif images to video with ffmpeg?

convert a .avif images to video with ffmpeg by read ffmpeg doc, i run such cmd in shell: ffmpeg -framerate 10 -pattern_type glob -i *.avif -c:v libx264 -pix_fmt yuv420p out.mp4 but only get some error: ffmpeg version N-109896-g156ca86569 Copyright…
tousang
  • 1
  • 1
0
votes
0 answers

Decrypting Image Headers for WebP, JPEG XL, HEIF, AVIF image formats using Python

I want to decode and understand the structure of various latest image formats (namely WebP, JPEG XL, HEIF and AVIF) and compare header information with respect to image data to see which format is header information heavy with respect to image data.…
0
votes
1 answer

Astro with React. AVIF Images not rendering on mobile

Using astro and react I have a custom image component: ImageWBorder return (
Ben Shekhtman
  • 385
  • 5
  • 15
0
votes
1 answer

Thumbnails leading to modal images, with AVIF falling back to JPG

I've an old web page with a few dozen images, mostly: so thumbnails are loaded first, then users can click on most (not all) images to see high-res versions. N.B. it's not a lightbox -…
Ozaru
  • 1
  • 1
0
votes
1 answer

Detect if AVIF image is animated using JavaScript

Is there a way to detect if an AVIF image is animated using JavaScript? Absolutely no frameworks or libraries.
John
  • 1
  • 13
  • 98
  • 177
0
votes
0 answers

AttributeError: module 'pims' has no attribute 'AVVideoReader'

Trying to read an avi file with pims and it shows AttributeError: module 'pims' has no attribute 'AVVideoReader' %matplotlib inline import numpy as np import pandas as pd import av import pims import trackpy as tp import os import matplotlib as…
0
votes
0 answers

Flexbox works only when I use a instead of a

This is a super cleaned version of some photos I need in a wall of text (padding and red for visualization aid).
Marco M.
  • 21
  • 4
0
votes
1 answer

PHP Imagick AVIF image quality options not working

I have this code to save an AVIF image : if (class_exists('Imagick')) { $image = new Imagick(); $image->readImage($file); // $file was defined before $image->setImageFormat('avif'); …
0
votes
0 answers

Laravel — avif file validation

I tried to validate avif file like I validate png or jpeg, with mimes rule, but Laravel determines file mime type as application/octet-stream and rejects it. $request->validate([ 'file' => 'required|file|mimes:avif' ]); How do I validate .avif…
trckster
  • 430
  • 1
  • 6
  • 11
0
votes
1 answer

Need some clarifications about tag - I'm a beginner

I'm trying to write a tag that lets me to control several aspects of an image like: Responsive image sizes Art direction Partially supported image formats like avif or webp Fall backs to common image formats like JPG & PNG I'm a beginner and I'm…
0
votes
3 answers

Picture source with srcset

I want to use tag and 3 image formats. avif \ webp \ png. At the same time, but not to forget about retina displays. At the moment I came up with something like this format:
Crus
  • 119
  • 7
0
votes
1 answer

how to enable "imageavif" in PHP8.1

I using the the new php8.1 function is imageavif but that throw error message undefined function and then print the gdinfo() but avif is not enabled so how to enable it?
UserL
  • 11
0
votes
1 answer

Nginx rules for .AVIF and .WEBP

I am using WordOps script to setup my LEMP server. It already has the rules to serve .webp and .avif images and I’ve generated the .webp and .avif images on my website. The problem is Edge browser does not support .avif image and it will display…
0
votes
2 answers

how to detect that avif is supported or not in reactjs?

I am trying to optimize the image by formatting that to avif. But some of the browser's are not supporting avif. So I created a utility function like this function isAvifSupported() { let returnValue; const avif = new Image(); avif.src…
SDK
  • 1,356
  • 3
  • 19
  • 44
0
votes
0 answers

Does WIC support AVIF files?

My understanding is that Windows has an AVIF codec. I would like to read AVIF files using WIC, but don't see GUID_ContainerFormatAVIF (or anything similar) defined anywhere. Without this information I can't add AVIF support to my program. Anyone…
JMS
  • 1