You can use image development APIs to decode images into pixel maps and encode the pixel maps into a supported format.
## Available APIs
For details about the APIs, see [js-apis-image.md](https://gitee.com/openharmony/docs/blob/master/en/application-dev/reference/apis/js-apis-image.md).
## How to Develop
### Full-Process Scenario
The full process includes creating an instance, reading image information, reading and writing pixel maps, updating data, packaging pixels, and releasing resources.
```js
constColor=newArrayBuffer(96);// Create a buffer to store image pixel data.