【问题标题】:How to stop image stretch using project.android.imageprocessing library?如何使用 project.android.imageprocessing 库停止图像拉伸?
【发布时间】:2015-08-20 05:53:10
【问题描述】:

我正在使用 FastImageProcessing 库在图像上应用草图效果。 使用 FastImageProcessingView 代替简单的图像视图。我已将此视图的高度和宽度设置为 xml 中的 wrap_contain。每当我使用过滤器渲染图像时,FastImageProccessingView 会填充父布局,使用效果生成的图像是拉伸的。 我在 github 上得到了 bove lib,https://github.com/chrisbatt/AndroidFastImageProcessing。 请帮忙。

【问题讨论】:

    标签: android image image-processing android-imageview android-image


    【解决方案1】:

    使用以下符合您要求的库

    1. Glide - Glide 简介,Android Image Loader Library,谷歌推荐 http://inthecheesefactory.com/blog/get-to-know-glide-recommended-by-google/en GitHub的:https://github.com/bumptech/glide
    2. Android 通用图像加载器 (AUIL) - GitHub的:https://github.com/nostra13/Android-Universal-Image-Loader
    3. 毕加索-http://square.github.io/picasso/
    4. 壁画 - http://frescolib.org/ GitHub的:https://github.com/facebook/fresco

    【讨论】:

    • 谢谢,但不可能。我正在研究图像编辑工具,必须使用上面的库。
    猜你喜欢
    • 2013-10-07
    • 2021-06-03
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2020-01-25
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多