Skip to content

Commit a9da133

Browse files
author
Anniek
authored
Update documentation to include information about support HEIC images. (flutter#3131)
1 parent 8413efe commit a9da133

File tree

6 files changed

+16
-2
lines changed

6 files changed

+16
-2
lines changed

packages/image_picker/image_picker/CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 0.6.7+13
2+
3+
* Update documentation of `getImage()` about HEIC images.
4+
15
## 0.6.7+12
26

37
* Update android compileSdkVersion to 29.

packages/image_picker/image_picker/lib/image_picker.dart

+3
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,9 @@ class ImagePicker {
7676
/// The `source` argument controls where the image comes from. This can
7777
/// be either [ImageSource.camera] or [ImageSource.gallery].
7878
///
79+
/// Where iOS supports HEIC images, Android 8 and below doesn't. Android 9 and above only support HEIC images if used
80+
/// in addition to a size modification, of which the usage is explained below.
81+
///
7982
/// If specified, the image will be at most `maxWidth` wide and
8083
/// `maxHeight` tall. Otherwise the image will be returned at it's
8184
/// original width and height.

packages/image_picker/image_picker/pubspec.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: image_picker
22
description: Flutter plugin for selecting images from the Android and iOS image
33
library, and taking new pictures with the camera.
44
homepage: https://github.com/flutter/plugins/tree/master/packages/image_picker/image_picker
5-
version: 0.6.7+12
5+
version: 0.6.7+13
66

77
flutter:
88
plugin:

packages/image_picker/image_picker_platform_interface/CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 1.1.3
2+
3+
* Update documentation of `pickImage()` regarding HEIC images.
4+
15
## 1.1.2
26

37
* Update documentation of `pickImage()` regarding compression support for specific image types.

packages/image_picker/image_picker_platform_interface/lib/src/platform_interface/image_picker_platform.dart

+3
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,9 @@ abstract class ImagePickerPlatform extends PlatformInterface {
120120
/// The `source` argument controls where the image comes from. This can
121121
/// be either [ImageSource.camera] or [ImageSource.gallery].
122122
///
123+
/// Where iOS supports HEIC images, Android 8 and below doesn't. Android 9 and above only support HEIC images if used
124+
/// in addition to a size modification, of which the usage is explained below.
125+
///
123126
/// If specified, the image will be at most `maxWidth` wide and
124127
/// `maxHeight` tall. Otherwise the image will be returned at it's
125128
/// original width and height.

packages/image_picker/image_picker_platform_interface/pubspec.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ description: A common platform interface for the image_picker plugin.
33
homepage: https://github.com/flutter/plugins/tree/master/packages/image_picker/image_picker_platform_interface
44
# NOTE: We strongly prefer non-breaking changes, even at the expense of a
55
# less-clean API. See https://flutter.dev/go/platform-interface-breaking-changes
6-
version: 1.1.2
6+
version: 1.1.3
77

88
dependencies:
99
flutter:

0 commit comments

Comments
 (0)