PulpCore

pulpcore.image
Class PNGWriter

java.lang.Object
  extended by 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
 

Method Detail

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.


PulpCore

Copyright © 2007-2009 Interactive Pulp, LLC.