this link contains some tutorials for image processing and is useful for me, but my problem is it is too slow to process.Actually i would try to processing effect on image when sliding bar. Means when user scroll the slider based on that image processing is done. when image size is 70×70(30kb) it is ok for me(performance was good) but when its size is increasing it will take too much time to process.i have try to reduce the size of bitmap upto 40% using bitmap.compress , but still its size is too large to process.
- Also, will image processing time is depends on colors on image ?
- how to decrease the size of the image/bitmap so image processing not take too much time.
is there any other way to processing bitmap fast or using above tutorial how i improve the performance?
I don’t know if this will answer your questions, but hopefully it’ll help you.
A few ideas:
SeekBar– if so, you’d need to apply your image effects in theonStopTrackingTouch()method of theOnSeekBarChangeListener.RGB_565for your preview processing. It uses less memory and should make things a bit faster.Bitmaps.Hope it helps!