mirror of https://github.com/google/gemma.cpp.git
Remove the `std::istream` overload and directly parse the PPM format on the span. Load the image bytes in the file using `ReadFileToString` helper defined in "compression/io.h" instead of `std::ifstream`. |
||
|---|---|---|
| .. | ||
| testdata | ||
| BUILD | ||
| image.cc | ||
| image.h | ||
| image_test.cc | ||
| paligemma_test.cc | ||