码迷,mamicode.com
首页 > 其他好文 > 详细

项目描述

时间:2014-10-31 06:21:50      阅读:262      评论:0      收藏:0      [点我收藏+]

标签:android   style   http   io   color   os   ar   sp   on   

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.

 

项目描述

标签:android   style   http   io   color   os   ar   sp   on   

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

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!