fresco icon indicating copy to clipboard operation
fresco copied to clipboard

How to load big picture which size is bigger than 4M?

Open sidneywang opened this issue 11 years ago • 3 comments

When I load a jpeg picture which size is bigger than 4M, fresco throw a exception named PoolSizeViolationException. The problem is how can I load a big picture?

I noticed Fresco read all encoded image bytes to memory, why do it?

sidneywang avatar Oct 29 '15 02:10 sidneywang

i have the same issue

xialixue007 avatar Oct 30 '15 02:10 xialixue007

Resize your image before decoding it. Be sure not to enable downsampling.

tyronen avatar Nov 02 '15 16:11 tyronen

If the origin jpeg file is bigger than 4M. Resize options have no effert.

sidneywang avatar Nov 17 '15 06:11 sidneywang