---
name: "PDF::API2::Resource::XObject::Image::PNG"
section: "3pm"
platform: "linux"
package: "libpdf-api2-perl"
version: "0.73-1"
release: "Debian 6.0 (Squeeze)"
platforms: ["linux"]
url: "https://new.carta.tech/PDF::API2::Resource::XObject::Image::PNG"
---

# PDF::API2::Resource::XObject::Image::PNG(3pm)

PNG support for PDF::API2

## NAME

PDF::API2::Resource::XObject::Image::PNG - PNG support for PDF::API2

- $res = PDF::API2::Resource::XObject::Image::PNG-\>new $pdf, $file \[, $name\]

  Returns a png-image object.

- $res = PDF::API2::Resource::XObject::Image::PNG-\>new\_api $api, $file \[, $name\]

  Returns a png-image object. This method is different from 'new' that it needs an PDF::API2-object rather than a Text::PDF::File-object.

## AUTHOR

alfred reibenschuh

## HISTORY

```
    $Log: PNG.pm,v $
    Revision 2.0  2005/11/16 02:18:23  areibens
    revision workaround for SF cvs import not to screw up CPAN
    Revision 1.2  2005/11/16 01:27:50  areibens
    genesis2
    Revision 1.1  2005/11/16 01:19:27  areibens
    genesis
    Revision 1.10  2005/06/17 19:44:04  fredo
    fixed CPAN modulefile versioning (again)
    Revision 1.9  2005/06/17 18:53:35  fredo
    fixed CPAN modulefile versioning (dislikes cvs)
    Revision 1.8  2005/03/14 22:01:31  fredo
    upd 2005
    Revision 1.7  2004/12/16 00:30:55  fredo
    added no warn for recursion
    Revision 1.6  2004/06/15 09:14:54  fredo
    removed cr+lf
    Revision 1.5  2004/06/07 19:44:44  fredo
    cleaned out cr+lf for lf
    Revision 1.4  2004/02/12 14:48:01  fredo
    removed duplicate definition of $fh
    Revision 1.3  2003/12/08 13:06:11  Administrator
    corrected to proper licencing statement
    Revision 1.2  2003/11/30 17:37:16  Administrator
    merged into default
    Revision 1.1.1.1.2.2  2003/11/30 16:57:10  Administrator
    merged into default
    Revision 1.1.1.1.2.1  2003/11/30 16:00:42  Administrator
    added CVS id/log
```
