연결하고 싶으신가요?

Pixlr 서비스를 통합하세요!

Pixlr는 타사 개발자가 Pixlr의 강력한 편집 기능을 자체 애플리케이션에 통합하여 창의적인 도구와 솔루션으로 구성된 역동적인 생태계를 조성할 수 있도록 API를 제공합니다.

Embedding Pixlr Applications client side

Embedding Pixlr Applications into your own applications allows you to seamlessly integrate powerful image editing features into your products. This is done by opening the Pixlr Application in an iframe and using postMessage to communicate between the page and the iframe.

While it is possible to directly communicate with the Pixlr Application through internal protocols, we highly recommend using the official Pixlr npm package for a more stable integration experience.


Quickstart example

  1. Make sure you have an API key and secret.
    An API key and secret can be created under the Developer tab in My Account.

  2. Validate that you can generate a JWT token.

    Use your API key in the sub field and sign the token using API secret.

    JWT tokens should only be generated on the server-side to avoid leaking credentials!

  3. Add the official Pixlr npm package to your package.json

  4. Add an iframe and file input field to your html file
  5. Import the Pixlr SDK and have it open a Pixlr Application in the iframe.
    Use the file input to open a local image file in the application.