An Android transformation library providing a variety of image transformations for Picasso.
Please feel free to use this.
Glide Transformations
Fresco Processors
repositories {
mavenCentral()
}
dependencies {
compile 'jp.wasabeef:picasso-transformations:2.4.0'
// If you want to use the GPU Filters
compile 'jp.co.cyberagent.android:gpuimage:2.1.0
}
Set Picasso Transform.
Picasso.with(mContext).load(R.drawable.demo)
.transform(transformation).into((ImageView) findViewById(R.id.image));
You can set a multiple transformations.
Picasso.with(mContext).load(R.drawable.demo)
.transform(transformation)
.transform(new CropCircleTransformation())
.into(holder.image);
CropTransformation
, CropCircleTransformation
, CropSquareTransformation
,RoundedCornersTransformation
ColorFilterTransformation
, GrayscaleTransformation
BlurTransformation
MaskTransformation
Will require add dependencies for GPUImage.
ToonFilterTransformation
, SepiaFilterTransformation
, ContrastFilterTransformation
InvertFilterTransformation
, PixelationFilterTransformation
, SketchFilterTransformation
SwirlFilterTransformation
, BrightnessFilterTransformation
, KuwaharaFilterTransformation
VignetteFilterTransformation
Please ping me or send a pull request if you would like to be added here.
Icon | Application |
---|---|
Ameba Ownd | |
QuitNow! |
Daichi Furiya (Wasabeef) - dadadada.chop@gmail.com
Picasso Transformations
in TannerPerrien.Copyright (C) 2020 Wasabeef
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.
导包 //picasso compile 'com.squareup.picasso:picasso:2.5.2' //picasso-transformations compile 'jp.wasabeef:picasso-transformations:2.1.2' //GPU Filters compile 'jp.co.cyberagent.
前言 使用的是picasso最新版本 github地址:https://github.com/square/picasso 版本:2.71828 简单例子 代码 override fun onCreate(savedInstanceState: Bundle?) { super.onCreate(savedInstanceState) setContentView(
Picasso = OpenStack API for Functions as a Service Picasso 可以让你在 OpenStack 平台上实现函数即为服务的功能。为包括开发人员和运维人员提供一个简单高效可伸缩的基础架构层。Picasso API 服务器使用 Keystone 认证和授权。可用来从 OpenStack 服务中触发函数,诸如 Telemetry (via HTTP
Picasso 是 Android 上一个强大的图片下载和缓存库。 示例代码: Picasso.with(context).load("http://i.imgur.com/DvpvklR.png").into(imageView);@Override public void getView(int position, View convertView, ViewGroup parent) {
Picasso 是一个高质量的2D矢量图形渲染库,支持 path , matrix , gradient , pattern , image 和 truetype font 等功能。可以用来开发图形GUI系统, 渲染矢量图形, SVG,PostScript,内置图片解码框架,支持png,jpeg,webp等多种流行图片格式编解码。
代码有一些不完美的地方,用了MVC,优化不多。做这方面开发的朋友可以借鉴, 原创的时候思考有点费时 有个比较恶心的地方 恢复修改Ctrl+Z 功能没完成,一些小细节的地方没有时间去修改,以后有空陆续完善 .花了1个多月匆匆忙忙做完了地图编辑器,就去搞引擎了
当我建造它的时候说 exception:com.android.build.api.transform.transformexception:com.android.builder.packaging.duplicateFileexception:APK meta-inf/maven/com.squareup.picasso/picasso/pom.properties文件1:c:\users\d
我的简单Web服务器是Python3 SimpleHTTPRequest estHandler,它工作得很好。它在LAN机器的图片文件夹中运行,我已经使用浏览器对其进行了测试并输入了测试URL,例如:http://192.168.1.111:8000/2020-02-09/test.jpg 但是,毕加索不会加载相同的URL。它将通过“file://”加载本地图片。作为测试,我测试了一个Intern