| 70 | // ---------------------------------------------------------------------------------------- |
| 71 | |
| 72 | void webp_loader::get_info() |
| 73 | { |
| 74 | if (!WebPGetInfo(data_.data(), data_.size(), &width_, &height_)) |
| 75 | { |
| 76 | throw image_load_error("webp_loader: Invalid header"); |
| 77 | } |
| 78 | } |
| 79 | |
| 80 | // ---------------------------------------------------------------------------------------- |
| 81 |
nothing calls this directly
no test coverage detected