You can use your platform HEVC/H.265 codecs to decode/encode images. HEIF library itself doesn't contain codecs.
- iOS/macOS: https://developer.apple.com/documentation/videotoolbox
- Android: https://developer.android.com/reference/android/media/MediaCodec.html
- Windows: https://msdn.microsoft.com/en-us/library/windows/desktop/ff819077(v=vs.85).aspx
- Linux: FFMPEG / https://software.intel.com/en-us/media-sdk / etc.
In decoding case you typically create decoder instance, configure it with information from Reader::getDecoderParameterSets()
and then give it actual image bitstream you get from Reader::getItemData()
to decode the image.
网友评论