org.das2.util.DasPNGEncoder

DasPNGEncoder( )

Creates a new instance of DasPNGEncoder


addText

addText( String keyword, String content ) → void

Adds a tEXT chunk with the specified keyword and content.

Parameters

keyword - the specified keyword
content - the content for the tEXT chunk

Returns:

void (returns nothing)

[search for examples] [view on GitHub] [view on old javadoc] [view source]


removeAllText

removeAllText( String keyword ) → void

Removes all tEXT chunk with the specified keyword

Parameters

keyword - the specified keyword.

Returns:

void (returns nothing)

[search for examples] [view on GitHub] [view on old javadoc] [view source]


removeText

removeText( String keyword, String content ) → void

Removes the tEXT chunk with the specified keyword and content.

Parameters

keyword - the specified keyword
content - the specified content to be removed

Returns:

void (returns nothing)

[search for examples] [view on GitHub] [view on old javadoc] [view source]


setGamma

setGamma( int gamma ) → void

Parameters

gamma - an int

Returns:

void (returns nothing)

[search for examples] [view on GitHub] [view on old javadoc] [view source]


write

write( java.awt.image.BufferedImage image, java.io.OutputStream out ) → void

Parameters

image - a BufferedImage
out - an OutputStream

Returns:

void (returns nothing)

[search for examples] [view on GitHub] [view on old javadoc] [view source]