0

我正在使用FastImageProcessing庫在圖像上應用草圖效果。 使用FastImageProcessingView而不是簡單的圖像視圖。我已經爲xml中的這個視圖設置了高度和寬度wrap_contain。每當我使用過濾器渲染圖像時,FastImageProccessingView將填充父級佈局,並且使用效果生成的圖像是拉伸的。 我在github上得到了lib,https://github.com/chrisbatt/AndroidFastImageProcessing。 請協助。庫下面如何使用project.android.imageprocessing庫停止圖像拉伸?

回答

1

使用符合你要求

  1. 滑翔 - 介紹下滑,圖像裝載機庫爲Android,通過谷歌 http://inthecheesefactory.com/blog/get-to-know-glide-recommended-by-google/en GitHub的建議:https://github.com/bumptech/glide
  2. Android的通用圖像裝載機(AUIL) - GitHub's:https://github.com/nostra13/Android-Universal-Image-Loader
  3. Picasso - http://square.github.io/picasso/
  4. Fresco - http://frescolib.org/ GitHub's:https://github.com/facebook/fresco
+0

謝謝,但不可能。我正在處理圖像編輯工具,必須使用上面的lib。 –