Unity3D图像后处理特效——Sepia Tone image effect

Sepia Tone is a simple image effect that tints an image to resemble an old photograph.

棕褐色色调映射是一个简单的图像特效,它可以使图片呈现出老照片的效果。

 

As with the other image effects, this effect is only available in Unity Pro and you must have the Pro Standard Assets installed before it becomes available.

和其他图像特效一样,该特效只能在Unity Pro上进行使用,并且在使用之前必须安装Pro Standard Assets

 


Sepia Tone image effect applied to the scene

应用于场景中的棕褐色色调映射图像特效效果

 

Hardware support

This effect requires a graphics card with pixel shaders (2.0) or OpenGL ES 2.0. PC: NVIDIA cards since 2003 (GeForce FX), AMD cards since 2004 (Radeon 9500), Intel cards since 2005 (GMA 900); Mobile: OpenGL ES 2.0; Consoles: Xbox 360, PS3.

这个特效需要显卡拥有像素着色器(2.0)或者OpenGL ES 2.0。台式机:2003年以后的NVIDIA显卡(GeForce FX),2004年以后的AMD显卡(Radeon 9500),2005年以后的Intel卡(GMA 900);移动设备:OpenGL ES 2.0;控制台: Xbox 360 PS3

 

All image effects automatically disable themselves when they can not run on end-users graphics card.

所有图像特效如果无法在用户显卡上运行时将会自动被关闭。
  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
flutter_image_editor是一个用于在Flutter应用程序中编辑图像的库。它提供了一组功能强大的图像编辑工具,可以使用它们来裁剪、旋转、调整尺寸和应用滤镜等操作。 首先,在使用flutter_image_editor之前,我们需要将其添加为项目的依赖项。我们可以在pubspec.yaml文件中添加以下行: ``` dependencies: flutter_image_editor: ^版本号 ``` 然后运行`flutter packages get`来获取库。 一旦我们添加了flutter_image_editor库,我们就可以开始使用它了。首先,我们需要导入库: ```dart import 'package:flutter_image_editor/flutter_image_editor.dart'; ``` 然后,我们可以使用ImageEditor类的实例来编辑图像。以下是使用flutter_image_editor的一些常见功能: 1. 裁剪图像: ```dart final result = await ImageEditor.cropImage( file.path, startX: 0, startY: 0, width: 200, height: 200, ); ``` 2. 旋转图像: ```dart final result = await ImageEditor.rotateImage( 90, // 旋转角度 file.path, ); ``` 3. 调整图像尺寸: ```dart final result = await ImageEditor.resizeImage( 500, // 新的宽度 500, // 新的高度 file.path, ); ``` 4. 应用滤镜: ```dart final result = await ImageEditor.applyFilter( ImageFilter.sepia, // 滤镜类型 file.path, ); ``` 这些只是flutter_image_editor支持的一些功能示例。根据您的需求,您还可以使用其他功能来编辑和处理图像。 最后,根据每种编辑操作的返回类型,您可以在Flutter应用程序中根据需要使用编辑后的图像结果。例如,您可以将它们显示在Image widget中,保存到设备上的文件中,或将其上传到服务器等等。 总结而言,flutter_image_editor是一个非常方便和强大的图像编辑库,它可以帮助我们在Flutter应用程序中轻松地实现各种图像编辑操作。

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值