Esempio n. 1
0
 public function testPictureWriterWritesTemplateImage()
 {
     $imageToSave = Image::make("./tests/FaceInserterTestData/result.png");
     PictureWriter::saveTemplateImage("filename.png", $imageToSave);
     $retrievedImage = PictureReader::readTemplate("filename.png");
     $this->assertInstanceOf(\Intervention\Image\Image::class, $retrievedImage);
 }