| 11 | namespace snap::drawing { |
| 12 | |
| 13 | static Valdi::BytesView bytesFromString(const char* value) { |
| 14 | return Valdi::BytesView(nullptr, reinterpret_cast<const Valdi::Byte*>(value), strlen(value)); |
| 15 | } |
| 16 | |
| 17 | static void expectBitmapIsRed(const Ref<Image>& image) { |
| 18 | TestBitmap bitmap(image->width(), image->height()); |