task 8.4
This commit is contained in:
@@ -55,5 +55,7 @@ object ImageProcessingApp extends App {
|
||||
val imageFile: String = "./res/collins_eileen.png"
|
||||
val org = new ImageGraphics(imageFile, "Original", -768, -512)
|
||||
val sepia = new ImageGraphics(imageFile, "Sepia", -256, -512)
|
||||
val noise = new ImageGraphics(imageFile, "Noise", 256, -512)
|
||||
sepia.setPixelsColor(ImageFilters.sepia(org.getPixelsColor()))
|
||||
noise.setPixelsColor(ImageFilters.noise(org.getPixelsColor(), 50))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user