跳过网络,从内存中取图片,md文档
This commit is contained in:
parent
b08b5cca2e
commit
8704eb24c1
|
@ -1,3 +1,7 @@
|
|||
## 2.1.2-rc.13
|
||||
- 新增跳过网络判断缓存或者磁盘中是否存在图片接口isUrlExist
|
||||
|
||||
|
||||
## 2.1.2-rc.12
|
||||
- 新增磁盘预加载返回文件路径接口prefetchToDiskCache
|
||||
|
||||
|
|
|
@ -20,12 +20,11 @@ import {
|
|||
ImageKnife,
|
||||
ImageKnifeData,
|
||||
RequestOption,
|
||||
Size
|
||||
Size,
|
||||
CacheType
|
||||
} from '@ohos/libraryimageknife'
|
||||
import image from '@ohos.multimedia.image';
|
||||
import { BusinessError } from '@ohos.base';
|
||||
import { CacheType } from '@ohos/imageknife/src/main/ets/components/imageknife/RequestOption';
|
||||
|
||||
|
||||
let imageKnife: ImageKnife | undefined = ImageKnifeGlobal.getInstance().getImageKnife();
|
||||
|
||||
|
|
|
@ -98,7 +98,7 @@ export { UPNG } from './src/main/ets/components/3rd_party/upng/UPNG'
|
|||
export { ImageKnife } from './src/main/ets/components/imageknife/ImageKnife'
|
||||
export { ImageKnifeGlobal } from './src/main/ets/components/imageknife/ImageKnifeGlobal'
|
||||
export { ObjectKey } from './src/main/ets/components/imageknife/ObjectKey'
|
||||
export {RequestOption,Size,DetachFromLayout,Priority} from './src/main/ets/components/imageknife/RequestOption'
|
||||
export {RequestOption,Size,DetachFromLayout,Priority,CacheType} from './src/main/ets/components/imageknife/RequestOption'
|
||||
export { ImageKnifeComponent, ScaleType, ScaleTypeHelper, AntiAliasing} from './src/main/ets/components/imageknife/ImageKnifeComponent'
|
||||
export { ImageKnifeDrawFactory } from './src/main/ets/components/imageknife/ImageKnifeDrawFactory'
|
||||
export {ImageKnifeOption,CropCircleWithBorder,Crop,GifOptions,TransformOptions,HeaderOptions} from './src/main/ets/components/imageknife/ImageKnifeOption'
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
"main": "index.ets",
|
||||
"repository": "https://gitee.com/openharmony-tpc/ImageKnife",
|
||||
"type": "module",
|
||||
"version": "2.1.2-rc.12",
|
||||
"version": "2.1.2-rc.13",
|
||||
"dependencies": {
|
||||
"pako": "^2.1.0",
|
||||
"@ohos/gpu_transform": "^1.0.0"
|
||||
|
|
|
@ -97,7 +97,7 @@ export { UPNG } from '@ohos/imageknife'
|
|||
*/
|
||||
export { ImageKnife } from '@ohos/imageknife'
|
||||
export { ImageKnifeGlobal } from '@ohos/imageknife'
|
||||
export {RequestOption,Size} from '@ohos/imageknife'
|
||||
export {RequestOption,Size,CacheType} from '@ohos/imageknife'
|
||||
export {ObjectKey} from '@ohos/imageknife'
|
||||
export { ImageKnifeComponent, ScaleType, ScaleTypeHelper, AntiAliasing, Priority} from '@ohos/imageknife'
|
||||
export { ImageKnifeDrawFactory } from '@ohos/imageknife'
|
||||
|
|
Loading…
Reference in New Issue