Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用 appcelerator Titan,我正在尝试构建一个移动应用程序,允许您通过使用触摸事件来更改图像视图的亮度和对比度。
使用 Titanium 标准功能是不可能的,所以我猜我是否可以导入一些可以帮助我这样做的外部库,如 pixastic。
可能吗?我怎样才能做到这一点?
谢谢
当然。pixastic 是一个 javascript 库,所以只需将它包含在
Ti.include("path/to/pixastic");
如果您打算为您的算法编写本机代码,您可以使用objective-c 模块(或java 模块)来丰富您的项目。