Baseed on work by Elliot Kroo on 2009-04-25 and adapted into Scala and rewritten.
Typeclass supporting writing of an Image to an array of bytes in a specified format, eg JPEG
Baseed on work by Elliot Kroo on 2009-04-25 and adapted into Scala and rewritten.
Baseed on work by Elliot Kroo on 2009-04-25 and adapted into Scala and rewritten.
This work is licensed under the Creative Commons Attribution 3.0 Unported License. To view a copy of this license, visit http://creativecommons.org/licenses/by/3.0/ or send a letter to Creative Commons, 171 Second Street, Suite 300, San Francisco, California, 94105, USA.
Typical usage will look something like:
import com.sksamuel.scrimage.nio.StreamingGifWriter val stream = StreamingGifWriter() stream.prepareStream("/path/to/gif.gif", BufferedImage.TYPE_INT_ARGB) stream.writeFrame(image0) stream.writeFrame(image1) stream.writeFrame(imageN) stream.finish()
Utilites for reading of an Image to an array of bytes in a specified format.
Baseed on work by Elliot Kroo on 2009-04-25 and adapted into Scala and rewritten.
This work is licensed under the Creative Commons Attribution 3.0 Unported License. To view a copy of this license, visit http://creativecommons.org/licenses/by/3.0/ or send a letter to Creative Commons, 171 Second Street, Suite 300, San Francisco, California, 94105, USA.