Skip to content

dragonfly-ai/img

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

63 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

img

A cross published Scala.js library for Image Processing.

Overview:

This Scala.js library brings convenient, high performance, image representation classes with low level processing capabilities to JavaScript and JVM environments.

Internals:

From the perspective of Scala on the JVM, the Img class wraps an Array[Int] for fast conversion to Java's BufferedImage type to maximize interoperability with other JVM image processing libraries.

From the perspective of Scala.js or plain Javascript environments such as web browsers and Node.js, the Img class wraps the native Uint8ClampedArray to facilitate interoperability with Canvas, pixel data transfer to WebWorkers, and fast data serialization.

Releases

No releases published

Packages

No packages published