Project Name | Stars | Downloads | Repos Using This | Packages Using This | Most Recent Commit | Total Releases | Latest Release | Open Issues | License | Language |
---|---|---|---|---|---|---|---|---|---|---|
Kroki | 2,306 | 4 days ago | 48 | August 16, 2023 | 87 | mit | JavaScript | |||
Creates diagrams from textual descriptions! | ||||||||||
Sketch | 1,914 | 10 | 12 days ago | 41 | August 02, 2023 | 1 | apache-2.0 | Kotlin | ||
Sketch is a powerful and comprehensive image load library on Android, in addition to the basic functions, it also supports Jetpack Compose, GIF, SVG, video thumbnails, gesture zoom, huge images sampling, ExifInterface and other functions. Sketch 是 Android 上的一个强大且全面的图片加载库,除了基础功能外,还支持 Jetpack Compose、GIF、SVG、视频缩略图、手势缩放、超大图采样、ExifInterface 等功能。 | ||||||||||
Fastimage | 1,336 | 9,613 | 146 | 2 months ago | 52 | December 16, 2021 | 6 | mit | Ruby | |
FastImage finds the size or type of an image given its uri by fetching as little as needed | ||||||||||
Cordova Plugin Camera | 956 | 2,013 | 58 | 21 days ago | 40 | August 23, 2021 | 96 | apache-2.0 | Objective-C | |
Apache Cordova Plugin camera | ||||||||||
React Native Img Cache | 695 | 38 | 14 | 4 years ago | 36 | December 03, 2018 | 50 | apache-2.0 | TypeScript | |
Image Cache for React Native | ||||||||||
React Native Syan Image Picker | 609 | a year ago | 85 | mit | Java | |||||
React-Native 多图片选择 支持裁剪 压缩 | ||||||||||
Feelpp | 281 | 18 days ago | 97 | lgpl-3.0 | C++ | |||||
:gem: Feel++: Finite Element Embedded Language and Library in C++ | ||||||||||
Tableexport | 251 | 4 years ago | 3 | May 04, 2017 | 17 | JavaScript | ||||
tableExport(table导出文件,支持json、csv、txt、xml、word、excel、image、pdf) | ||||||||||
React Image File Resizer | 248 | 8 | 32 | 10 months ago | 36 | May 07, 2022 | 19 | mit | JavaScript | |
Resize Local Images with React 🌄 🌅 | ||||||||||
Amazon Ecs Render Task Definition | 223 | 14 days ago | 30 | mit | JavaScript | |||||
Inserts a container image URI into an Amazon ECS task definition JSON file. |
Sketch is a powerful and comprehensive image load library on Android, in addition to the basic
functions, it also supports Jetpack Compose, GIF, SVG, video thumbnails, gesture zoom, huge images
sampling, ExifInterface and other functions.
Sketch Android Jetpack
ComposeGIFSVGExifInterface
Published to mavenCentral mavenCentral
dependencies {
implementation("io.github.panpf.sketch3:sketch:${LAST_VERSION}")
}
${LAST_VERSION}
: (Not included 'v' 'v')
There are also optional modules to extend the functionality of sketch:
sketch
dependencies {
// Support for Jetpack Compose
// Jetpack Compose
implementation("io.github.panpf.sketch3:sketch-compose:${LAST_VERSION}")
// Supports useful features such as download progress mask, pause loading during list swipe, save cellular traffic, image type corner marker, load apk file and installed app icon
// apk app
implementation("io.github.panpf.sketch3:sketch-extensions:${LAST_VERSION}")
// GifDrawable through Koral's android-gif-drawable library
// koral android-gif-drawable GifDrawable gif
implementation("io.github.panpf.sketch3:sketch-gif-koral:${LAST_VERSION}")
// GIF playback is achieved through Android's built-in Movie class
// Android Movie gif
implementation("io.github.panpf.sketch3:sketch-gif-movie:${LAST_VERSION}")
// Support for OkHttp
// OkHttp
implementation("io.github.panpf.sketch3:sketch-okhttp:${LAST_VERSION}")
// SVG images are supported
// SVG
implementation("io.github.panpf.sketch3:sketch-svg:${LAST_VERSION}")
// Video frames are read through Android's built-in MediaMetadataRetriever class
// Android MediaMetadataRetriever
implementation("io.github.panpf.sketch3:sketch-video:${LAST_VERSION}")
// Video frames are read through wseemann's FFmpegMediaMetadataRetriever library
// wseemann FFmpegMediaMetadataRetriever
implementation("io.github.panpf.sketch3:sketch-video-ffmpeg:${LAST_VERSION}")
// Supports gesture zoom and jumbo sampling
//
implementation("io.github.panpf.sketch3:sketch-zoom:${LAST_VERSION}")
}
Sketch doesn't need to configure any obfuscation rules itself, but you may need to add obfuscation configurations for indirectly dependent Kotlin Coroutines, OkHttp, Okio.
Sketch Kotlin Coroutines, OkHttp, Okio
Sketch provides a series of extended functions called displayImage for ImageView, which can easily display images
Sketch ImageView displayImage
// http
imageView.displayImage("https://www.sample.com/image.jpg")
// File
imageView.displayImage("/sdcard/download/image.jpg")
// asset
imageView.displayImage("asset://image.jpg")
// There is a lot more...
You can also configure parameters through a trailing lambda function:
lambda
imageView.displayImage("https://www.sample.com/image.jpg") {
placeholder(R.drawable.placeholder)
error(R.drawable.error)
transformations(CircleCropTransformation())
crossfade()
// There is a lot more...
}
Need import sketch-compose module sketch-compose
AsyncImage(
imageUri = "https://www.sample.com/image.jpg",
modifier = Modifier.size(300.dp, 200.dp),
contentScale = ContentScale.Crop,
contentDescription = ""
)
// config params
AsyncImage(
rqeuest = DisplayRequest(LocalContext.current, "https://www.sample.com/image.jpg") {
placeholder(R.drawable.placeholder)
error(R.drawable.error)
transformations(BlurTransformation())
crossfade()
// There is a lot more...
},
modifier = Modifier.size(300.dp, 200.dp),
contentScale = ContentScale.Crop,
contentDescription = ""
)
Basic features/
Featured features/
Please review the CHANGELOG.md file
CHANGELOG.md
io.github.panpf.sketch3
2.*com.github.panpf.sketch
2.*Copyright (C) 2022 panpf <[email protected]>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
[comment]: <> (header)
[comment]: <> (wiki)
[comment]: <> (links)
[comment]: <> (footer)