PDF4Java Reference Documentation
com.o2sol.pdf4java.graphics.images Package / PDFPngImage Class / isPng Method
Collapse All Expand All
In This Topic

isPng Method
In This Topic
Checks if the given stream contains a PNG image.
Syntax

    public static boolean isPng(
       Stream stream
    )

#### Parameters

stream

#### Return Value

True if the stream contains a PNG image.
See Also

#### Reference

PDFPngImage Class
PDFPngImage Members

© 2025 O2 Solutions All Rights Reserved.

Send comments on this topic.