diff --git a/README.en.md b/README.en.md new file mode 100644 index 0000000000000000000000000000000000000000..b0273de10925df3c834f159bcb25911fde5272be --- /dev/null +++ b/README.en.md @@ -0,0 +1,29 @@ +# Image Edit + +Learn how to edit images based on image encoding and decoding, including cropping, rotation, and color gamut adjustment (only brightness, transparency, and saturation here). + +![image](screenshots/device/edit_EN.gif) + +### Concepts + +- Image decoding: refers to the process of decoding an archived image in supported formats into a unified pixel map for image display or processing in applications or systems. +- PixelMap: provides APIs to read or write image data and obtain image information. +- Image encoding: refers to the process of encoding a pixel map into an archived image in different formats (only JPEG, WebP, and PNG currently) for subsequent processing, such as storage and transmission. + +### Permissions + +- ohos.permission.MEDIA_LOCATION +- ohos.permission.READ_MEDIA +- ohos.permission.WRITE_MEDIA + +### How to Use + +1. Tap the button to crop or adjust the image as required. +2. Save the image. + +### Constraints + +1. The sample is only supported on Huawei phones with standard systems. +2. HarmonyOS: HarmonyOS NEXT Developer Beta1 or later. +3. DevEco Studio: DevEco Studio NEXT Developer Beta1 or later. +4. HarmonyOS SDK: HarmonyOS NEXT Developer Beta1 SDK or later. \ No newline at end of file diff --git a/screenshots/device/edit_EN.gif b/screenshots/device/edit_EN.gif new file mode 100644 index 0000000000000000000000000000000000000000..ea98198ff026b3e673efbb637d32f71bfa5d582c Binary files /dev/null and b/screenshots/device/edit_EN.gif differ