UPNG.js | Fast and advanced PNG decoder and encoder | Image Editing library

 by   photopea JavaScript Version: 1 License: MIT

kandi X-RAY | UPNG.js Summary

kandi X-RAY | UPNG.js Summary

UPNG.js is a JavaScript library typically used in Media, Image Editing applications. UPNG.js has no bugs, it has no vulnerabilities, it has a Permissive License and it has medium support. You can install using 'npm i upng-js' or download it from GitHub, npm.

A small, fast and advanced PNG / APNG encoder and decoder. It is the main PNG engine for Photopea image editor. Download and include the UPNG.js file in your code.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              UPNG.js has a medium active ecosystem.
              It has 1828 star(s) with 258 fork(s). There are 34 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 7 open issues and 63 have been closed. On average issues are closed in 65 days. There are 1 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of UPNG.js is 1

            kandi-Quality Quality

              UPNG.js has 0 bugs and 0 code smells.

            kandi-Security Security

              UPNG.js has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              UPNG.js code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              UPNG.js is licensed under the MIT License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              UPNG.js releases are available to install and integrate.
              Deployable package is available in npm.
              Installation instructions are not available. Examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of UPNG.js
            Get all kandi verified functions for this library.

            UPNG.js Key Features

            No Key Features are available at this moment for UPNG.js.

            UPNG.js Examples and Code Snippets

            No Code Snippets are available at this moment for UPNG.js.

            Community Discussions

            QUESTION

            How can I fix the display of this 16-bit RGBA PNG using WebGL2?
            Asked 2020-Sep-01 at 09:44

            I am trying to work with 16-bit per channel RGBA data (and later RGB data) in WebGL2. I am having trouble properly displaying one of the reference images from PngSuite and I'd be eternally grateful if someone could take a look.

            I am loading a 3x16 bits rgb color + 16 bit alpha-channel PNG file using pngtoy.js or UPNG.js (both give the same values which I believe are correct). Here is what I am seeing:

            My WebGL2 code was based on gman's past answers which have been incredibly helpful. I don't know where to focus to investigate where I went wrong. I have spent an entire day looking at this so any advice or pointers where to look is greatly appreciated!!!

            https://jsfiddle.net/mortac8/yq2tfe97/13/
            (apologies for the messy jsfiddle with inline resources at the top)

            ...

            ANSWER

            Answered 2020-Sep-01 at 09:44

            Per default the webgl context uses premultiplied alpha, disabling it fixes your issue.

            Source https://stackoverflow.com/questions/63681886

            QUESTION

            PNG decoder returns extra bytes of pixel data
            Asked 2020-Aug-09 at 13:45

            I'm trying to decode this file using UPNG.js, and getting the following output:

            ...

            ANSWER

            Answered 2020-Aug-09 at 13:45

            Found the answer in the library's issues page, here.

            Source https://stackoverflow.com/questions/63134746

            QUESTION

            In Node.js, why isn't my PNG file read correctly?
            Asked 2018-Sep-05 at 13:15

            I'm trying to use the following package:

            https://github.com/photopea/UPNG.js/

            with the following image:

            My code is as follows:

            ...

            ANSWER

            Answered 2018-Sep-05 at 12:51

            You can use readFileSync instead of readFile or promisify the readFile method

            Source https://stackoverflow.com/questions/52185217

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install UPNG.js

            You can install using 'npm i upng-js' or download it from GitHub, npm.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/photopea/UPNG.js.git

          • CLI

            gh repo clone photopea/UPNG.js

          • sshUrl

            git@github.com:photopea/UPNG.js.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link