-
| 
         in my projects I employ          for i in range(self.frame_len):
            self.img.seek(i)
            raw_frames.append(self.img.copy())
        frame_durations = [duration if (duration := frame.info.get('duration', 100)) else 100 for frame in raw_frames] This works fine for almost all animated image formats both built in pillow and 3rd party (APNG/WEBP/AVIF/...) however not for heif image used: https://nokiatech.github.io/heif/content/image_sequences/starfield_animation.heic  | 
  
Beta Was this translation helpful? Give feedback.
      
      
          Answered by
          
            bigcat88
          
      
      
        Oct 7, 2024 
      
    
    Replies: 1 comment 1 reply
-
| 
         AFAIK,   | 
  
Beta Was this translation helpful? Give feedback.
                  
                    1 reply
                  
                
            
      Answer selected by
        maj113
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
AFAIK,
libheifdoes not support such images(it supports only first image in sequence):strukturag/libheif#57
strukturag/libheif#475