nokiatech / heif

High Efficiency Image File Format
Other
1.74k stars 247 forks source link

Actually getting to the image's pixels #81

Open ppersits opened 4 years ago

ppersits commented 4 years ago

I compiled everything in C++ and it worked, but where is an example of actually getting to the image's pixels? The examples in examples.cpp just say this:

        if (reader->getItemDataWithDecoderParameters(masterId.get(), itemData, itemSize) == ErrorCode::OK)
        {
            // ...decode and display...
        }

But how do I decode?

Thanks in advance.