Skip to content

Commit

Permalink
Update values for low and medium image quality
Browse files Browse the repository at this point in the history
To match the default values for image quality for iOS (see: wordpress-mobile/WordPress-iOS#21981), this commit changes the defaults for quality to the following:

- Low = 70%
- Medium = 80%
  • Loading branch information
Siobhan committed Nov 21, 2023
1 parent eb71010 commit ab5d42c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public interface LaunchCameraCallback {

// Max picture size will be 3000px wide. That's the maximum resolution you can set in the current picker.
public static final int OPTIMIZE_IMAGE_MAX_SIZE = 3000;
public static final int OPTIMIZE_IMAGE_ENCODER_QUALITY = 85;
public static final int OPTIMIZE_IMAGE_ENCODER_QUALITY = 80;
public static final int OPTIMIZE_VIDEO_MAX_WIDTH = 1280;
public static final int OPTIMIZE_VIDEO_ENCODER_BITRATE_KB = 3000;

Expand Down
2 changes: 1 addition & 1 deletion WordPress/src/main/res/values/key_strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -364,8 +364,8 @@
</string-array>

<string-array name="site_settings_image_quality_values" translatable="false">
<item>70</item>
<item>80</item>
<item>85</item>
<item>90</item>
<item>95</item>
<item>100</item>
Expand Down

0 comments on commit ab5d42c

Please sign in to comment.