https://github.com/jdeng/goheif<p>Based on libde265 for HEVC decoding and some modifications to @bradfitz's HEIF parser.<p>Works for Linux/Mac OS X/Windows (with TDM-GCC).<p>All golang code is less than 2000 lines including the HEIF parser (the rest of the package is the included libde265 decoder C++ code). Likely the smallest self contained open source option on internet.