This commit is contained in:
2023-12-04 15:18:37 +01:00
parent 309088e5d2
commit e33f77b46e
18 changed files with 366 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
package imagefilters
import isc.graphics.ImageGraphics
object ImageProcessingApp extends App {
val imageFile = "./res/collins_eileen.png"
val org = new ImageGraphics(imageFile, "Original", -500, -250)
val dest = new ImageGraphics(imageFile, "Duplicate", 0, -250)
// Simple copy and display
val newPixels = ImageFilters.duplicate(org.getPixelsBW())
dest.setPixelsBW(newPixels)
}