https://github.com/lrf141/ip4s
Image processing simple wrapper for Scala.It is based on Java's ImageIO class.
https://github.com/lrf141/ip4s
Last synced: 3 months ago
JSON representation
Image processing simple wrapper for Scala.It is based on Java's ImageIO class.
- Host: GitHub
- URL: https://github.com/lrf141/ip4s
- Owner: lrf141
- License: mit
- Created: 2017-03-26T02:39:27.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-05-10T08:00:17.000Z (about 9 years ago)
- Last Synced: 2025-01-13T16:50:47.610Z (over 1 year ago)
- Language: Scala
- Homepage:
- Size: 1.58 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# IP4S
Image processing simple wrapper for Scala.
It is based on Java's ImageIO class.
# Supported format
- BMP
- GIF
- JPEG
- JPG
- PNG
- WBMP
- bmp
- gif
- jpeg
- jpg
- png
- wbmp
# How to install
```scala
resolvers += "Maven Repository on Github" at "https://lrf141.github.io/IP4S/"
libraryDependencies ++= Seq(
"ip4s" % "ip4s_2.12" % "version"
)
```
# How to use
```scala
import ip4s.IPL
val ipl = new IPL()
var image = ipl.read("lenna.png") //get Array[Array[Pixel]]
ipl.write("lenna2.png", image)
```
# Version
* 1.0.0
* add read and write function
* get image as Array[Array[Pixel]]
* only argb