Install & Compatibility
Where this runs
No compatibility data collected yet for this library.
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
webp/decode.h
✓ #include <webp/decode.h>
Decode a WebP image to RGBA pixels.
#include <webp/decode.h>
#include <iostream>
int main() {
int width, height;
// Assume webp_data is a buffer containing WebP data
uint8_t* data = WebPDecodeRGBA(webp_data, webp_data_size, &width, &height);
if (data) {
std::cout << "Decoded image: " << width << "x" << height << std::endl;
WebPFree(data);
}
return 0;
}
Debug
Known issues
No known issues recorded.
Audit
Dependencies
No dependency data recorded yet.
Resources
No resource links recorded.