Skip to content
dawsonalexPublic
forked from xyproto/heic

About

Extract timing information and images from dynamic macOS wallpaper HEIF files with the ."heic" extension.

Resources

Stars

0 stars

Watchers

0 watching

Forks

 
 

Repository files navigation

HEIC

This is a fork of the Go code in github.com/strukturag/libheif/go, with the intention of being able to load dynamic wallpapers in the heic format.

Code has been added that makes it possible to read the timing information from dynamic wallpapers in the .heic and/or HEIF format.

...
metadataIDs := handle.MetadataIDs()
if len(metadataIDs) > 0 {
    metadataID := metadataIDs[0]
    timeTable, err := handle.ImageTimes(metadataID)
    // the mapping from image index to timestamp that contains the correct hour and minute are now in "timeTable"
    ...
}

Take a look at metadata_test.go for a full example.

General info

  • Version: 1.0.0
  • License: LGPL3

About

Extract timing information and images from dynamic macOS wallpaper HEIF files with the ."heic" extension.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages

⌂ 换网址