{"id":16721026,"url":"https://github.com/prior99/node-libpng","last_synced_at":"2025-07-12T03:14:14.762Z","repository":{"id":30850299,"uuid":"125013829","full_name":"Prior99/node-libpng","owner":"Prior99","description":"Unofficial bindings for node to libpng.","archived":false,"fork":false,"pushed_at":"2024-01-21T15:43:08.000Z","size":1803,"stargazers_count":19,"open_issues_count":7,"forks_count":11,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-15T03:27:37.360Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Prior99.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-03-13T08:01:12.000Z","updated_at":"2023-06-04T06:26:03.000Z","dependencies_parsed_at":"2024-06-18T16:55:59.904Z","dependency_job_id":"ac38bb24-4fd5-436e-85af-4adb480e2fd9","html_url":"https://github.com/Prior99/node-libpng","commit_stats":{"total_commits":119,"total_committers":7,"mean_commits":17.0,"dds":"0.10084033613445376","last_synced_commit":"36d387c588221081032288b78a03bd86d52a47a0"},"previous_names":[],"tags_count":35,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Prior99%2Fnode-libpng","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Prior99%2Fnode-libpng/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Prior99%2Fnode-libpng/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Prior99%2Fnode-libpng/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Prior99","download_url":"https://codeload.github.com/Prior99/node-libpng/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243835959,"owners_count":20355613,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-12T22:28:05.662Z","updated_at":"2025-03-17T01:31:26.503Z","avatar_url":"https://github.com/Prior99.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# node-libpng\n\n[![npm](https://img.shields.io/npm/v/node-libpng.svg)](https://www.npmjs.com/package/node-libpng)\n[![Build Status](https://app.travis-ci.com/Prior99/node-libpng.svg?branch=master)](https://app.travis-ci.com/github/Prior99/node-libpng)\n[![Build status](https://ci.appveyor.com/api/projects/status/1dbpcj210jlyv0e1/branch/master?svg=true)](https://ci.appveyor.com/project/Prior99/node-libpng/branch/master)\n[![Coverage Status](https://coveralls.io/repos/github/Prior99/node-libpng/badge.svg?branch=master)](https://coveralls.io/github/Prior99/node-libpng?branch=master)\n\nUnofficial bindings for node to libpng.\n\nPlease also refer to the **[Documentation](https://prior99.github.io/node-libpng/docs/index.html)**.\n\n## Table of contents\n\n * [node-libpng](#node-libpng)\n    * [Table of contents](#table-of-contents)\n    * [Supported environments](#supported-environments)\n    * [Usage](#usage)\n       * [Reading (Decoding)](#reading-decoding)\n           * [Reading PNG files using Promises](#reading-png-files-using-promises)\n           * [Reading PNG files using a callback](#reading-png-files-using-a-callback)\n           * [Reading PNG files synchroneously](#reading-png-files-synchroneously)\n           * [Decoding a buffer](#decoding-a-buffer)\n        * [Writing (Encoding)](#writing-encoding)\n           * [Writing PNG files using Promises](#writing-png-files-using-promises)\n           * [Writing PNG files using a callback](#writing-png-files-using-a-callback)\n           * [Writing PNG files synchroneously](#writing-png-files-synchroneously)\n           * [Encoding into a Buffer](#encoding-into-a-buffer)\n        * [Accessing the pixels](#accessing-the-pixels)\n           * [Accessing in the image's color format](#accessing-in-the-images-color-format)\n           * [Accessing in rgba format](#accessing-in-rgba-format)\n        * [Modifying the image](#modifying-the-image)\n           * [Cropping](#cropping)\n           * [Resizing the canvas](#resizing-the-canvas)\n           * [Copying an image into another image](#copying-an-image-into-another-image)\n           * [Filling an area with a specified color](#filling-an-area-with-a-specified-color)\n           * [Setting a single pixel](#setting-a-single-pixel)\n    * [Benchmark](#benchmark)\n       * [Read access (Decoding)](#read-access-decoding)\n       * [Write access (Encoding)](#write-access-encoding)\n       * [Pixel access](#pixel-access)\n    * [Contributing](#contributing)\n       * [Generating the libpng config](#generating-the-libpng-config)\n    * [Contributors](#contributors)\n\n## Supported environments\n\nThis is a native Addon to NodeJS which delivers prebuilt binaries. Only some environments are supported:\n\n| Node Version       | Windows 64-Bit     | Windows 32-Bit     | Linux 64-Bit       | Linux 32-Bit | OSX                |\n|--------------------|--------------------|--------------------|--------------------|--------------|--------------------|\n| Earlier            | ✗                  | ✗                  | ✗                  | ✗            | ✗                  |\n| Node 10 *(Abi 64)* | ✓                  | ✓                  | ✓                  | ✗            | ✓                  |\n| Node 11 *(Abi 67)* | ✗                  | ✗                  | ✗                  | ✗            | ✗                  |\n| Node 12 *(Abi 72)* | ✓                  | ✓                  | ✓                  | ✗            | ✓                  |\n| Node 13 *(Abi 79)* | ✗                  | ✗                  | ✗                  | ✗            | ✗                  |\n| Node 14 *(Abi 83)* | ✓                  | ✓                  | ✓                  | ✗            | ✓                  |\n| Node 15 *(Abi 88)* | ✓                  | ✓                  | ✓                  | ✗            | ✓                  |\n| Node 16 *(Abi 93)* | ✓                  | ✓                  | ✓                  | ✗            | ✓                  |\n\n## Usage\n\n### Reading (Decoding)\n\nMultiple ways of reading and decoding PNG encoded images exist:\n\n * [readPngFile](https://prior99.github.io/node-libpng/docs/globals.html#readpngfile) Reads a PNG file and returns a [PngImage](https://prior99.github.io/node-libpng/docs/classes/pngimage.html) instance with the decoded data.\n    * The function can take an optional argument for using a node-style callback API. [Example](#reading-png-files-using-a-callback)\n    * The function will return a Promise when not providing a callback. [Example](#reading-png-files-using-promises)\n * [readPngFileSync](https://prior99.github.io/node-libpng/docs/globals.html#readpngfilesync) Will read a PNG file synchroneously and return a [PngImage](https://prior99.github.io/node-libpng/docs/classes/pngimage.html) instance with the decoded image. [Example](#reading-png-files-synchroneously)\n * [decode](https://prior99.github.io/node-libpng/docs/globals.html#decode) Will decode a Buffer of raw PNG file data and return a [PngImage](https://prior99.github.io/node-libpng/docs/classes/pngimage.html) instance. [Example](#decoding-a-buffer)\n\n#### Reading PNG files using Promises\n\nIn order to use the Promise-based API, simply omit the third argument.\n\n```typescript\nimport { readPngFile } from \"node-libpng\";\n\nasync function readMyFile() {\n    const image = await readPngFile(\"path/to/image.png\");\n    console.log(`Reading was successful. The dimensions of the image are ${image.width}x${image.height}.`);\n}\n```\n\nIf an error occured while reading the file or decoding the buffer, the Promise which `writePngFile` returns will reject with the error.\n\n#### Reading PNG files using a callback\n\nIn order to use the callback-based API, simply provide a callback as the third argument.\n\n```typescript\nimport { readPngFile } from \"node-libpng\";\n\nfunction readMyFile() {\n    readPngFile(\"path/to/image.png\", (error, image) =\u003e {\n        if (error !== null) {\n            // TODO: Check what `error` contains.\n        }\n        console.log(`Reading was successful. The dimensions of the image are ${image.width}x${image.height}.`);\n    });\n}\n```\n\nIf an error occured while reading the file or decoding the buffer, it will be passed as the first argument to the callback.\nOtherwise `null` will be passed. The [PngImage](https://prior99.github.io/node-libpng/docs/classes/pngimage.html) instance will be passed as the second argument. If an error occured,\nit will be `undefined`.\n\n#### Reading PNG files synchroneously\n\nIt is possible to read the image from the disk in a blocking way, using Node's `readFileSync`:\n\n```typescript\nimport { readPngFileSync } from \"node-libpng\";\n\nfunction readMyFile() {\n    const image = readPngFileSync(\"path/to/image.png\");\n    console.log(`Reading was successful. The dimensions of the image are ${image.width}x${image.height}.`);\n}\n```\n\nIf an error occured while reading the file or decoding the buffer, it will be `throw`n.\n\n#### Decoding a buffer\n\nBuffers can be decoded directly into a [PngImage](https://prior99.github.io/node-libpng/docs/classes/pngimage.html) instance:\n\n```typescript\nimport { decode } from \"node-libpng\";\n\nfunction decodeMyBuffer() {\n    const buffer = ...; // Some buffer containing the raw PNG file's data.\n    const image = decode(buffer);\n    console.log(`Decoding was successful. The dimensions of the image are ${image.width}x${image.height}.`);\n}\n```\n\nIf an error occured while decoding the buffer, it will be `throw`n.\nThe decoding happens synchroneously.\n\n### Writing (Encoding)\n\nMultiple ways for encoding and writing raw image data exist:\n\n * [writePngFile](https://prior99.github.io/node-libpng/docs/globals.html#writepngfile) Writes the raw data into a PNG file using Promises or a callback.\n    * The function can take an optional argument for using a node-style callback API. [Example](#writing-png-files-using-a-callback)\n    * The function will return a Promise when not providing a callback. [Example](#writing-png-files-using-promises)\n * [writePngFileSync](https://prior99.github.io/node-libpng/docs/globals.html#writepngfilesync) Writes the raw data into a PNG file synchroneously. [Example](#writing-png-files-synchroneously)\n * [encode](https://prior99.github.io/node-libpng/docs/globals.html#encode) Encodes the raw data into a Buffer containing the PNG file's data. [Example](#encoding-into-a-buffer)\n * [PngImage](https://prior99.github.io/node-libpng/docs/classes/pngimage.html) contains methods for encoding and writing modified image data:\n    * [PngImage.encode](https://prior99.github.io/node-libpng/docs/classes/pngimage.html#encode) The same as calling the free function [encode]() with `PngImage.data`.\n    * [PngImage.write](https://prior99.github.io/node-libpng/docs/classes/pngimage.html#write) The same as calling the free function [writePngFile]() with `PngImage.data`.\n    * [PngImage.writeSync](https://prior99.github.io/node-libpng/docs/classes/pngimage.html#writesync) The same as calling the free function [writePngFileSync]() with `PngImage.data`.\n\n#### Writing PNG files using Promises\n\nIn order to use the Promise-based API, simply omit the 4th argument.\n\n```typescript\nimport { writePngFile } from \"node-libpng\";\n\nasync function writeMyFile() {\n    // Let's write a 100x60 pixel PNG file.\n    const imageData = Buffer.alloc(100 * 60 * 3);\n    // TODO: Manipulate the image data somehow.\n    const options = {\n        width: 100,\n        height: 60\n    };\n    await writePngFile(\"path/to/image.png\", imageData, options);\n    console.log(\"File successfully written.\");\n}\n```\n\nIn this example, a 100x60 pixel image will be encoded and written to disk.\nBased on the length of the buffer and the provided dimensions the presence of an alpha channel will be automatically calculated.\n\nIt is possible to omit either `width` or `height` from the options.\n\nIf an error occured while writing the file or encoding the buffer, the Promise which `writePngFile` returns will\nreject with the error.\n\n#### Writing PNG files using a callback\n\nIn order to use the callback-based API, provide a callback as the 4th argument.\n\n```typescript\nimport { writePngFile } from \"node-libpng\";\n\nfunction writeMyFile() {\n    // Let's write a 100x60 pixel PNG file.\n    const imageData = Buffer.alloc(100 * 60 * 3);\n    // TODO: Manipulate the image data somehow.\n    const options = {\n        width: 100,\n        height: 60\n    };\n    await writePngFile(\"path/to/image.png\", imageData, options, (error) =\u003e {\n        if (error !== null) {\n            // TODO: Check what `error` contains.\n        }\n        console.log(\"File successfully written.\");\n    });\n}\n```\n\nIn this example, a 100x60 pixel image will be encoded and written to disk.\nBased on the length of the buffer and the provided dimensions the presence of an alpha channel will be automatically calculated.\n\nIt is possible to omit either `width` or `height` from the options.\n\nIf an error occured while writing the file or encoding the buffer, it will be passed as the first and only argument\nin the callback. Otherwise `null` will be passed.\n\n#### Writing PNG files synchroneously\n\nIt is possible to write the image to disk in a blocking way, using Node's `writeFileSync`:\n\n```typescript\nimport { writePngFileSync } from \"node-libpng\";\n\nfunction writeMyFile() {\n    // Let's write a 100x60 pixel PNG file.\n    const imageData = Buffer.alloc(100 * 60 * 3);\n    // TODO: Manipulate the image data somehow.\n    const options = {\n        width: 100,\n        height: 60\n    };\n    writePngFileSync(\"path/to/image.png\", imageData, options);\n    console.log(\"File successfully written.\");\n}\n```\n\nIn this example, a 100x60 pixel image will be encoded and written to disk.\nBased on the length of the buffer and the provided dimensions the presence of an alpha channel will be automatically calculated.\n\nIt is possible to omit either `width` or `height` from the options.\n\nIf an error occured while writing the file or encoding the buffer, it will be `throw`n.\n\n#### Encoding into a Buffer\n\nBuffers can be encoded directly from a buffer containing the raw pixel data:\n\n```typescript\nimport { encode } from \"node-libpng\";\n\nfunction encodeMyBuffer() {\n    const buffer = ...; // Some buffer containing the raw pixel data.\n    const options = {\n        width: 100,\n        height: 100\n    };\n    const encodedPngData = encode(buffer);\n    // The Buffer `encodedPngData` now contains the raw PNG-encoded data.\n    console.log(\"File successfully encoded.\");\n}\n```\n\nBased on the length of the buffer and the provided dimensions the presence of an alpha channel will be automatically calculated.\nIf an error occured while encoding the buffer, it will be `throw`n.\nThe encoding happens synchroneously.\n\n### Accessing the pixels\n\nPNG specifies five different types of colors:\n\n * [Gray Scale](https://prior99.github.io/node-libpng/docs/enums/colortype.html#gray_scale)\n * [Gray Scale with Alpha channel](https://prior99.github.io/node-libpng/docs/enums/colortype.html#gray_scale_alpha)\n * [Palette (Indexed)](https://prior99.github.io/node-libpng/docs/enums/colortype.html#palette)\n * [RGB](https://prior99.github.io/node-libpng/docs/enums/colortype.html#rgb)\n * [RGB with Alpha channel](https://prior99.github.io/node-libpng/docs/enums/colortype.html#rgba)\n\nIn the [PngImage.data](https://prior99.github.io/node-libpng/docs/classes/pngimage.html#data) buffer the colors are stored\nthe way they were encoded in the PNG image. This library provides utilities for accessing the pixels in both the native format\nas well as rgba format.\n\n#### Accessing in the image's color format\n\nIn order to retrieve the color in the image's native format at a given position [PngImage.at](https://prior99.github.io/node-libpng/docs/classes/pngimage.html#at)\ncan be used.\n\n##### Example for a gray scale image\n\n```typescript\nimport { readPngFileSync } from \"node-libpng\";\n\nconst image = readPngFileSync(\"path/to/grayscale-image.png\");\nconst color = image.at(10, 10);\nconst colorType = image.colorType;\n// Will log: \"The color type of the image is gray-scale. Pixel at 10,10 is of color 168.\"\nconsole.log(`The color type of the image is ${colorType}. Pixel at 10,10 is of color ${color.join(\", \")}.`);\n```\n\n##### Example for a rgb image:\n\n```typescript\nconst image = readPngFileSync(\"path/to/rgb-image.png\");\nconst color = image.at(10, 10);\nconst colorType = image.colorType;\n// Will log: \"The color type of the image is rgb. Pixel at 10,10 is of color 100, 150, 200.\"\nconsole.log(`The color type of the image is ${colorType}. Pixel at 10,10 is of color ${color.join(\", \")}.`);\n```\nDealing with all of these different color formats can be quite irritating. A set of conversion utilities as for example\na utility for converting any color format to rgba ([convertToRGBA](https://prior99.github.io/node-libpng/docs/globals.html#converttorgba)) exist.\n\n[It is also possible to do this automatically](#accessing-in-rgba-format).\n\n#### Accessing in rgba format\n\nA method for retrieving the automatically converted color exists: [PngImage.rgbaAt](https://prior99.github.io/node-libpng/docs/classes/pngimage.html#rgbaat).\n\nIt will convert any color into rgba format. Unlike [other implementations](https://www.npmjs.com/package/pngjs#pngjs), all color formats are supported.\n\n```typescript\nconst image = readPngFileSync(\"path/to/any-color-format-image.png\");\nconst color = image.rgbaAt(10, 10);\nconst colorType = image.colorType;\n// Will log: \"The color type of the image is palette. Pixel at 10,10 is of color 100, 150, 200, 255.\"\nconsole.log(`The color type of the image is ${colorType}. Pixel at 10,10 is of color ${color.join(\", \")}.`);\n```\n\n### Modifying the image\n\nSeveral basic utilities for modifying an image exist.\n\n#### Cropping\n\nA simple utility for cropping an image to a sub-rectangle exists: [PngImage.crop](https://prior99.github.io/node-libpng/docs/classes/pngimage.html#crop). It's a simplified version of [PngImage.resizeCanvas](https://prior99.github.io/node-libpng/docs/classes/pngimage.html#resizecanvas).\n\nIt will reduce the image in-place to the specified rectangle:\n\n```typescript\nimport { readPngFileSync, rect } from \"node-libpng\";\n\nconst image = readPngFileSync(\"path/to/image.png\");\nimage.crop(rect(10, 10, 100, 100));\n// Will log: \"New dimensions: 100x100\".\nconsole.log(`New dimensions: ${image.width}x${image.height}.`);\n```\n\n#### Resizing the canvas\n\nUse [PngImage.resizeCanvas](https://prior99.github.io/node-libpng/docs/classes/pngimage.html#resizecanvas) for advanced cropping operations.\n\nTake a look at [ResizeCanvasArguments](https://prior99.github.io/node-libpng/docs/interfaces/resizecanvasarguments.html).\n\nIt takes a configuration object which makes it possible to provide:\n * An offset to the top left (a padding).\n * A fill color for uncovered regions.\n * A subrectangle of the image to use.\n * The new dimensions for the image.\n\nIn the following example, a 10 pixel margin is applied to the top and to the left and a 50x50 pixel area is copied from the image at offset 20,20.\nThe image is resized to 100x100, so a 40 pixel margin will exist to the right and to the bottom. The background is filled in red:\n\n```typescript\nimport { readPngFileSync, rect, xy, colorRGB } from \"node-libpng\";\n\nconst image = readPngFileSync(\"path/to/image.png\");\nimage.resizeCanvas({\n    offset: xy(10, 10),\n    clip: rect(20, 20, 50, 50),\n    dimensions: xy(100, 100),\n    fillColor: colorRGB(255, 0, 0),\n});\n// Will log: \"New dimensions: 100x100\".\nconsole.log(`New dimensions: ${image.width}x${image.height}.`);\n```\n\n#### Copying an image into another image\n\nUse [PngImage.copyFrom](https://prior99.github.io/node-libpng/docs/classes/pngimage.html#copyfrom) to copy an area of one image into another one:\n\n```typescript\nimport { readPngFileSync, xy, rect } from \"node-libpng\";\n\nconst source = readPngFileSync(\"path/to/source-image.png\");\nconst target = readPngFileSync(\"path/to/target-image.png\");\n\ntarget.copyFrom(source, xy(10, 10), rect(100, 100, 50, 50));\n```\n\nThe above example will copy a 50x50 rectangle from the source image at position 100,100 to the target image at position 10,10.\nThe offset and the subrectangle can be omitted to copy the whole source image to the top left corner of the target image.\n\n#### Filling an area with a specified color\n\nUse [PngImage.fill](https://prior99.github.io/node-libpng/docs/classes/pngimage.html#fill) to fill an area with a specified color:\n\n```typescript\nimport { readPngFileSync, colorRGB, rect } from \"node-libpng\";\n\nconst image = readPngFileSync(\"path/to/source-image.png\");\n// Change a 100x100 pixel area at offset 10,10 to red:\nimage.fill(colorRGB(255, 0, 0), rect(10, 10, 100, 100));\n```\n\n#### Setting a single pixel\n\nWith [PngImage.set](https://prior99.github.io/node-libpng/docs/classes/pngimage.html#set) an individual pixel's color can be changed:\n\n```typescript\nimport { readPngFileSync, colorRGB, xy } from \"node-libpng\";\n\nconst image = readPngFileSync(\"path/to/source-image.png\");\n// Change the pixel at 10,10 to red:\nimage.set(colorRGB(255, 0, 0), xy(10, 10));\n```\n\n## Benchmark\n\nAs it is a native addon, **node-libpng** is much faster than libraries like [pngjs](https://www.npmjs.com/package/pngjs):\n\n### Read access (Decoding)\n\nThe chart below shows the comparison of decoding an image between [pngjs](https://www.npmjs.com/package/pngjs) (sync api) and **node-libpng**.\nThe time to fully decode a 4096x4096 image is measured (Higher is better).\n\n![read benchmark](images/benchmark-read.png)\n\n*(The x-axis scale shows the amount of fully decoded images per second.)*\n\n### Write access (Encoding)\n\nThe chart below shows the comparison of encoding an image between [pngjs](https://www.npmjs.com/package/pngjs) (sync api) and **node-libpng**.\nThe time to fully encode a 4096x4096 image is measured (Higher is better).\n\n![access benchmark](images/benchmark-encode.png)\n\n*(The x-axis scale shows the amount of fully encoded images per second.)*\n\n### Pixel Access\n\nThe chart below shows the comparison of accessing all pixels in a decoded image between [pngjs](https://www.npmjs.com/package/pngjs) and **node-libpng**.\nThe time to fully access every pixel in the raw data is measured (Higher is better).\n\n![access benchmark](images/benchmark-access.png)\n\n*(The x-axis scale shows the amount of fully accessed images per second.)*\n\n## Contributing\n\nYarn is used instead of npm, so make sure it is installed, probably: `npm install -g yarn`.\n\nGenerally, it should be enough to just run:\n\n```\nmake\n```\n\nwhich will install all node dependencies, compile the dependencies and C++ code,\ncompile typescript, execute all test, lint the sources and build the docs.\n\n### Generating the libpng config\n\nLibpng requires an OS specific configuration headerfile `pnglibconf.h`.\nThis can be generated by executing:\n\n```\ngit submodule update --init --recursive\ncd deps/libpng\nmkdir build\ncd build\ncmake ..\nmake\ncp pnglibconf.h ../../config/linux/\n```\n\n## Contributors\n\n - Frederick Gnodtke\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprior99%2Fnode-libpng","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprior99%2Fnode-libpng","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprior99%2Fnode-libpng/lists"}