pulpcore.image
Class PNGWriter
java.lang.Object
pulpcore.image.PNGWriter
public class PNGWriter
- extends Object
Converts a CoreImage to the PNG file format.
This class only encodes PNG files in 24-bit RGB or 32-bit RGBA format and performs no
advanced compression techniques.
Method Summary |
static ByteArray |
write(CoreImage image)
Encodes the image as a PNG file and return the results as a byte array, or null if there
was an error writing the image. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
write
public static ByteArray write(CoreImage image)
- Encodes the image as a PNG file and return the results as a byte array, or null if there
was an error writing the image.
Copyright © 2007-2009 Interactive Pulp, LLC.