| 80 | // ---------------------------------------------------------------------------------------- |
| 81 | |
| 82 | void webp_loader::read_argb(unsigned char *out, const size_t out_size, const int out_stride) const |
| 83 | { |
| 84 | if (!WebPDecodeARGBInto(data_.data(), data_.size(), out, out_size, out_stride)) |
| 85 | { |
| 86 | throw image_load_error("webp_loader: decoding failed"); |
| 87 | } |
| 88 | } |
| 89 | |
| 90 | // ---------------------------------------------------------------------------------------- |
| 91 |
nothing calls this directly
no test coverage detected