Skip to content

Commit

Permalink
升级版本
Browse files Browse the repository at this point in the history
  • Loading branch information
FlyJingFish committed Oct 21, 2024
1 parent 7c01b8f commit c0118ac
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 9 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,18 +87,18 @@ allprojects {

```gradle
//OpenImageFullLib 默认已经包含了OpenImageGlideLib
implementation 'io.github.FlyJingFish.OpenImage:OpenImageFullLib:2.2.7'
implementation 'io.github.FlyJingFish.OpenImage:OpenImageFullLib:2.2.8'
```

- 使用 Coil 作为图片加载器,如果你的项目组存在[Coil](https://github.com/coil-kt/coil)请升级至 **2.4.0** 或者更高的版本,否则会冲突

```gradle
//OpenImageFullLib 因为已经包含了 OpenImageGlideLib,所以需要排除掉 OpenImageGlideLib,否则会同时存在 Glide 和 Coil
implementation ('io.github.FlyJingFish.OpenImage:OpenImageFullLib:2.2.7'){
implementation ('io.github.FlyJingFish.OpenImage:OpenImageFullLib:2.2.8'){
exclude module: 'OpenImageGlideLib'
}
//OpenImageCoilLib 引入Coil(2.4.0)图片引擎
implementation 'io.github.FlyJingFish.OpenImage:OpenImageCoilLib:2.2.7'
implementation 'io.github.FlyJingFish.OpenImage:OpenImageCoilLib:2.2.8'
```

#### B、引入只带有图片引擎的版本(只支持查看图片)
Expand All @@ -109,14 +109,14 @@ implementation 'io.github.FlyJingFish.OpenImage:OpenImageCoilLib:2.2.7'

```gradle
//OpenImageGlideLib 引入Glide(4.12.0)图片引擎,没有引入视频播放器;如需定制视频播放功能,详细看Wiki文档,如果不想定制可直接使用上边的库
implementation 'io.github.FlyJingFish.OpenImage:OpenImageGlideLib:2.2.7'
implementation 'io.github.FlyJingFish.OpenImage:OpenImageGlideLib:2.2.8'
```

- 使用 Coil 作为图片加载器,如果你的项目组存在[Coil](https://github.com/coil-kt/coil)请升级至 **2.4.0** 或者更高的版本,否则会冲突

```gradle
//OpenImageCoilLib 引入Coil(2.4.0)图片引擎,没有引入视频播放器;如需定制视频播放功能,详细看Wiki文档,如果不想定制可直接使用上边的库
implementation 'io.github.FlyJingFish.OpenImage:OpenImageCoilLib:2.2.7'
implementation 'io.github.FlyJingFish.OpenImage:OpenImageCoilLib:2.2.8'
```

#### C、引入基础版本(不可以直接查看图片和视频,完全需要自定义)
Expand All @@ -126,7 +126,7 @@ implementation 'io.github.FlyJingFish.OpenImage:OpenImageCoilLib:2.2.7'
```gradle
//OpenImageLib 是基础库,没有引入图片引擎和视频播放器
//至少需要实现BigImageHelper来定制您的图片引擎,如需定制视频播放功能,详细看Wiki文档
implementation 'io.github.FlyJingFish.OpenImage:OpenImageLib:2.2.7'
implementation 'io.github.FlyJingFish.OpenImage:OpenImageLib:2.2.8'
```

Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ DEVELOPER_ID=FlyJingFish
DEVELOPER_NAME=FlyJingFish
DEVELOPER_EMAIL=749617782@qq.com

TestVersion = 2.2.7
TestVersion = 2.2.8
SonatypeTestCode = 1333
TestType = 0
# 0 mavenLocal 1 SonatypeCache 2 mavenCentral
5 changes: 5 additions & 0 deletions update_record.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# OpenImage 更新日志

## 2.2.8

1、修复超大图是旋转后的图片时加载错误问题

2、修复Glide加载旋转后的超大图片时内存溢出问题

## 2.2.7

Expand Down
4 changes: 2 additions & 2 deletions version.properties
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
#Thu Sep 19 15:29:34 CST 2024
PROJ_VERSION=2.2.7
#Mon Oct 21 15:25:44 CST 2024
PROJ_VERSION=2.2.8

0 comments on commit c0118ac

Please sign in to comment.