首页 > 其他 > 详细

项目描述

时间:2014-10-31 06:20:44      阅读:283      评论:0      收藏:0      [点我收藏+]

1. image filter :

    项目描述:  Image filtering allows you to apply various effects on photos. after open the app, customer can pick a image from Sd card or 

internal phone storage and show up to app‘s interface. apply effects on image byClick on the slide‘s effects button.  save.

Challenges:

http://developer.android.com/training/displaying-bitmaps/load-bitmap.html

 you are working with limited memory, ideally you only want to load a lower resolution version in memory. The lower resolution version should match the size of the UI component that displays it

out of memory issue while loading an image to a Bitmap object and image filtering operation.

image ‘s Pixels is too large fro current phone‘s cpu me

 

Read Bitmap Dimensions and Type

Load a Scaled Down Version into Memory

  • Estimated memory usage of loading the full image in memory.
  • Amount of memory you are willing to commit to loading this image given any other memory requirements of your application.
  • Dimensions of the target ImageView or UI component that the image is to be loaded into.
  • Screen size and density of the current device.

 

项目描述

原文:http://www.cnblogs.com/leetcode/p/4064138.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!