Create a tiny 3×720 colored frame
| 40 | |
| 41 | // Create a tiny 3×720 colored frame |
| 42 | static std::shared_ptr<Frame> makeColorFrame() |
| 43 | { |
| 44 | QImage img(3, 720, QImage::Format_ARGB32); |
| 45 | img.fill(QColor(128,128,128,255)); |
| 46 | img.setPixelColor(1,1, QColor(100,150,200,255)); |
| 47 | auto frame = std::make_shared<Frame>(); |
| 48 | *frame->GetImage() = img; |
| 49 | return frame; |
| 50 | } |
| 51 | |
| 52 | TEST_CASE("zero radius leaves image unchanged", "[effect][sharpen]") |
| 53 | { |