文件最后提交记录最后更新时间
!861 适配64位 * update 901 3 年前
!1108 应用bug修改 * update sample 3 年前
!937 README_zh.md整改 * update README_zh.md 3 年前
!979 翻译完成:全量翻译---Image * added Image readme (en) 3 年前
!966 README整改 * update README_zh.md 3 年前
!861 适配64位 * update 901 3 年前
!861 适配64位 * update 901 3 年前
!982 适配991,image规避文件沙箱对文件命名作出限制 * update picture * update 991 and bugfix image 3 年前
README.md

Image Processing

Introduction

This sample provides an Image Processing app, using which you can read images from the local device, obtain image information, and rotate images. Below shows the sample app.

Concepts

Image processing: a class that provides APIs to read and write image pixel map data, and obtain pixel map information.

Required Permissions

ohos.permission.MEDIA_LOCATION (permission to obtain the media file location)

ohos.permission.READ_MEDIA (permission to read media files)

ohos.permission.WRITE_MEDIA (permission to write media files)

Usage

  1. Touch an image on the home page of the sample app to go to the image details page.

  2. Touch the Details button in the upper left corner. The size, name, and path of the image are displayed in a dialog box.

  3. Touch Rotate, drag the slider to select a rotation angle, and touch Save to save the rotated image to the local device.

Constraints

  1. This sample can only be run on standard-system devices.

  2. At least one image file is available on the local device.

  3. DevEco Studio 3.0 Beta3 (Build Version: 3.0.0.901, built on May 30, 2022) must be used.