repository stringclasses 156 values | issue title stringlengths 1 1.01k ⌀ | labels stringclasses 8 values | body stringlengths 1 270k ⌀ |
|---|---|---|---|
facebookfresco | get cache size | Question | can I get cache size like that imagepipelinefactory getinstance getmaindiskstoragecache getsize |
facebookfresco | after upgrade to 0 10 0 get nullpointexception in release build | Bug | I find this after turn on verbose log 04 26 09 38 14 129 354 8610 com bridj rider w unknown requestlogginglistener time 2585133 onproducerfinishwithfailure requestid 0 stage decodeproducer elapsedtime 5 ms extramap hasgoodquality true queuetime 1 imagetype default isfinal true throwable java lang nullpointerexception attempt to invoke interface method com facebook imagepipeline g c com facebook imagepipeline animate factory f a com facebook imagepipeline g e com facebook imagepipeline c a android graphic bitmap config on a null object reference 04 26 09 38 14 129 354 8610 com bridj rider w unknown requestlogginglistener time 2585133 onrequestfailure requestid 0 elapsedtime 43 ms throwable java lang nullpointerexception attempt to invoke interface method com facebook imagepipeline g c com facebook imagepipeline animate factory f a com facebook imagepipeline g e com facebook imagepipeline c a android graphic bitmap config on a null object reference I be attempt to download and display an animate gif I be use the progaurd config document here be that still correct everything seem to work ok with a debug build |
facebookfresco | fail to update to fresco 0 9 0 with gradle android studio 2 1 preview 5 gradle 2 11 | Bug | fresco1 fresco2 I upgrate fresco from 0 8 1 to 0 9 0 and there be something wrong in my project see img above it seem gradle fail to download some package form jcenter or be there something change of use supplier and byteconstant if I go back to 0 8 1 everything work fine again plz help |
facebookfresco | basic auth in url get ignore | Enhancement | url that contain basic auth credential e g be not work for I I think the credential should be parse from the url and add as a base64 encode authorization header I don t know this codebase at all but I think parse the value out and add the header in the okhttpnetworkfetcher java l88 might work something like request builder builder new request builder cachecontrol new cachecontrol builder nostore build url uri tostring string userinfo uri getuserinfo if userinfo null string part userinfo split string username part 0 string password part 1 builder addheader authorization com squareup okhttp credential credential basic username password final request request builder get build I d try and submit a pr but I can t get the project to compile in intellij for some reason |
facebookfresco | image not display when call notifydatachange | Bug | normal state display image in recyclerview 1a8da52b0c7363a16ff48b4d5bc29e8d when I call notifydatachange to refresh the recycleview sometimes can not be display e760cae10975bf8c145b37230cc3403a the follow be my code in onbindviewholder imagerequ request imagerequ fromuri uri parse finalurl draweecontroller controller fresco newdraweecontrollerbuilder setimagerequ request setoldcontroller imageview getcontroller build imageview setcontroller controller |
facebookfresco | java lang internalerror thread start during runtime shutdown | Bug | java lang internalerror thread start during runtime shutdown at java lang thread nativecreate thread java at java lang thread start thread java 1063 at java util concurrent threadpoolexecutor addworker threadpoolexecutor java 920 at java util concurrent threadpoolexecutor processworkerexit threadpoolexecutor java 988 at java util concurrent threadpoolexecutor runworker threadpoolexecutor java 1130 at java util concurrent threadpoolexecutor worker run threadpoolexecutor java 587 at com facebook imagepipeline core prioritythreadfactory 1 run prioritythreadfactory java 43 at java lang thread run thread java 818 do someone have idea |
facebookfresco | an error occur after upgrade to the v0 9 0 | Bug | java lang noclassdeffounderror com facebook imagepipeline nativecode jpegtranscoder at com facebook imagepipeline producers resizeandrotateproducer transformingconsumer dotransform resizeandrotateproducer java 154 at com facebook imagepipeline producers resizeandrotateproducer transformingconsumer access 000 resizeandrotateproducer java 72 at com facebook imagepipeline producer resizeandrotateproducer transformingconsumer 1 run resizeandrotateproducer java 89 at com facebook imagepipeline producers jobscheduler dojob jobscheduler java 207 at com facebook imagepipeline producers jobscheduler access 000 jobscheduler java 27 at com facebook imagepipeline producers jobscheduler 1 run jobscheduler java 78 at java util concurrent threadpoolexecutor runworker threadpoolexecutor java 1080 at java util concurrent threadpoolexecutor worker run threadpoolexecutor java 573 at com facebook imagepipeline core prioritythreadfactory 1 run prioritythreadfactory java 43 at java lang thread run thread java 838 error device top5 image system version top5 image java lang exceptionininitializererror at com facebook imagepipeline producers resizeandrotateproducer transformingconsumer dotransform resizeandrotateproducer java 154 at com facebook imagepipeline producers resizeandrotateproducer transformingconsumer access 000 resizeandrotateproducer java 72 at com facebook imagepipeline producer resizeandrotateproducer transformingconsumer 1 run resizeandrotateproducer java 89 at com facebook imagepipeline producers jobscheduler dojob jobscheduler java 207 at com facebook imagepipeline producers jobscheduler access 000 jobscheduler java 27 at com facebook imagepipeline producers jobscheduler 1 run jobscheduler java 78 at java util concurrent threadpoolexecutor runworker threadpoolexecutor java 1080 at java util concurrent threadpoolexecutor worker run threadpoolexecutor java 573 at com facebook imagepipeline core prioritythreadfactory 1 run prioritythreadfactory java 43 at java lang thread run thread java 856 cause by java lang unsatisfiedlinkerror can not load library soinfo link image linker cpp 1635 could not load library libwebp so need by libimagepipeline so cause by load library linker cpp 745 library libwebp so not find at java lang runtime loadlibrary runtime java 371 at java lang system loadlibrary system java 535 at com facebook common soloader soloadershim defaulthandler loadlibrary soloadershim java 32 at com facebook common soloader soloadershim loadlibrary soloadershim java 56 at com facebook imagepipeline nativecode imagepipelinenativeloader load imagepipelinenativeloader java 43 at com facebook imagepipeline nativecode jpegtranscoder jpegtranscoder java 26 10 more error device top5 image system version top5 image |
facebookfresco | zoomabledraweeview slide conflict with viewpager | Enhancement | if I zoom the image then if I scroll that then image have to move instead of viewpager |
facebookfresco | draw different kind of image shape | Question | fresco have build in support for circular image and rounded corner but what about other shape such as diamond or parallelogram etc I ve search this topic for the past 2 day and barely find anything about it an example of a shape I would like to have example I ve post a more in depth question on stackoverflow and would really appreciate it if you could check it out |
facebookfresco | fresco not load image when folder have like this local url file storage sdcard1 test image text jpg | Bug | fresco not load image when folder have like this local url file storage sdcard1 test image text jpg |
facebookfresco | fresco initialize getapplicationcontext leak | Bug | initialize fresco with the application context create a leak accord to leakcanary in com artico delivery pedido 2 0 25 com ciberson monchis fragment franchisesfragment have leak gc root static com facebook drawee backend pipeline fresco sdraweecontrollerbuildersuppli reference com facebook drawee backends pipeline pipelinedraweecontrollerbuildersuppli mcontext reference com ciberson monchis activity mainactivity adapter reference com ciberson monchis adapter tabadapter mcurrentprimaryitem reference com ciberson monchis fragment mainfragment mchildfragmentmanager reference android support v4 app fragmentmanagerimpl mcreatedmenus reference java util arraylist array reference array java lang object 0 reference com ciberson monchis fragment categoriafragment tabadapter reference com ciberson monchis adapter tabadapter mfragment reference java util arraylist array reference array java lang object 0 leak com ciberson monchis fragment franchisesfragment instance reference key 369d383f 503a 40d4 9a95 26b8379fe4f0 device samsung samsung sm g355 m kanas3gub android version 4 4 2 api 19 leakcanary 1 3 1 duration watch 5062ms gc 211ms heap dump 1588ms analysis 43497ms detail class com facebook drawee backend pipeline fresco static staticoverhead byte i d 0x41c79681 length 24 size 40 static sdraweecontrollerbuildersuppli com facebook drawee backend pipeline pipelinedraweecontrollerbuildersuppli i d 0x4210b3e0 instance of com facebook drawee backend pipeline pipelinedraweecontrollerbuildersuppli mboundcontrollerlistener null mcontext com ciberson monchis activity mainactivity i d 0x41ade3a0 mimagepipeline com facebook imagepipeline core imagepipeline i d 0x4210b400 mpipelinedraweecontrollerfactory com facebook drawee backend pipeline pipelinedraweecontrollerfactory i d 0x4210c9c8 instance of com ciberson monchis activity mainactivity |
facebookfresco | import a local version of fresco | Enhancement | do you have a guide for import a local fork clone and modify version of fresco as a library into another project I go through the pom file on maven central however wonder if there be an easy way to do so |
facebookfresco | can I use fresco with databinding or write image http url in xml | Enhancement | how to put image http url in placeholderimage by xml like this with databinde |
facebookfresco | nexus 5x marshmallow oom | Bug | I use fresco lib to load image to item in recycler view it use to work on all test device with any os version aboard but I have oom on lg nexus 5x marshmallow with memory monitor I find out that memory consumption raise up proportionally to item I scroll through and after the app reach 512 m it freeze for a moment and crash with oom I also have try to inspect scroll with network monitor and I be persuade the app didn t load so many datum from network clamp target gc heap from 527 mb to 512 mb alloc concurrent mark sweep gc free 2422 131 kb allocspace object 0 0b los object 0 free 511 mb 512 mb pause 1 425ms total 42 172ms waitforgctocomplete block for 181 671ms for cause alloc start a blocking gc alloc uncaught exception throw by finalizer wait for a blocking gc alloc wait for a blocking gc alloc wait for a blocking gc alloc wait for a blocking gc alloc wait for a blocking gc alloc wait for a blocking gc alloc wait for a blocking gc alloc wait for a blocking gc alloc wait for a blocking gc alloc java lang outofmemoryerror fail to allocate a 24 byte allocation with 0 free byte and 2640b until oom at com android internal os binderinternal gcwatcher finalize binderinternal java 53 at java lang daemon finalizerdaemon dofinalize daemon java 202 at java lang daemon finalizerdaemon run daemon java 185 at java lang thread run thread java 818 currently nexus 5x be the only device I can reproduce the issue usage case initialize lib in app s oncreate and setimageuri to simpledraweeview bind via butterknife |
facebookfresco | error remove non existent file from disk cache | Bug | situation get a lot of warning in my log about the inability to remove a cache file example w system err remove fail enoent no such file or directory datum datum appname cache image cache v2 ols100 1 78 8wswi13u1fwu5wz277lpoy9xj8w cnt w system err remove fail enoent no such file or directory datum datum appname cache image cache v2 ols100 1 98 jzeib0btox8dnuaxvq97hrelr0q cnt fresco 0 9 0 initialise with follow code java fresco initialize this and the request be do as follow java create the image request imagerequestbuilder requestbuilder imagerequestbuilder newbuilderwithsource uri setprogressiverenderingenable true draweecontroller controller fresco newdraweecontrollerbuilder setimagerequ requestbuilder build setoldcontroller view getcontroller build view setcontroller controller the image load correctly but I get an error message for every image I load |
facebookfresco | npe invoke com facebook drawee backend pipeline d | Enhancement | java lang nullpointerexception attempt to invoke virtual method com facebook drawee backend pipeline d com facebook drawee backend pipeline e a on a null object reference at com facebook drawee backend pipeline b b fresco java 54 at com chemao car adapter findcarlistadapter getview findcarlistadapter java 196 at android widget headerviewlistadapter getview headerviewlistadapter java 232 at android widget abslistview obtainview abslistview java 2847 at android widget listview makeandaddview listview java 1903 at android widget listview filldown listview java 713 at android widget listview fillgap listview java 677 I get many of this any help |
facebookfresco | use simpledraweeview in popupwindow can not display | Bug | I use simpledraweeview in poppupwindow and use this method setimageuri before new popupwindow however it can not display img in phone but the button can call back onclick method before new popupwindow |
facebookfresco | get image size | Enhancement | hello guy be there any way to get the original image size base on uri for a cache image thank |
facebookfresco | java lang noclassdeffounderror | Bug | phone vivo x510 t android 4 2 2 java lang noclassdeffounderror com facebook imagepipeline nativecode jpegtranscoder 03 11 11 01 35 139 13373 14295 e dalvikvm dlopen mnt asec xxx 2 lib libimagepipeline so fail can not load library soinfo link image linker cpp 1635 could not load library libwebp so need by libimagepipeline so cause by load library linker cpp 745 library libwebp so not find 03 11 11 01 35 139 13373 14295 w dalvikvm exception ljava lang unsatisfiedlinkerror throw while initialize lcom facebook imagepipeline nativecode jpegtranscoder |
facebookfresco | image be stretch when I set fresco roundascircle true and fresco actualimagescaletype center | Bug | when I set fresco roundascircle false and fresco actualimagescaletype center it s ok and fresco roundascircle true and fresco actualimagescaletype none it s also ok only when I set fresco roundascircle true and fresco actualimagescaletype centerinside or center the image be stretch |
facebookfresco | image flash when gpu rendering be not enforce | Bug | I turn off the enforce gpu rendering and use fresco to load image the image flash and get black frame when load circle image |
facebookfresco | listview show wrong image when fast scroll | Bug | I have custom listview in listview contain 200 item when I be scroll fast from top to bottom or bottom to top listview show wrong image if I be scroll slowly then its work fine simpledraweeview in xml xml set image uri to simpledraweeview java genericdraweehierarchy hierarchy sethierarchyfordraweeview mimageview 300 hierarchy setplaceholderimage new asynccolordrawable context getresource hierarchy setfailureimage mcontext getresource getdrawable r drawable break image black imagerequ imagerequ imagerequestbuilder newbuilderwithsource uri fromfile new file mpath local path setresizeoption new resizeoption width height setlocalthumbnailpreviewsenable true build draweecontroller draweecontroller fresco newdraweecontrollerbuilder setimagerequest imagerequ setoldcontroller mimageview getcontroller setautoplayanimation false build mimageview setcontroller draweecontroller sethierarchyfordraweeview function java private genericdraweehierarchy sethierarchyfordraweeview simpledraweeview draweeview int duration if draweeview null if draweeview gethierarchy null genericdraweehierarchybuilder builder new genericdraweehierarchybuilder mcontext getresource genericdraweehierarchy hierarchy builder setfadeduration duration setplaceholderimage new asynccolordrawable mcontext getresource setfailureimage mcontext getresource getdrawable r drawable break image black build draweeview sethierarchy hierarchy else genericdraweehierarchy hierarchy draweeview gethierarchy hierarchy setfadeduration duration return hierarchy return null asynccolordrawable class java private class asynccolordrawable extend colordrawable public asynccolordrawable resource re super re getcolor r color application container background color if I do anything wrong please figure it out thank for advance I be post in stackoverflow also please refer below link |
facebookfresco | hope gif animatable can add pause api so can restart not from the begin | Enhancement | hope gif animatable can add pause api so can restart not from the begin well wish |
facebookfresco | roundascircle do not apply when if a simpledraweeview be contain in a extended framelayout such as swipelayout | Bug | if a com facebook drawee view simpledraweeview be add in a swipelayout container set fresco roundascircle true win t work what s the problem be it necessary to add swipelayout manually |
facebookfresco | set setprogressiverenderingenable false do not work | Bug | I want to remove the progressive render effect of jpg image so I set progressiverenderingenable false I find the effect still appear public imagerequ buildimagerequest imagerequ request if muri null request imagerequestbuilder newbuilderwithsource muri setautorotateenable misautorotateenable setresizeoption mresizeoption setprogressiverenderingenable false build else request imagerequestbuilder newbuilderwithresourceid mresourceid setautorotateenable misautorotateenable setresizeoption mresizeoption setprogressiverenderingenable false build return request |
facebookfresco | pagerview with zoomed image in zoomabledraweeview not scroll to next image | Enhancement | I be use pagerview with image show in zoomabledraweeview when image not zoom it scroll to next without problem but when I zoom the image its not scroll to the next image |
facebookfresco | allow to disable crossfade | Enhancement | when crossfade placeholder and download image both image change alpha channel from 0 1 and from 1 0 transitiondrawable have an option setcrossfadeenable boolean enable this option will lead to a smoother transition between placeholder drawable colour drawable and download drawable it should be do in fadedrawable class |
facebookfresco | why don t support svg | Enhancement | why don t support svg |
facebookfresco | can not load library | Bug | the exception be raise when I try to run my app on xolo I have a list and I be use the library to load image from the url the image be large in size and hence I be use the image re size option this crash the app in xolo please help java lang unsatisfiedlinkerror can not load library soinfo link image linker cpp 1647 could not load library libwebp so need by libimagepipeline so cause by load library linker cpp 757 library libwebp so not find at java lang runtime loadlibrary runtime java 372 at java lang system loadlibrary system java 514 at com facebook common soloader soloadershim defaulthandler loadlibrary soloadershim java 32 at com facebook common soloader soloadershim loadlibrary soloadershim java 56 at com facebook imagepipeline nativecode imagepipelinenativeloader load imagepipelinenativeloader java 43 at com facebook imagepipeline nativecode jpegtranscoder jpegtranscoder java 26 at com facebook imagepipeline producers resizeandrotateproducer transformingconsumer dotransform resizeandrotateproducer java 154 at com facebook imagepipeline producers resizeandrotateproducer transformingconsumer access 000 resizeandrotateproducer java 72 at com facebook imagepipeline producer resizeandrotateproducer transformingconsumer 1 run resizeandrotateproducer java 89 at com facebook imagepipeline producers jobscheduler dojob jobscheduler java 207 at com facebook imagepipeline producers jobscheduler access 000 jobscheduler java 27 at com facebook imagepipeline producers jobscheduler 1 run jobscheduler java 78 at java util concurrent threadpoolexecutor runworker threadpoolexecutor java 1080 at java util concurrent threadpoolexecutor worker run threadpoolexecutor java 573 at com facebook imagepipeline core prioritythreadfactory 1 run prioritythreadfactory java 43 at java lang thread run thread java 838 |
facebookfresco | how to get preview image from animateddrawable | Enhancement | I use the code to get a animateddrawable java if image instanceof closeableanimatedimage animatedimageresult img closeableanimatedimage image getimageresult animateddrawablefactory animateddrawablefactory fresco getimagepipelinefactory getanimateddrawablefactory if animateddrawablefactory null animateddrawableoption option new animateddrawableoptionsbuilder setforcekeepallframesinmemory true setallowprefetche true build animateddrawable animateddrawable animateddrawablefactory create img option if animateddrawable null return animateddrawable and I want to get a preview image for this animateddrawable I try renderframe but do not work hope reply soon |
facebookfresco | draweeview render layer list drawable problem | Bug | I meet such a question I need use a layer list drawable as placeholderimage or retryimagebut I find the drawable be not render in one time it seem fresco render it one layer by one layer and I can see the rendering process it be werid so be any body meet this question my drawable xml be below |
facebookfresco | cachestat return 1 on app update | Duplicate | hello I don t know if it s the same as when app be update or suppress and reinstall mdiskcacheusedsize fresco getimagepipelinefactory getmaindiskstoragecache getsize return 1 thus all file be in cache this have be test use setbasedirectorypath getexternalcachedir or setbasedirectorypath context getapplicationcontext getcachedir as diskcacheconfig thanks eric |
facebookfresco | circular reveal animation with fresco | Bug | I need to make a circular reveal animation after the image be load by fresco in my android app I listen to the download event as describe here in the onfinalimageset event I run the reveal effect as describe here the image be not show when I put a debug log to the onfinalimageset event I see that it s call repeatedly when I comment out the reveal function it s only call once and work as expect somehow reveal effect trigger fresco to load the image over and over |
facebookfresco | cachestat getsize return 1 | Bug | hello I try to get size of cache through mdiskcacheusedsize fresco getimagepipelinefactory getmaindiskstoragecache getsize after get file through prefetchtodiskcache all be ok except value return by getsize be 1 thus they be write to disk cache isenable return true after the display of one image use drawee getsize return right value this bug seem to be the same as build cache through drawee and getsize be always ok greeting eric |
facebookfresco | simpledraweeview flicker if set to the same uri multiple time | Bug | I want to get the uri which a simpledraweeview have to determine to call setimageuri or not again when I call setimageuri with the same uri multiple time simpledraweeview flicker each time so I want to call setimageuri when the uri be change can I get the uri already be set to the simpledraweeview or be there an other way to solve this problem and can I remove uri from the simpledraweeview thank |
facebookfresco | deadlock during unit test execution | Enhancement | hi all I ve spot deadlock during execution of unit test with robolectric 3 fresco deadlock it happen when at least two view download image at the same time here be associate thread dump fresco deadlock dump txt to reproduce this issue please uncomment any additional setimageuri invocation in and run unit test |
facebookfresco | constant increase amount of thread during unit test execution | Enhancement | hello all I ve spot a big amount of wait thread about numtest 3 create by fresco library during unit test execution with robolectric 3 0 fresco wait here be related thread dump fresco wait dump txt I ve add basic unit test to sample demo to show this issue |
facebookfresco | memory leak in fresco initialize this | Bug | in fresco initialize this will initialize simpledraweeview in simpledraweeview there have a static variable sdraweecontrollerbuildersupplier and sdraweecontrollerbuildersuppli hold a variable mcontext finally leak my activity instance |
facebookfresco | memory leak during animation of gif s in android | Bug | I consistently see memory leak while integrate fresco for play gif in my app the xml of the image be as follow with the above xml layout I then try and play a gif use an asset file use the code as follow try f createfilefrominputstream androidcontext getcontext getasset open filepath catch ioexception e e printstacktrace try uri uri uri fromfile f draweecontroller controller fresco newdraweecontrollerbuilder seturi uri setautoplayanimation true build gificon setcontroller controller gificon sethierarchy hierarchy gificon setvisibility view visible gificon setminimumwidth 40 animatable animatable gificon getcontroller getanimatable if animatable null animatable start gificon requestlayout gificon refreshdrawablestate the gif play fine but there be a lot of memory leak almost at the rate of 1 mb min I add more logging to check what be happen and be get the follow error 82 initialize 02 04 22 13 41 226 17386 17386 v unknown abstractdraweecontroller controller 42456e80 82 ondetach 02 04 22 13 41 226 17386 17386 v unknown abstractdraweecontroller controller 42456e80 82 sethierarchy null 02 04 22 13 41 226 17386 17386 v unknown abstractdraweecontroller controller 42456e80 82 sethierarchy com facebook drawee generic genericdraweehierarchy 42453d08 02 04 22 13 41 233 17386 17386 v unknown abstractdraweecontroller controller 42456e80 82 onattach request need submit 02 04 22 13 41 233 17386 17386 v unknown abstractdraweecontroller controller 42456e80 82 submitrequ datasource 43b4e860 02 04 22 13 41 233 17386 17386 v unknown abstractdraweecontroller controller 42456e80 82 final fail onfailure failure java lang nullpointerexception no image request be specify the gif animate fine but there be a lot of memory leak and it slowly build up |
facebookfresco | roundascircle don t display in androidstudio preview | Enhancement | this be my code it can t display preview this be exception stack sun dc pr prerror setpent4 invalid pen transformation singular at sun dc pr pathstroker setpent4 native method at sun dc pr rasterizer setpent4 rasterizer java 232 at sun dc ductusrenderingengine getaatilegenerator ductusrenderingengine java 409 at sun java2d pipe aashapepipe renderpath aashapepipe java 151 at sun java2d pipe aashapepipe draw aashapepipe java 64 at sun java2d pipe pixeltoparallelogramconverter draw pixeltoparallelogramconverter java 148 at sun java2d pipe validatepipe draw validatepipe java 154 at sun java2d sungraphics2d draw sungraphics2d java 2438 at android graphic canvas delegate 8 draw canvas delegate java 727 at com android layoutlib bridge impl gcsnapshot drawongraphic gcsnapshot java 680 at com android layoutlib bridge impl gcsnapshot drawinlayer gcsnapshot java 615 at com android layoutlib bridge impl gcsnapshot draw gcsnapshot java 583 at android graphic canvas delegate draw canvas delegate java 951 at android graphic canvas delegate native drawpath canvas delegate java 707 at android graphic canvas native drawpath canvas java at android graphic canvas drawpath canvas java 1262 at com facebook drawee drawable roundedbitmapdrawable draw roundedbitmapdrawable java 172 at com facebook drawee drawable forwardingdrawable draw forwardingdrawable java 140 at com facebook drawee drawable scaletypedrawable draw scaletypedrawable java 104 at com facebook drawee drawable fadedrawable drawdrawablewithalpha fadedrawable java 306 at com facebook drawee drawable fadedrawable draw fadedrawable java 293 at com facebook drawee drawable forwardingdrawable draw forwardingdrawable java 140 at com facebook drawee generic genericdraweehierarchy rootdrawable draw genericdraweehierarchy java 133 at android widget imageview ondraw imageview java 1226 at android view view draw view java 16178 at android view view draw view java 16090 at android view viewgroup drawchild original viewgroup java 3609 at android view viewgroup delegate drawchild viewgroup delegate java 61 at android view viewgroup drawchild viewgroup java 3609 at android view viewgroup dispatchdraw viewgroup java 3399 at android view view draw view java 16181 at android view view draw view java 16090 at android view viewgroup drawchild original viewgroup java 3609 at android view viewgroup delegate drawchild viewgroup delegate java 61 at android view viewgroup drawchild viewgroup java 3609 at android view viewgroup dispatchdraw viewgroup java 3399 at android view view draw view java 16088 at android view viewgroup drawchild original viewgroup java 3609 at android view viewgroup delegate drawchild viewgroup delegate java 61 at android view viewgroup drawchild viewgroup java 3609 at android view viewgroup dispatchdraw viewgroup java 3399 at android view view draw view java 16181 at com android layoutlib bridge impl rendersessionimpl render rendersessionimpl java 431 at com android layoutlib bridge bridge createsession bridge java 428 at com android ide common render layoutlibrary createsession layoutlibrary java 350 at com android tool idea render rendertask 2 compute rendertask java 510 at com android tool idea render rendertask 2 compute rendertask java 498 at com intellij openapi application impl applicationimpl runreadaction applicationimpl java 888 at com android tool idea render rendertask createrendersession rendertask java 498 at com android tool idea render rendertask access 600 rendertask java 72 at com android tool idea render rendertask 3 call rendertask java 610 at com android tool idea render rendertask 3 call rendertask java 607 at com android tool idea render renderservice runrenderaction renderservice java 362 at com android tool idea render rendertask render rendertask java 607 at com android tool idea render rendertask render rendertask java 629 at com intellij android designer designsurface androiddesignereditorpanel 6 run androiddesignereditorpanel java 480 at com intellij util ui update mergingupdatequeue execute mergingupdatequeue java 320 at com intellij util ui update mergingupdatequeue execute mergingupdatequeue java 310 at com intellij util ui update mergingupdatequeue 2 run mergingupdatequeue java 254 at com intellij util ui update mergingupdatequeue flush mergingupdatequeue java 269 at com intellij util ui update mergingupdatequeue flush mergingupdatequeue java 227 at com intellij util ui update mergingupdatequeue run mergingupdatequeue java 217 at com intellij util concurrency queueprocessor runsafely queueprocessor java 238 at com intellij util alarm request 1 run alarm java 351 at java util concurrent executors runnableadapter call executor java 471 at java util concurrent futuretask run futuretask java 262 at java util concurrent threadpoolexecutor runworker threadpoolexecutor java 1145 at java util concurrent threadpoolexecutor worker run threadpoolexecutor java 615 at java lang thread run thread java 745 but when I remove the attribute roundascircle true it just work fine |
facebookfresco | autorotateenable be ignore when postprocessor be set with request | Bug | this be maybe expect behavior but I can t find where this document then I m try to implement custom resizing logic for image before send file out over network I use pipeline directly with imagepipeline fetchdecodedimage imagerequ and send bitmap over on the datasource callback I expect image rotation happen on the decode step before postprocessor take that decode sourcebitmap but it be not rotate as exif info suggest on the other hand if I take postprocessor out and add setresizingoption instead the bitmap be rotate correctly on the datasource callback be I miss something be there well way to do it java imagerequ imagerequ imagerequestbuilder newbuilderwithsource contenturi setautorotateenable true setpostprocessor new basepostprocessor override public closeablereference process bitmap sourcebitmap platformbitmapfactory bitmapfactory float maxpixel 1080 1080 int originalwidth sourcebitmap getwidth int originalheight sourcebitmap getheight float scalefactor math min maxpixel originalwidth originalheight 1 closeablereference bitmapref bitmapfactory createbitmap int originalwidth scalefactor int originalheight scalefactor try bitmap destbitmap bitmapref get for int x 0 x destbitmap getwidth x for int y 0 y destbitmap getheight y destbitmap setpixel x y sourcebitmap getpixel int x scalefactor int y scalefactor return closeablereference cloneornull bitmapref finally closeablereference closesafely bitmapref build |
facebookfresco | java lang runtimeexception fail to pin bitmap | Bug | hello I m currently develop a news application where article teaser image be load in recyclerview for some picture fresco be return an error java lang runtimeexception fail to pin bitmap image link with this error can t be display also outside the recyclerview it s not widget specific this happen only for few image like only on android api 16 only on some device like sony lt22i or samsung galaxy s2 4 1 1 genymotion emulator I m attach log for fresco and look forward for any feedback 01 27 14 51 00 781 26981 26981 xxx v unknown abstractdraweecontroller controller 53a1c26c 0 2 initialize 01 27 14 51 00 785 26981 26981 xxx v unknown abstractdraweecontroller controller 53a1c26c 2 sethierarchy null 01 27 14 51 00 785 26981 26981 xxx v unknown abstractdraweecontroller controller 53a1c26c 2 sethierarchy com facebook drawee generic genericdraweehierarchy 53583b80 01 27 14 51 00 785 26981 26981 xxx v unknown abstractdraweecontroller controller 53a1c26c 2 onattach request need submit 01 27 14 51 00 785 26981 26981 xxx v unknown pipelinedraweecontroller controller 53a1c26c getdatasource 01 27 14 51 00 785 26981 26981 xxx v unknown requestlogginglistener time 23593778 onrequestsubmit requestid 2 callercontext null isprefetch false 01 27 14 51 00 785 26981 26981 xxx v unknown requestlogginglistener time 23593778 onproducerstart requestid 2 producer bitmapmemorycachegetproducer 01 27 14 51 00 785 26981 26981 xxx v unknown requestlogginglistener time 23593778 onproducerfinishwithsuccess requestid 2 producer bitmapmemorycachegetproducer elapsedtime 0 ms extramap cache value find false 01 27 14 51 00 785 26981 26981 xxx v unknown requestlogginglistener time 23593778 onproducerstart requestid 2 producer backgroundthreadhandoffproducer 01 27 14 51 00 785 26981 26981 xxx v unknown abstractdraweecontroller controller 53a1c26c 2 submitrequ datasource 535ab5a8 01 27 14 51 00 785 26981 27420 xxx v unknown requestlogginglistener time 23593778 onproducerfinishwithsuccess requestid 2 producer backgroundthreadhandoffproducer elapsedtime 0 ms extramap null 01 27 14 51 00 793 26981 26981 xxx v unknown requestlogginglistener time 23593784 onrequestcancellation requestid 1 elapsedtime 517 ms 01 27 14 51 00 797 26981 26981 xxx v unknown abstractdraweecontroller controller 53a1e144 1 3 initialize 01 27 14 51 00 797 26981 26981 xxx v unknown abstractdraweecontroller controller 53a1e144 3 sethierarchy null 01 27 14 51 00 797 26981 26981 xxx v unknown abstractdraweecontroller controller 53a1e144 3 sethierarchy com facebook drawee generic genericdraweehierarchy 53591798 01 27 14 51 00 797 26981 26981 xxx v unknown abstractdraweecontroller controller 53a1e144 3 onattach request need submit 01 27 14 51 00 797 26981 26981 xxx v unknown pipelinedraweecontroller controller 53a1e144 getdatasource 01 27 14 51 00 797 26981 26981 xxx v unknown requestlogginglistener time 23593791 onrequestsubmit requestid 3 callercontext null isprefetch false 01 27 14 51 00 797 26981 26981 xxx v unknown requestlogginglistener time 23593791 onproducerstart requestid 3 producer bitmapmemorycachegetproducer 01 27 14 51 00 797 26981 26981 xxx v unknown requestlogginglistener time 23593791 onproducerfinishwithsuccess requestid 3 producer bitmapmemorycachegetproducer elapsedtime 0 ms extramap cache value find false 01 27 14 51 00 801 26981 26981 xxx v unknown requestlogginglistener time 23593793 onproducerstart requestid 3 producer backgroundthreadhandoffproducer 01 27 14 51 00 801 26981 26981 xxx v unknown abstractdraweecontroller controller 53a1e144 3 submitrequ datasource 539bd9f0 01 27 14 51 00 801 26981 27420 xxx v unknown requestlogginglistener time 23593793 onproducerfinishwithsuccess requestid 3 producer backgroundthreadhandoffproducer elapsedtime 0 ms extramap null 01 27 14 51 00 817 26981 26981 xxx d openglrenderer texturecache get create texture 0xb7b16fe8 name size msize 158 540 3142440 01 27 14 51 00 893 26981 27422 xxx d dalvikvm try to load lib data data xxx lib libmemchunk so 0xa6a100b0 01 27 14 51 00 893 26981 27422 xxx d dalvikvm add shared lib data data xxx lib libmemchunk so 0xa6a100b0 01 27 14 51 00 897 26981 27422 xxx v unknown nativememorychunkpool use 1 1024 free 0 0 01 27 14 51 00 897 26981 27422 xxx v unknown nativememorychunkpool get alloc object size 5355a918 1024 01 27 14 51 00 897 26981 27422 xxx v unknown genericbytearraypool use 1 16384 free 0 0 01 27 14 51 00 897 26981 27422 xxx v unknown genericbytearraypool get alloc object size 5364981c 16384 01 27 14 51 00 901 26981 27422 xxx v unknown nativememorychunkpool use 2 17408 free 0 0 01 27 14 51 00 901 26981 27422 xxx v unknown nativememorychunkpool get alloc object size 5357f718 16384 01 27 14 51 00 901 26981 27422 xxx v unknown nativememorychunkpool release reuse object size 5355a918 1024 01 27 14 51 00 901 26981 27422 xxx v unknown nativememorychunkpool use 1 16384 free 1 1024 01 27 14 51 00 941 26981 27422 xxx v unknown nativememorychunkpool use 2 49152 free 1 1024 01 27 14 51 00 941 26981 27422 xxx v unknown nativememorychunkpool get alloc object size 535b4e2c 32768 01 27 14 51 00 941 26981 27422 xxx v unknown nativememorychunkpool release reuse object size 5357f718 16384 01 27 14 51 00 941 26981 27422 xxx v unknown nativememorychunkpool use 1 32768 free 2 17408 01 27 14 51 00 941 26981 27422 xxx v unknown nativememorychunkpool use 2 98304 free 2 17408 01 27 14 51 00 941 26981 27422 xxx v unknown nativememorychunkpool get alloc object size 53975738 65536 01 27 14 51 00 941 26981 27422 xxx v unknown nativememorychunkpool release reuse object size 535b4e2c 32768 01 27 14 51 00 941 26981 27422 xxx v unknown nativememorychunkpool use 1 65536 free 3 50176 01 27 14 51 00 977 26981 27422 xxx v unknown nativememorychunkpool use 2 196608 free 3 50176 01 27 14 51 00 977 26981 27422 xxx v unknown nativememorychunkpool get alloc object size 5399410c 131072 01 27 14 51 00 981 26981 27422 xxx v unknown nativememorychunkpool release reuse object size 53975738 65536 01 27 14 51 00 981 26981 27422 xxx v unknown nativememorychunkpool use 1 131072 free 4 115712 01 27 14 51 01 033 26981 27422 xxx v unknown nativememorychunkpool use 2 393216 free 4 115712 01 27 14 51 01 033 26981 27422 xxx v unknown nativememorychunkpool get alloc object size 5396cfc0 262144 01 27 14 51 01 033 26981 27422 xxx v unknown nativememorychunkpool release reuse object size 5399410c 131072 01 27 14 51 01 033 26981 27422 xxx v unknown nativememorychunkpool use 1 262144 free 5 246784 01 27 14 51 01 057 26981 27422 xxx v unknown requestlogginglistener time 23594051 onproducerfinishwithsuccess requestid 0 producer networkfetchproducer elapsedtime 772 ms extramap null 01 27 14 51 01 061 26981 27422 xxx I dalvikvm could not find method android graphic bitmap getallocationbytecount reference from method com facebook imageutil bitmaputil getsizeinbyte 01 27 14 51 01 061 26981 27422 xxx w dalvikvm vfy unable to resolve virtual method 626 landroid graphic bitmap getallocationbytecount i 01 27 14 51 01 061 26981 27422 xxx d dalvikvm vfy replace opcode 0x6e at 0x000a 01 27 14 51 01 065 26981 27422 xxx i unknown tiffutil unsupported orientation 01 27 14 51 01 065 26981 27422 xxx v unknown stagingarea count 1 01 27 14 51 01 065 26981 27444 xxx v unknown buffereddiskcache about to write to disk cache for key 01 27 14 51 01 073 26981 27422 xxx v unknown genericbytearraypool release reuse object size 5364981c 16384 01 27 14 51 01 073 26981 27422 xxx v unknown genericbytearraypool use 0 0 free 1 16384 01 27 14 51 01 077 26981 27445 xxx v unknown requestlogginglistener time 23594070 onproducerstart requestid 0 producer decodeproducer 01 27 14 51 01 085 26981 27445 xxx v unknown softrefbytearraypool use 1 262144 free 0 0 01 27 14 51 01 085 26981 27445 xxx v unknown softrefbytearraypool get alloc object size 538c297c 262144 01 27 14 51 01 085 26981 27445 xxx v unknown softrefbytearraypool release reuse object size 538c297c 262144 01 27 14 51 01 085 26981 27445 xxx v unknown softrefbytearraypool use 0 0 free 1 262144 01 27 14 51 01 089 26981 27445 xxx I dalvikvm could not find method android graphic bitmap getallocationbytecount reference from method com facebook imagepipeline nativecode bitmap reconfigurebitmap 01 27 14 51 01 089 26981 27445 xxx w dalvikvm vfy unable to resolve virtual method 626 landroid graphic bitmap getallocationbytecount i 01 27 14 51 01 089 26981 27445 xxx d dalvikvm vfy replace opcode 0x6e at 0x0000 01 27 14 51 01 089 26981 27445 xxx d dalvikvm try to load lib data data xxx lib libbitmap so 0xa6a100b0 01 27 14 51 01 089 26981 27445 xxx d dalvikvm add shared lib data data xxx lib libbitmap so 0xa6a100b0 01 27 14 51 01 089 26981 27445 xxx w unknown requestlogginglistener time 23594082 onproducerfinishwithfailure requestid 0 stage decodeproducer elapsedtime 12 ms extramap queuetime 10 imagetype default isfinal true hasgoodquality true throwable java lang runtimeexception fail to pin bitmap 01 27 14 51 01 093 26981 27444 xxx v unknown genericbytearraypool use 1 16384 free 0 0 01 27 14 51 01 093 26981 27445 xxx w unknown requestlogginglistener time 23594085 onrequestfailure requestid 2 elapsedtime 307 ms throwable java lang runtimeexception fail to pin bitmap 01 27 14 51 01 093 26981 27445 xxx w unknown requestlogginglistener time 23594085 onrequestfailure requestid 3 elapsedtime 294 ms throwable java lang runtimeexception fail to pin bitmap 01 27 14 51 01 093 26981 27444 xxx v unknown genericbytearraypool get reuse object size 5364981c 16384 01 27 14 51 01 093 26981 27444 xxx v unknown genericbytearraypool release reuse object size 5364981c 16384 01 27 14 51 01 097 26981 27444 xxx v unknown genericbytearraypool use 0 0 free 1 16384 01 27 14 51 01 097 26981 27444 xxx v unknown buffereddiskcache successful disk cache write for key 01 27 14 51 01 097 26981 27444 xxx v unknown stagingarea count 0 01 27 14 51 01 177 26981 26981 xxx v unknown abstractdraweecontroller controller 53a1c26c 2 final fail onfailure failure java lang runtimeexception fail to pin bitmap 01 27 14 51 01 177 26981 26981 xxx v unknown abstractdraweecontroller controller 53a1e144 3 final fail onfailure failure java lang runtimeexception fail to pin bitmap |
facebookfresco | gif image show high quality and flash when scroll recyclerview as video show | Enhancement | fresco 0 9 0 issue gif image show high quality and flash when scroll recyclerview as video show seem gif image doesn t resize and cache anglermmb29mtaishanlin01212016190153 log d charles lin file storage emulate 0 download test image a jpg inmemorycache true d charles lin file storage emulate 0 dcim gif tumblr n8d80y1bdv1rk9vano1 500 gif inmemorycache false d charles lin file storage emulate 0 dcim gif tumblr n2nj3to0oh1qjk2rvo1 500 gif inmemorycache false d charles lin file storage emulate 0 dcim gif florian 1 gif inmemorycache false d charles lin file storage emulate 0 dcim gif dfqqm gif inmemorycache false d charles lin file storage emulate 0 dcim tango img 20160105 165156 0 jpg inmemorycache true d charles lin file storage emulate 0 dcim tango img 20160105 163839 0 jpg inmemorycache true d charles lin file storage emulate 0 dcim tango img 20160105 112223 0 jpg inmemorycache true code in bindview java uri imageuri uri fromfile new file galleryimage getpath boolean inmemorycache fresco getimagepipeline isinbitmapmemorycache imageuri log d charles lin imageuri inmemorycache inmemorycache imagerequ request imagerequestbuilder newbuilderwithsource imageuri setresizeoption new resizeoption 100 100 build draweecontroller controller fresco newdraweecontrollerbuilder setoldcontroller msimpledraweeview getcontroller setimagerequ request setautoplayanimation false build msimpledraweeview setcontroller controller |
facebookfresco | noclassdeffounderror genericdraweeview inflatehierarchy | Bug | java lang noclassdeffounderror com facebook drawee r styleable at com facebook drawee view genericdraweeview inflatehierarchy genericdraweeview java 128 at com facebook drawee view genericdraweeview genericdraweeview java 77 at com facebook drawee view simpledraweeview simpledraweeview java 60 at sun reflect generatedconstructoraccessor124 newinstance unknown source at sun reflect delegatingconstructoraccessorimpl newinstance delegatingconstructoraccessorimpl java 45 at java lang reflect constructor newinstance constructor java 422 at org jetbrains android uipreview viewloader createnewinstance viewloader java 458 at org jetbrains android uipreview viewloader loadclass viewloader java 170 at org jetbrains android uipreview viewloader loadview viewloader java 103 at com android tool idea render layoutlibcallbackimpl loadview layoutlibcallbackimpl java 170 at android view bridgeinflater loadcustomview bridgeinflater java 247 at android view bridgeinflater createviewfromtag bridgeinflater java 171 at android view layoutinflater createviewfromtag layoutinflater java 704 at android view layoutinflater rinflate original layoutinflater java 835 at android view layoutinflater delegate rinflate layoutinflater delegate java 70 at android view layoutinflater rinflate layoutinflater java 811 at android view layoutinflater rinflatechildren layoutinflater java 798 at android view layoutinflater rinflate original layoutinflater java 838 at android view layoutinflater delegate rinflate layoutinflater delegate java 70 at android view layoutinflater rinflate layoutinflater java 811 at android view layoutinflater rinflatechildren layoutinflater java 798 at android view layoutinflater rinflate original layoutinflater java 838 at android view layoutinflater delegate rinflate layoutinflater delegate java 70 at android view layoutinflater rinflate layoutinflater java 811 at android view layoutinflater rinflatechildren layoutinflater java 798 at android view layoutinflater rinflate original layoutinflater java 838 at android view layoutinflater delegate rinflate layoutinflater delegate java 70 at android view layoutinflater rinflate layoutinflater java 811 at android view layoutinflater rinflatechildren layoutinflater java 798 at android view layoutinflater rinflate original layoutinflater java 838 at android view layoutinflater delegate rinflate layoutinflater delegate java 70 at android view layoutinflater rinflate layoutinflater java 811 at android view layoutinflater rinflatechildren layoutinflater java 798 at android view layoutinflater inflate layoutinflater java 515 at android view layoutinflater inflate layoutinflater java 394 at com android layoutlib bridge impl rendersessionimpl inflate rendersessionimpl java 223 at com android layoutlib bridge bridge createsession bridge java 426 at com android ide common render layoutlibrary createsession layoutlibrary java 350 at com android tool idea render rendertask 2 compute rendertask java 510 at com android tool idea render rendertask 2 compute rendertask java 498 at com intellij openapi application impl applicationimpl runreadaction applicationimpl java 888 at com android tool idea render rendertask createrendersession rendertask java 498 at com android tool idea render rendertask access 600 rendertask java 72 at com android tool idea render rendertask 3 call rendertask java 610 at com android tool idea render rendertask 3 call rendertask java 607 at com android tool idea render renderservice runrenderaction renderservice java 362 at com android tool idea render rendertask render rendertask java 607 at com android tool idea render rendertask render rendertask java 629 at org jetbrains android uipreview androidlayoutpreviewtoolwindowmanager dorender androidlayoutpreviewtoolwindowmanager java 652 at org jetbrains android uipreview androidlayoutpreviewtoolwindowmanager access 1700 androidlayoutpreviewtoolwindowmanager java 80 at org jetbrains android uipreview androidlayoutpreviewtoolwindowmanager 7 1 run androidlayoutpreviewtoolwindowmanager java 594 at com intellij openapi progress impl coreprogressmanager 2 run coreprogressmanager java 152 at com intellij openapi progress impl coreprogressmanager registerindicatorandrun coreprogressmanager java 452 at com intellij openapi progress impl coreprogressmanager executeprocessunderprogress coreprogressmanager java 402 at com intellij openapi progress impl progressmanagerimpl executeprocessunderprogress progressmanagerimpl java 54 at com intellij openapi progress impl coreprogressmanager runprocess coreprogressmanager java 137 at org jetbrains android uipreview androidlayoutpreviewtoolwindowmanager 7 run androidlayoutpreviewtoolwindowmanager java 589 at com intellij util ui update mergingupdatequeue execute mergingupdatequeue java 320 at com intellij util ui update mergingupdatequeue execute mergingupdatequeue java 310 at com intellij util ui update mergingupdatequeue 2 run mergingupdatequeue java 254 at com intellij util ui update mergingupdatequeue flush mergingupdatequeue java 269 at com intellij util ui update mergingupdatequeue flush mergingupdatequeue java 227 at com intellij util ui update mergingupdatequeue run mergingupdatequeue java 217 at com intellij util concurrency queueprocessor runsafely queueprocessor java 238 at com intellij util alarm request 1 run alarm java 351 at java util concurrent executors runnableadapter call executor java 511 at java util concurrent futuretask run futuretask java 266 at java util concurrent threadpoolexecutor runworker threadpoolexecutor java 1142 at java util concurrent threadpoolexecutor worker run threadpoolexecutor java 617 at java lang thread run thread java 745 |
facebookfresco | no possibility to set new maximum retry amount | Enhancement | I go through the code and didn t find any way to do this be there a way |
facebookfresco | sometimes bitmap be not available in memorycache | Question | my problem be if I be fetch bitmap from memory cache sometimes its not available what I be do be 1 load image from local path to simpledraweeview via setcontroller 2 then I be use below code to fetch bitmap from cache imagepipeline imagepipeline fresco getimagepipeline imagerequ imagerequ imagerequestbuilder newbuilderwithsource uri fromfile new file url setlowestpermittedrequestlevel imagerequ requestlevel full fetch build datasource datasource imagepipeline fetchimagefrombitmapcache imagerequ mcontext 1 datasource getresult be some time null sometime I be get the image why bitmap be not available in memory cache how can be resolve this problem thank for advance |
facebookfresco | java lang exceptionininitializererror after update 0 9 0 | Bug | 01 19 10 47 56 855 e androidruntime 30977 java lang exceptionininitializererror 01 19 10 47 56 855 e androidruntime 30977 at com facebook imagepipeline producers resizeandrotateproducer transformingconsumer dotransform resizeandrotateproducer java 154 01 19 10 47 56 855 e androidruntime 30977 at com facebook imagepipeline producers resizeandrotateproducer transformingconsumer access 000 resizeandrotateproducer java 72 01 19 10 47 56 855 e androidruntime 30977 at com facebook imagepipeline producer resizeandrotateproducer transformingconsumer 1 run resizeandrotateproducer java 89 01 19 10 47 56 855 e androidruntime 30977 at com facebook imagepipeline producers jobscheduler dojob jobscheduler java 207 01 19 10 47 56 855 e androidruntime 30977 at com facebook imagepipeline producers jobscheduler access 000 jobscheduler java 27 01 19 10 47 56 855 e androidruntime 30977 at com facebook imagepipeline producers jobscheduler 1 run jobscheduler java 78 01 19 10 47 56 855 e androidruntime 30977 at java util concurrent threadpoolexecutor runworker threadpoolexecutor java 1076 01 19 10 47 56 855 e androidruntime 30977 at java util concurrent threadpoolexecutor worker run threadpoolexecutor java 569 01 19 10 47 56 855 e androidruntime 30977 at com facebook imagepipeline core prioritythreadfactory 1 run prioritythreadfactory java 43 01 19 10 47 56 855 e androidruntime 30977 at java lang thread run thread java 856 01 19 10 47 56 855 e androidruntime 30977 cause by java lang unsatisfiedlinkerror can not load library link image 1892 1946 could not load need library libwebp so for libimagepipeline so load library 1094 library libwebp so not find 01 19 10 47 56 855 e androidruntime 30977 at java lang runtime loadlibrary runtime java 370 01 19 10 47 56 855 e androidruntime 30977 at java lang system loadlibrary system java 535 01 19 10 47 56 855 e androidruntime 30977 at com facebook common soloader soloadershim defaulthandler loadlibrary soloadershim java 32 01 19 10 47 56 855 e androidruntime 30977 at com facebook common soloader soloadershim loadlibrary soloadershim java 56 01 19 10 47 56 855 e androidruntime 30977 at com facebook imagepipeline nativecode imagepipelinenativeloader load imagepipelinenativeloader java 43 01 19 10 47 56 855 e androidruntime 30977 at com facebook imagepipeline nativecode jpegtranscoder jpegtranscoder java 26 01 19 10 47 56 855 e androidruntime 30977 10 more device samsung note2 dev tool eclipse android4 1 2 |
facebookfresco | imageinfo getqualityinfo isofgoodenoughquality and isoffullquality always return true | Question | no matter what image I set to simpledrawee imageinfo getqualityinfo isofgoodenoughquality and iimageinfo getqualityinfo isoffullquality always return true this be the large image I use how can I know the image onfinalimageset be resize and how much be width and height be of the orginal image thank you for any help |
facebookfresco | error inflate class com facebook drawee view simpledraweeview after restore application | Bug | step 1 launch application with target 23 on android 6 2 adb shell bmgr fullbackup package 3 adb shell bmgr restore package 4 launch application crash library initialize in application class in oncreate cause by android view inflateexception binary xml file line 79 binary xml file line 31 binary xml file line 7 binary xml file line 7 error inflate class com facebook drawee view simpledraweeview at android view layoutinflater inflate layoutinflater java 539 at android view layoutinflater inflate layoutinflater java 423 at android view layoutinflater inflate layoutinflater java 374 at android support v7 app appcompatdelegateimplv7 setcontentview appcompatdelegateimplv7 java 256 at android support v7 app appcompatactivity setcontentview appcompatactivity java 109 |
facebookfresco | how to I determine the image in download process or writing process to make disk cache | Question | I want to find the stage of the image request so I add code datasource datasource fresco getimagepipeline isindiskcache originaluri datasource subscribe new datasubscriber override public void onnewresult datasource datasource boolean isindiskcache datasource isfinishe datasource getresult null datasource getresult log d tony isindiskcache isindiskcache override public void onfailure datasource datasource log e tony onfailure override public void oncancellation datasource datasource log e tony oncancellation override public void onprogressupdate datasource datasource log I tony onprogressupdate uithreadexecutorservice getinstance but I always get false value at the method onnewresult even though the stage on download encode or decode |
facebookfresco | out of memory when load many animated image | Question | when we load a lot of animate image gif in a screen the memory be very large setautoplayanimation false also can t reduce the memory |
facebookfresco | add tap to download support | Enhancement | be there a tap to download feature that be similar to the tap to retry use case some user might not want to download all image automatically and want to select which image to download also some user might be on datum and do not wish to download large image automatically say 5 mb and above |
facebookfresco | change bitmaputil max bitmap size dynamically base on the device | Enhancement | when I load a long image enlarge this image can t read the word on the picture very low quality |
facebookfresco | not able to set hotspot on overlayimage drawable set in xml | Enhancement | I have set app overlayimage drawable on simpledraweeview in xml layout for add selector ripple effect on top of simpledraweeview set overlayimage attribute correctly show ripple effect on image but hot spot be always show from center to solve this I need the overlayimage drawable that I have set in xml resource but I didn t find any method to get overlayimage drawable programmatically if I prepare genericdraweehierarchy programmatically then I can prepare overlayimage drawable and can set touch listener hot spot to it code snippet simpledraweeview image simpledraweeview findviewbyid r i d image genericdraweehierarchybuilder builder new genericdraweehierarchybuilder mcontext getresource drawable overlayimage getdrawable r drawable image selector builder setoverlay overlayimage image sethierarchy builder build if build version sdk int build version code lollipop view setontouchlistener new view ontouchlistener targetapi build version code lollipop override public boolean ontouch view v motionevent event if overlayimage null overlayimage sethotspot event getx event gety return false but I do not want to create genericdraweehierarchy programmatically as I have already set different attribute in xml and do not want to change it and set programmatically please suggest any method to get overlayimage drawable that I have set in xml layout resource please let I know if I can add hot spot in any other way |
facebookfresco | use current image as placeholder for the next image part 2 | Bug | I have the same issue as in the 236 but the solution provide do not work I have a flicker when replace the image first I load the thumbnail after that on user action I start load the original image with low res image request set to thumbnail that be already load but I have the flicker anyway be there any way to just keep the exist image and set the new one when it be ready p s please note that I be also resize the original image replace datasource could be tricky |
facebookfresco | about simpledraweeview setimageuri | Enhancement | the uri be a network string url every time I must new a instance uri and have to judge the url be not empty can I just pass the string url parameter |
facebookfresco | testlowdiskspace always check internal storage | Bug | diskstoragecache testlowdiskspace always pass statfshelper storagetype internal can not pass external java helper method that set the cache size limit to be either a high or a low limit if there be not enough free space to satisfy the high limit it be set to the low limit guardedby mlock private void updatefilecachesizelimit test if mcachesizelimit can be set to the high limit boolean isavailablespacelowerthanhighlimit mstatfshelper testlowdiskspace statfshelper storagetype internal mdefaultcachesizelimit mcachestat getsize if isavailablespacelowerthanhighlimit mcachesizelimit mlowdiskspacecachesizelimit else mcachesizelimit mdefaultcachesizelimit |
facebookfresco | post process image aren t properly cache | Bug | our android app have a dialog with a list each list item have the same icon in either green or gray when the dialog be open we re see a fade in animation for all but one icon even though the dialog have be open before and all icon should already be in the cache it seem that the cache for post process image isn t work properly therefore the image be not take from the postprocessor cache instead a background process take they from the cache with the original image rerun the postprocessing and display they with an animation we use the post processor to color the icon in either green or gray the initial icon be download as a png file from our remote server our suspicion be that the code in postprocessedbitmapmemorycacheproducer java at line 134 could be the cause this code be call when an image have be successfully postprocesse instead of remove an exist image with the give key and reinserte it it remove all image of the give post processor do that make sense the relevant code in the dialog be protect simpledraweeview iconview protect coloriconpostprocessor inactivecolorprocessor protect coloriconpostprocessor activecolorprocessor iconview simpledraweeview view findviewbyid r i d icon activecolorprocessor new coloriconpostprocessor this activecolor inactivecolorprocessor new coloriconpostprocessor this inactivecolor imagerequestbuilder builder imagerequestbuilder newbuilderwithsource uri builder setpostprocessor isactive this activecolorprocessor this inactivecolorprocessor imagerequ request builder build pipelinedraweecontroller controller pipelinedraweecontroller fresco newdraweecontrollerbuilder setimagerequ request setoldcontroller iconview getcontroller build iconview setcontroller controller public class coloriconpostprocessor extend basepostprocessor private int color public coloriconpostprocessor int color this color color override public string getname return colorpostprocessor override public void process bitmap destbitmap bitmap sourcebitmap destbitmap sethasalpha true canvas canvas new canvas destbitmap paint p new paint paint anti alia flag porterduffcolorfilter pdf new porterduffcolorfilter color porterduff mode src atop p setcolorfilter pdf canva drawbitmap sourcebitmap 0 0 p override public cachekey getpostprocessorcachekey return new simplecachekey string format iconcolor d color |
facebookfresco | libmemchunk so | Duplicate | I write as follow java flog setminimumlogginglevel flog verbose fresco initialize this setcontentview r layout temp webp manimatedwebpview simpledraweeview findviewbyid r i d animate webp uri uri new uri builder scheme uriutil local asset scheme re path emoticon emot 001 webp build draweecontroller animatedwebpcontroller fresco newdraweecontrollerbuilder setautoplayanimation true seturi uri build manimatedwebpview setcontroller animatedwebpcontroller my app have fatal exception as follow process com exp couple pid 26296 java lang unsatisfiedlinkerror dalvik system pathclassloader dexpathlist zip file datum app com exp couple 2 base apk nativelibrarydirectorie vendor lib system lib couldn t find libmemchunk so at java lang runtime loadlibrary runtime java 366 at java lang system loadlibrary system java 989 at com facebook common soloader soloadershim defaulthandler loadlibrary soloadershim java 32 at com facebook common soloader soloadershim loadlibrary soloadershim java 56 at com facebook imagepipeline memory nativememorychunk nativememorychunk java 36 at com facebook imagepipeline memory nativememorychunkpool alloc nativememorychunkpool java 60 at com facebook imagepipeline memory nativememorychunkpool alloc nativememorychunkpool java 22 at com facebook imagepipeline memory basepool get basepool java 259 at com facebook imagepipeline memory nativepooledbytebufferoutputstream nativepooledbytebufferoutputstream java 53 at com facebook imagepipeline memory nativepooledbytebufferfactory newbytebuffer nativepooledbytebufferfactory java 98 at com facebook imagepipeline memory nativepooledbytebufferfactory newbytebuffer nativepooledbytebufferfactory java 26 at com facebook imagepipeline producers localfetchproducer getbytebufferbackedencodedimage localfetchproducer java 99 at com facebook imagepipeline producer localfetchproducer getencodedimage localfetchproducer java 119 at com facebook imagepipeline producer localassetfetchproducer getencodedimage localassetfetchproducer java 42 at com facebook imagepipeline producer localfetchproducer 1 getresult localfetchproducer java 66 at com facebook imagepipeline producer localfetchproducer 1 getresult localfetchproducer java 62 at com facebook common executor statefulrunnable run statefulrunnable java 45 at java util concurrent threadpoolexecutor runworker threadpoolexecutor java 1112 at java util concurrent threadpoolexecutor worker run threadpoolexecutor java 587 at java lang thread run thread java 818 |
facebookfresco | pauseonscrolllistener | Duplicate | how to pause imagerequset when the listview be scroll |
facebookfresco | incorrect cache hit when uri parameter change | Bug | as fresco developer often use setimage to show image but the uri be chaged sometimes when uri contain session and then the cachekey be new there will be a new request but the image dose not change just like and the same image |
facebookfresco | set setdownsampleenable true prevent picture to auto rotate | Bug | I have trouble with auto rotate picture with orientation in their exif but figure out that downsampling be cause trouble |
facebookfresco | 0 8 1 load gif fial fail to slurp image 0 wait online to fix | Duplicate | 01 02 11 29 08 851 22170 22170 com qiuduanribao joke w system err java lang illegalstateexception fail to slurp image 0 01 02 11 29 08 851 22170 22170 com qiuduanribao joke w system err at com facebook imagepipeline gif gifimage nativecreatefromnativememory native method 01 02 11 29 08 851 22170 22170 com qiuduanribao joke w system err at com facebook imagepipeline gif gifimage create gifimage java 64 01 02 11 29 08 851 22170 22170 com qiuduanribao joke w system err at com facebook imagepipeline animate factory animatedimagefactory decodegif animatedimagefactory java 67 01 02 11 29 08 851 22170 22170 com qiuduanribao joke w system err at com facebook imagepipeline decoder imagedecoder decodegif imagedecod java 113 01 02 11 29 08 851 22170 22170 com qiuduanribao joke w system err at com facebook imagepipeline decoder imagedecoder decodeimage imagedecod java 88 01 02 11 29 08 851 22170 22170 com qiuduanribao joke w system err at com facebook imagepipeline producer decodeproducer progressivedecoder dodecode decodeproducer java 188 01 02 11 29 08 851 22170 22170 com qiuduanribao joke w system err at com facebook imagepipeline producer decodeproducer progressivedecoder access 200 decodeproducer java 96 01 02 11 29 08 851 22170 22170 com qiuduanribao joke w system err at com facebook imagepipeline producer decodeproducer progressivedecoder 1 run decodeproducer java 128 01 02 11 29 08 851 22170 22170 com qiuduanribao joke w system err at com facebook imagepipeline producers jobscheduler dojob jobscheduler java 207 01 02 11 29 08 851 22170 22170 com qiuduanribao joke w system err at com facebook imagepipeline producers jobscheduler access 000 jobscheduler java 27 01 02 11 29 08 851 22170 22170 com qiuduanribao joke w system err at com facebook imagepipeline producers jobscheduler 1 run jobscheduler java 78 01 02 11 29 08 851 22170 22170 com qiuduanribao joke w system err at java util concurrent threadpoolexecutor runworker threadpoolexecutor java 1112 01 02 11 29 08 851 22170 22170 com qiuduanribao joke w system err at java util concurrent threadpoolexecutor worker run threadpoolexecutor java 587 01 02 11 29 08 851 22170 22170 com qiuduanribao joke w system err at com facebook imagepipeline core prioritythreadfactory 1 run prioritythreadfactory java 43 01 02 11 29 08 851 22170 22170 com qiuduanribao joke w system err at java lang thread run thread java 818 01 02 11 29 08 851 22170 22170 com qiuduanribao joke e onfailure fail to slurp image 0 gif url be hope this will be fix in next version thank you very much for this great lib happy new year with my good wish |
facebookfresco | square image in horizontal listview | Bug | I be attempt to create a xml code for a simpledraweeview to display a square image in different recyclerview java I can achieve square image in any type of vertical list my issue be that if I attempt to use this layout for any horizontal list the simpledraweeview be not present the image below show 3 list the first be a horizontal list while the two list below be vertical screenshot I understand that fresco have issue when it come to not set width and or height if I set the width to wrap nothing be show so viewaspectratio only work when it have a width be there a workaround for this and can this be alter to accommodate square image base on available height instead of width |
facebookfresco | why fresco doesn t inlcude webp encoding function | Enhancement | hi fresco be awosome I have use freso to my project for a while but I need webp encode support too as downloadind and show webp image I check fresco code and I find the webp lib didn t compile the encoder source could you guy consider to support encode bitmap to webp inside freso if so I will not have to make a webp encoder jni lib and it will make the application more small thank |
facebookfresco | not support ico format | Enhancement | hi guy I m try to display a ico image file with simpledrawee but it turn out not work below be the exception I get and the url be java lang illegalargumentexception unknown image format at com facebook imagepipeline decoder imagedecoder decodeimage imagedecod java 82 at com facebook imagepipeline producer decodeproducer progressivedecoder dodecode decodeproducer java 188 at com facebook imagepipeline producer decodeproducer progressivedecoder access 200 decodeproducer java 96 at com facebook imagepipeline producer decodeproducer progressivedecoder 1 run decodeproducer java 128 at com facebook imagepipeline producers jobscheduler dojob jobscheduler java 207 at com facebook imagepipeline producers jobscheduler access 000 jobscheduler java 27 at com facebook imagepipeline producers jobscheduler 1 run jobscheduler java 78 at java util concurrent threadpoolexecutor runworker threadpoolexecutor java 1112 at java util concurrent threadpoolexecutor worker run threadpoolexecutor java 587 at com facebook imagepipeline core prioritythreadfactory 1 run prioritythreadfactory java 43 at java lang thread run thread java 841 be it indeed that fresco doesn t support ico image or I do something mistake |
facebookfresco | can not display image on huawei h60 l02 | Bug | the device run android4 4 2 I be not sure what the problem cause but it be do well on other device here be the log I find when open the app and the screenshot 20151229115503 20151229115552 |
facebookfresco | java lang outofmemoryerror | Bug | java lang outofmemoryerror at com facebook imagepipeline memory genericbytearraypool alloc genericbytearraypool java 67 at com facebook imagepipeline memory genericbytearraypool alloc genericbytearraypool java 29 at com facebook imagepipeline memory basepool get basepool java 259 at com facebook imagepipeline memory flexbytearraypool get flexbytearraypool java 51 at com facebook imagepipeline platform kitkatpurgeabledecoder decodejpegbytearrayaspurgeable kitkatpurgeabledecoder java 85 at com facebook imagepipeline platform dalvikpurgeabledecoder decodejpegfromencodedimage dalvikpurgeabledecoder java 89 at com facebook imagepipeline platform kitkatpurgeabledecoder decodejpegfromencodedimage kitkatpurgeabledecoder java 32 at com facebook imagepipeline decoder imagedecoder decodejpeg imagedecod java 151 at com facebook imagepipeline decoder imagedecoder decodeimage imagedecod java 85 at com facebook imagepipeline producer decodeproducer progressivedecoder dodecode decodeproducer java 188 at com facebook imagepipeline producer decodeproducer progressivedecoder access 200 decodeproducer java 96 at com facebook imagepipeline producer decodeproducer progressivedecoder 1 run decodeproducer java 128 at com facebook imagepipeline producers jobscheduler dojob jobscheduler java 207 at com facebook imagepipeline producers jobscheduler access 000 jobscheduler java 27 at com facebook imagepipeline producers jobscheduler 1 run jobscheduler java 78 at java util concurrent threadpoolexecutor runworker threadpoolexecutor java 1076 at java util concurrent threadpoolexecutor worker run threadpoolexecutor java 569 at com facebook imagepipeline core prioritythreadfactory 1 run prioritythreadfactory java 43 at java lang thread run thread java 856 the problem occur when the list be slide fast fresco 0 8 1 |
facebookfresco | can not open right image | Enhancement | I use fresco and okhttp to load image 1 request requestwithuseragent originalrequest newbuilder header user agent mozilla 5 0 iphone cpu iphone os 7 0 like mac os x en we applewebkit 537 51 1 khtml like gecko version 7 0 mobile 11a465 safari 9537 5 addheader referer getdomainname requesturl addheader referer requesturl header host getdomainname requesturl header connection keep alive header accept text html application xhtml xml application xml q 0 9 image webp q 0 8 header accept encode gzip deflate sdch header accept language zh cn zh q 0 8 header upgrade insecure request 1 header cache control max age 0 build while chrome can open this image but my app can not load it other image be ok just this one thank you for any help good wish |
facebookfresco | erase cache from android app manager make prefetchtodiskcache have a strange behavior | Bug | hello erase cache from android app manager make prefetchtodiskcache have a strange behavior some uri be not fetch thus datasource be call and return isfinished goal prefetchtodiskcache for a list of uris 1 on first install and first run of app all uris be well prefetche 2 go to android app manager and erase cache not app datum 3 relaunch prefetchtodiskcache some uris return isfinishe throw basedatasubscriber and onnewresultimpl thus nothing have be download always 16 uri from a list of 52 uri for int I 0 I finallistnotincache 2 length I jsonobject json obj null try json obj finallistnotincache 2 getjsonobject I catch jsonexception e e printstacktrace uri urlimage null try urlimage uri parse json obj getstre image catch jsonexception e e printstacktrace imagepipeline imagepipeline fresco getimagepipeline imagerequ request imagerequestbuilder newbuilderwithsource urlimage setresizeoption new resizeoption 4096 4096 build initiate prefetch datasource prefetchdatasource imagepipeline prefetchtodiskcache request this log d test prefetch 1 string valueof prefetchdatasource url string valueof urlimage final uri finalurlimage urlimage datasubscriber subscriber new basedatasubscriber override protect void onnewresultimpl datasource prefetchdatasource if prefetchdatasource isfinishe log d test progress 1 string valueof prefetchdatasource progress string valueof prefetchdatasource getprogress url string valueof countimage finalurlimage return addonemoreimage ajoute 1 au compteur d image countimage log d test progress 2 string valueof prefetchdata ource url string valueof countimage finalurlimage tvnombreimagesincache settext string valueof nombreimagesincache countimage tvnombreimagesnotincache settext string valueof nombreimagesnotincache countimage prefetchdatasource close if prefetchdatasource isclose log d test be close 2 string valueof prefetchdatasource url string valueof countimage finalurlimage override protect void onfailureimpl datasource datasource throwable t datasource getfailurecause log d test failure url finalurlimage t t handle failure prefetchdatasource subscribe subscriber uithreadimmediateexecutorservice getinstance callerthreadexecutor getinstance utilise ui pour update compteur uithreadimmediateexecutorservice getinstance be there something I miss greating eric |
facebookfresco | ripple pressedstateoverlay work just once | Bug | I make the drawable resource and set into draweehierarchy drawable drawable getresource getdrawable r drawable ripple genericdraweehierarchy hierarchy genericdraweehierarchybuilder newinstance getresource setpressedstateoverlay drawable setactualimagescaletype scalingutil scaletype fit center build draweeview sethierarchy hierarchy and then touch the draweeview it work just once with no ripple effect just show colored rect can I solve this problem |
facebookfresco | search for the doc | Enhancement | the doc be pretty detailed and that s pretty awesome but that make it find what we be look for hard support for search in the doc will be really awesome |
facebookfresco | how can I retain the progress image until decode have finish | Bug | my application should be show the large size image so I add the progress drawable into hierarchy but it have fade out before image show up I find the issue but can t find any hint at least I only want to know whether the decode image start |
facebookfresco | java lang runtimeexception canvas try to use a recycle bitmap basepostprocessor | Bug | 12 21 11 01 14 045 e androidruntime 6819 java lang runtimeexception canvas try to use a recycle bitmap android graphic bitmap 41801038 12 21 11 01 14 045 e androidruntime 6819 at android graphic canvas throwifcannotdraw canvas java 1084 12 21 11 01 14 045 e androidruntime 6819 at android view gles20canvas drawbitmap gles20canvas java 844 12 21 11 01 14 045 e androidruntime 6819 at android graphic drawable bitmapdrawable draw bitmapdrawable java 490 12 21 11 01 14 045 e androidruntime 6819 at android widget imageview ondraw imageview java 1037 12 21 11 01 14 045 e androidruntime 6819 at android view view draw view java 14465 12 21 11 01 14 045 e androidruntime 6819 at android view view getdisplaylist view java 13362 12 21 11 01 14 045 e androidruntime 6819 at android view view getdisplaylist view java 13404 12 21 11 01 14 045 e androidruntime 6819 at android view view draw view java 14182 12 21 11 01 14 045 e androidruntime 6819 at android view viewgroup drawchild viewgroup java 3103 12 21 11 01 14 045 e androidruntime 6819 at android view viewgroup dispatchdraw viewgroup java 2940 12 21 11 01 14 045 e androidruntime 6819 at android widget abslistview dispatchdraw abslistview java 2458 I build a new class and make it extend basepostprocessor I do nothing in it but when it run the sample throw the above exception I just use imagepipeline to download the image don t use the simpledraweeview java com facebook imagepipeline request imagerequestbuilder requestbuilder com facebook imagepipeline request imagerequestbuilder newbuilderwithsource uri if imagerequ gettargetwidth 0 imagerequ gettargetheight 0 requestbuilder setresizeoption new com facebook imagepipeline common resizeoption imagerequ gettargetwidth imagerequ gettargetheight requestbuilder setautorotateenable true requestbuilder setpostprocessor new fpostprocessor getimageconfig public class fpostprocessor extend basepostprocessor private fimageconfig mimageconfig public fpostprocessor fimageconfig imageconfig mimageconfig imageconfig override public closeablereference process bitmap sourcebitmap platformbitmapfactory bitmapfactory return super process sourcebitmap bitmapfactory |
facebookfresco | post process image with roundedcornerradius xml attribute will lead to oom in android 5 0 | Bug | I be post processing image in order to apply a blur effect I would like these image to have a rounded corner radius as well on android 5 0 and up this seem to be an issue on 4 x device this be a non issue here be my xml I have 16 image in a recyclerview the follow code be without post processing and work as expect in android studio s memory monitor when scroll through the image and back the memory usage be constant imagerequ request imagerequestbuilder newbuilderwithsource uri setresizeoption new resizeoption width height build pipelinedraweecontroller controller pipelinedraweecontroller fresco newdraweecontrollerbuilder setoldcontroller simpledraweeview getcontroller setimagerequest request build simpledraweeview setcontroller controller the moment I change the imagerequ to imagerequ request imagerequestbuilder newbuilderwithsource uri setpostprocessor new blurpostprocessor setresizeoption new resizeoption width height build thing start to get wonky the first thing I notice be in the memory management tool of android studio the memory be on a steady incline when scroll through the image now press the garbage collection button do nothing to free up memory if I remove the roundedcornerradius attribute from the xml the memory look fine to I android studio show a constant horizontal line of memory usage the second thing I notice be that the blurred image take a second to come in to view when scroll back through the image in the recyclerview I can see the overlay drawable before the blurred image for a split second I have read the documentation on cache post process image and believe I be abide by the rule to this use the following in my blurpostprocessor extend basepostprocessor private final simplecachekey mcachekey new simplecachekey blur override public cachekey getpostprocessorcachekey return mcachekey I have a imagecachestatstracker and notice onbitmapcachemiss get call shouldn t the image be in the bitmap cache when use the above when these be not post process this be the case I be more concerned about the first issue as increase the memory usage will eventually lead to an oom please advise on what I can do to correct both of these |
facebookfresco | image size can exceed the limit after resize cause bitmap too large to be upload into a texture | Bug | I d like to display an image as large as possible within the limit so I decide to write code as follow java imagerequ req imagerequestbuilder newbuilderwithsource uri parse network image url setresizeoption new resizeoption 2048 2048 build simpledraweeview v simpledraweeview holder itemview v setaspectratio image aspect ratio draweecontroller ctrl fresco newdraweecontrollerbuilder setoldcontroller v getcontroller setimagerequ req setautoplayanimation true build v setcontroller ctrl when I run above code with the image whose dimension be 720px 2478px it be not display on the screen but get follow logcat message w openglrenderer bitmap too large to be upload into a texture 630x2169 max 2048x2048 so I check the imagepipeline to see what be happen in the resize procedure find something weird in generate the numerator the numerator be generate in the method getscalenumerator imagerequ encodedimage from resizeandrotateproducer class which call roundnumerator float to get numerator from the ratio generate from determineresizeratio resizeoption int int while get a numerator value from roundnumerator float method it add extra roundup fraction to maxratio jpegtranscoder scale denominator cause the numerator be more than the expect in some case I track the value from each process and the result be as follow in getscalenumerator determineresizeratio return 0 82647294 roundnumerator return 7 in dotransform numerator be genrate from getscalenumerator with the numerator 7 jpegtranscoder resize the image into 7 8 of its original size result resize one have a size of 630px 2169px while the final image s height have large than the limit bitmaputil max bitmap size it will not be show on the screen when I remove add the roundup fraction in method roundnumerator float it generate a numerator of 6 which resize the image small than the limit 2048px result final image size of 540px 1859px here s a question why additional roundup fraction be require in generate the numerator if add roundup fraction be intend and can not be modify how can I avoid the above error |
facebookfresco | the method onnewresult will be call many time when the progress be 1 0 | Bug | source fresco getimagepipeline fetchencodedimage originalrequest this source subscribe new datasubscriberadapter override public void onnewresult datasource datasource logg d tag onnewresult datasource getprogress datasource isfinishe xrapplication fresco executor the output like this 12 16 13 29 46 550 6380 6955onnewresult 0 0 false 12 16 13 29 46 650 6380 6954onnewresult 0 2808174 false 12 16 13 29 46 751 6380 6955onnewresult 0 4336596 false 12 16 13 29 46 851 6380 6955onnewresult 0 54892427 false 12 16 13 29 46 956 6380 6954onnewresult 0 65890694 false 12 16 13 29 47 058 6380 6954onnewresult 0 7313968 false 12 16 13 29 47 163 6380 6954onnewresult 0 7928102 false 12 16 13 29 47 269 6380 6955onnewresult 0 83959925 false 12 16 13 29 47 370 6380 6955onnewresult 0 87115175 false 12 16 13 29 47 476 6380 6954onnewresult 0 90000546 false 12 16 13 29 47 584 6380 6954onnewresult 0 9248448 false 12 16 13 29 47 700 6380 6954onnewresult 0 94050366 false 12 16 13 29 47 800 6380 6955onnewresult 0 9552829 false 12 16 13 29 47 906 6380 6955onnewresult 0 96459985 false 12 16 13 29 48 009 6380 6954onnewresult 0 9733935 false 12 16 13 29 48 117 6380 6954onnewresult 0 97893703 false 12 16 13 29 48 222 6380 6955onnewresult 0 98416924 false 12 16 13 29 48 333 6380 6955onnewresult 0 9877888 false 12 16 13 29 48 438 6380 6954onnewresult 0 99058074 false 12 16 13 29 48 544 6380 6954onnewresult 0 9925433 false 12 16 13 29 48 655 6380 6955onnewresult 0 9942482 false 12 16 13 29 48 759 6380 6954onnewresult 0 995677 false 12 16 13 29 48 868 6380 6954onnewresult 0 9966654 false 12 16 13 29 48 973 6380 6954onnewresult 0 9974278 false 12 16 13 29 49 080 6380 6954onnewresult 0 9979637 false 12 16 13 29 49 186 6380 6955onnewresult 0 9984293 false 12 16 13 29 49 292 6380 6954onnewresult 0 9988195 false 12 16 13 29 49 399 6380 6954onnewresult 0 9990894 false 12 16 13 29 49 509 6380 6954onnewresult 0 99927914 false 12 16 13 29 49 612 6380 6955onnewresult 0 9994582 false 12 16 13 29 49 721 6380 6955onnewresult 0 9995711 false 12 16 13 29 49 828 6380 6955onnewresult 0 99966913 false 12 16 13 29 49 935 6380 6954onnewresult 0 9997448 false 12 16 13 29 50 043 6380 6954onnewresult 0 9998031 false 12 16 13 29 50 146 6380 6955onnewresult 0 99985206 false 12 16 13 29 50 256 6380 6955onnewresult 0 9998829 false 12 16 13 29 51 798 6380 6954onnewresult 0 99989164 false 12 16 13 29 51 912 6380 6955onnewresult 0 9999355 false 12 16 13 29 52 039 6380 6955onnewresult 0 99996716 false 12 16 13 29 52 170 6380 6954onnewresult 0 99997467 false 12 16 13 29 52 275 6380 6955onnewresult 0 99998045 false 12 16 13 29 52 390 6380 6955onnewresult 0 9999855 false 12 16 13 29 52 501 6380 6954onnewresult 0 9999884 false 12 16 13 29 52 607 6380 6955onnewresult 0 9999931 false 12 16 13 29 52 790 6380 6954onnewresult 0 9999993 false 12 16 13 29 52 893 6380 6954onnewresult 0 9999996 false 12 16 13 29 53 002 6380 6955onnewresult 0 9999997 false 12 16 13 29 53 111 6380 6955onnewresult 0 99999976 false 12 16 13 29 53 214 6380 6954onnewresult 0 9999998 false 12 16 13 29 53 323 6380 6954onnewresult 0 9999999 false 12 16 13 29 53 430 6380 6954onnewresult 0 9999999 false 12 16 13 29 53 535 6380 6954onnewresult 0 99999994 false 12 16 13 29 53 643 6380 6954onnewresult 0 99999994 false 12 16 13 29 53 750 6380 6954onnewresult 0 99999994 false 12 16 13 29 53 858 6380 6954onnewresult 0 99999994 false 12 16 13 29 53 965 6380 6954onnewresult 1 0 false 12 16 13 29 54 071 6380 6955onnewresult 1 0 false 12 16 13 29 54 178 6380 6954onnewresult 1 0 false 12 16 13 29 54 281 6380 6954onnewresult 1 0 false 12 16 13 29 54 389 6380 6954onnewresult 1 0 false 12 16 13 29 54 500 6380 6954onnewresult 1 0 false 12 16 13 29 54 605 6380 6955onnewresult 1 0 false 12 16 13 29 54 710 6380 6955onnewresult 1 0 false 12 16 13 29 54 820 6380 6955onnewresult 1 0 false 12 16 13 29 54 926 6380 6955onnewresult 1 0 false 12 16 13 29 55 034 6380 6955onnewresult 1 0 false 12 16 13 29 55 137 6380 6954onnewresult 1 0 false 12 16 13 29 55 243 6380 6954onnewresult 1 0 false 12 16 13 29 55 354 6380 6954onnewresult 1 0 false 12 16 13 29 55 459 6380 6955onnewresult 1 0 false 12 16 13 29 55 559 6380 6955onnewresult 1 0 false 12 16 13 29 55 665 6380 6954onnewresult 1 0 false 12 16 13 29 55 775 6380 6954onnewresult 1 0 false 12 16 13 29 55 880 6380 6955onnewresult 1 0 false 12 16 13 29 55 989 6380 6954onnewresult 1 0 false 12 16 13 29 58 735 6380 6955onnewresult 1 0 false 12 16 13 29 58 835 6380 6955onnewresult 1 0 false 12 16 13 29 58 935 6380 6955onnewresult 1 0 false 12 16 13 29 59 036 6380 6955onnewresult 1 0 false 12 16 13 29 59 138 6380 6954onnewresult 1 0 false 12 16 13 29 59 236 6380 6955onnewresult 1 0 false 12 16 13 29 59 337 6380 6954onnewresult 1 0 false 12 16 13 29 59 440 6380 6955onnewresult 1 0 false 12 16 13 30 00 730 6380 6954onnewresult 1 0 false 12 16 13 30 00 841 6380 6955onnewresult 1 0 false 12 16 13 30 00 944 6380 6955onnewresult 1 0 false 12 16 13 30 01 045 6380 6955onnewresult 1 0 false 12 16 13 30 01 149 6380 6954onnewresult 1 0 false 12 16 13 30 01 249 6380 6955onnewresult 1 0 false 12 16 13 30 01 352 6380 6955onnewresult 1 0 false 12 16 13 30 01 460 6380 6955onnewresult 1 0 false 12 16 13 30 01 568 6380 6955onnewresult 1 0 false 12 16 13 30 01 669 6380 6954onnewresult 1 0 false 12 16 13 30 01 771 6380 6955onnewresult 1 0 false 12 16 13 30 01 873 6380 6954onnewresult 1 0 false 12 16 13 30 01 973 6380 6955onnewresult 1 0 false 12 16 13 30 02 081 6380 6954onnewresult 1 0 false 12 16 13 30 02 188 6380 6954onnewresult 1 0 false 12 16 13 30 02 288 6380 6955onnewresult 1 0 false 12 16 13 30 02 392 6380 6955onnewresult 1 0 false 12 16 13 30 02 501 6380 6955onnewresult 1 0 false 12 16 13 30 02 602 6380 6955onnewresult 1 0 false 12 16 13 30 02 702 6380 6955onnewresult 1 0 false 12 16 13 30 02 806 6380 6954onnewresult 1 0 false 12 16 13 30 02 916 6380 6955onnewresult 1 0 false 12 16 13 30 03 027 6380 6955onnewresult 1 0 false 12 16 13 30 03 131 6380 6955onnewresult 1 0 false 12 16 13 30 03 235 6380 6955onnewresult 1 0 false 12 16 13 30 03 342 6380 6955onnewresult 1 0 false 12 16 13 30 03 443 6380 6954onnewresult 1 0 false 12 16 13 30 03 548 6380 6954onnewresult 1 0 false 12 16 13 30 03 661 6380 6954onnewresult 1 0 false 12 16 13 30 03 760 6380 6954onnewresult 1 0 false 12 16 13 30 03 862 6380 6955onnewresult 1 0 false 12 16 13 30 03 964 6380 6954onnewresult 1 0 false 12 16 13 30 04 070 6380 6955onnewresult 1 0 false 12 16 13 30 04 178 6380 6955onnewresult 1 0 false 12 16 13 30 04 285 6380 6954onnewresult 1 0 false 12 16 13 30 04 391 6380 6955onnewresult 1 0 false 12 16 13 30 04 495 6380 6954onnewresult 1 0 false 12 16 13 30 04 602 6380 6955onnewresult 1 0 false 12 16 13 30 04 710 6380 6955onnewresult 1 0 false 12 16 13 30 04 820 6380 6955onnewresult 1 0 false 12 16 13 30 04 927 6380 6954onnewresult 1 0 false 12 16 13 30 05 033 6380 6955onnewresult 1 0 false 12 16 13 30 05 138 6380 6954onnewresult 1 0 false 12 16 13 30 06 044 6380 6955onnewresult 1 0 false 12 16 13 30 06 146 6380 6954onnewresult 1 0 false 12 16 13 30 06 245 6380 6954onnewresult 1 0 false 12 16 13 30 06 349 6380 6955onnewresult 1 0 false 12 16 13 30 06 459 6380 6955onnewresult 1 0 false 12 16 13 30 06 560 6380 6955onnewresult 1 0 false 12 16 13 30 06 678 6380 6954onnewresult 1 0 false 12 16 13 30 06 777 6380 6955onnewresult 1 0 false 12 16 13 30 06 881 6380 6955onnewresult 1 0 false 12 16 13 30 06 989 6380 6954onnewresult 1 0 false 12 16 13 30 07 094 6380 6954onnewresult 1 0 false 12 16 13 30 07 200 6380 6955onnewresult 1 0 false 12 16 13 30 07 306 6380 6954onnewresult 1 0 false 12 16 13 30 07 416 6380 6954onnewresult 1 0 false 12 16 13 30 07 523 6380 6954onnewresult 1 0 false 12 16 13 30 07 631 6380 6954onnewresult 1 0 false 12 16 13 30 07 734 6380 6954onnewresult 1 0 false 12 16 13 30 07 835 6380 6955onnewresult 1 0 false 12 16 13 30 07 937 6380 6954onnewresult 1 0 false 12 16 13 30 08 045 6380 6955onnewresult 1 0 false 12 16 13 30 08 148 6380 6954onnewresult 1 0 false 12 16 13 30 08 251 6380 6954onnewresult 1 0 false 12 16 13 30 08 357 6380 6954onnewresult 1 0 false 12 16 13 30 09 237 6380 6955onnewresult 1 0 false 12 16 13 30 09 340 6380 6955onnewresult 1 0 false 12 16 13 30 09 439 6380 6954onnewresult 1 0 false 12 16 13 30 09 541 6380 6954onnewresult 1 0 false 12 16 13 30 09 646 6380 6954onnewresult 1 0 false 12 16 13 30 09 746 6380 6954onnewresult 1 0 false 12 16 13 30 09 847 6380 6954onnewresult 1 0 false 12 16 13 30 09 951 6380 6955onnewresult 1 0 false 12 16 13 30 10 056 6380 6954onnewresult 1 0 false 12 16 13 30 10 168 6380 6954onnewresult 1 0 false 12 16 13 30 10 275 6380 6954onnewresult 1 0 false 12 16 13 30 10 379 6380 6954onnewresult 1 0 false 12 16 13 30 10 483 6380 6954onnewresult 1 0 false 12 16 13 30 10 594 6380 6955onnewresult 1 0 false 12 16 13 30 10 700 6380 6954onnewresult 1 0 false 12 16 13 30 10 802 6380 6954onnewresult 1 0 false 12 16 13 30 10 910 6380 6954onnewresult 1 0 false 12 16 13 30 12 149 6380 6954onnewresult 1 0 false 12 16 13 30 12 252 6380 6955onnewresult 1 0 false 12 16 13 30 12 358 6380 6955onnewresult 1 0 false 12 16 13 30 12 459 6380 6954onnewresult 1 0 false 12 16 13 30 12 561 6380 6955onnewresult 1 0 false 12 16 13 30 13 108 6380 6955onnewresult 1 0 false 12 16 13 30 13 565 6380 6955onnewresult 1 0 false 12 16 13 30 13 666 6380 6954onnewresult 1 0 false 12 16 13 30 13 775 6380 6955onnewresult 1 0 false 12 16 13 30 13 880 6380 6955onnewresult 1 0 false 12 16 13 30 13 985 6380 6954onnewresult 1 0 false 12 16 13 30 14 090 6380 6955onnewresult 1 0 false 12 16 13 30 14 195 6380 6955onnewresult 1 0 false 12 16 13 30 14 300 6380 6955onnewresult 1 0 false 12 16 13 30 14 409 6380 6954onnewresult 1 0 false 12 16 13 30 14 516 6380 6954onnewresult 1 0 false 12 16 13 30 14 616 6380 6954onnewresult 1 0 false 12 16 13 30 14 719 6380 6954onnewresult 1 0 false 12 16 13 30 14 827 6380 6955onnewresult 1 0 false 12 16 13 30 14 932 6380 6955onnewresult 1 0 false 12 16 13 30 15 031 6380 6955onnewresult 1 0 false 12 16 13 30 15 140 6380 6955onnewresult 1 0 false 12 16 13 30 15 246 6380 6955onnewresult 1 0 false 12 16 13 30 15 350 6380 6955onnewresult 1 0 false 12 16 13 30 15 455 6380 6955onnewresult 1 0 false 12 16 13 30 15 560 6380 6954onnewresult 1 0 false 12 16 13 30 15 672 6380 6955onnewresult 1 0 false 12 16 13 30 15 779 6380 6954onnewresult 1 0 false 12 16 13 30 15 887 6380 6954onnewresult 1 0 false 12 16 13 30 15 987 6380 6955onnewresult 1 0 false 12 16 13 30 16 088 6380 6955onnewresult 1 0 false 12 16 13 30 16 194 6380 6954onnewresult 1 0 false 12 16 13 30 16 305 6380 6955onnewresult 1 0 false 12 16 13 30 16 408 6380 6954onnewresult 1 0 false 12 16 13 30 16 512 6380 6954onnewresult 1 0 false 12 16 13 30 16 617 6380 6954onnewresult 1 0 false 12 16 13 30 16 720 6380 6955onnewresult 1 0 false 12 16 13 30 16 833 6380 6955onnewresult 1 0 false 12 16 13 30 16 945 6380 6955onnewresult 1 0 false 12 16 13 30 17 046 6380 6955onnewresult 1 0 false 12 16 13 30 17 148 6380 6954onnewresult 1 0 false 12 16 13 30 17 259 6380 6954onnewresult 1 0 false 12 16 13 30 17 361 6380 6955onnewresult 1 0 false 12 16 13 30 17 465 6380 6955onnewresult 1 0 false 12 16 13 30 17 568 6380 6955onnewresult 1 0 false 12 16 13 30 17 669 6380 6954onnewresult 1 0 false 12 16 13 30 17 775 6380 6954onnewresult 1 0 false 12 16 13 30 17 880 6380 6955onnewresult 1 0 false 12 16 13 30 17 980 6380 6954onnewresult 1 0 false 12 16 13 30 18 081 6380 6954onnewresult 1 0 false 12 16 13 30 18 189 6380 6955onnewresult 1 0 false 12 16 13 30 18 299 6380 6954onnewresult 1 0 false 12 16 13 30 18 399 6380 6955onnewresult 1 0 false 12 16 13 30 18 500 6380 6955onnewresult 1 0 false 12 16 13 30 18 601 6380 6954onnewresult 1 0 false 12 16 13 30 18 708 6380 6954onnewresult 1 0 false 12 16 13 30 18 808 6380 6954onnewresult 1 0 false 12 16 13 30 18 916 6380 6954onnewresult 1 0 false 12 16 13 30 19 024 6380 6955onnewresult 1 0 false 12 16 13 30 19 127 6380 6955onnewresult 1 0 false 12 16 13 30 19 228 6380 6955onnewresult 1 0 false 12 16 13 30 19 333 6380 6955onnewresult 1 0 false 12 16 13 30 19 438 6380 6955onnewresult 1 0 false 12 16 13 30 19 545 6380 6955onnewresult 1 0 false 12 16 13 30 19 648 6380 6955onnewresult 1 0 false 12 16 13 30 19 755 6380 6954onnewresult 1 0 false 12 16 13 30 19 859 6380 6954onnewresult 1 0 false 12 16 13 30 19 964 6380 6955onnewresult 1 0 false 12 16 13 30 20 071 6380 6954onnewresult 1 0 false 12 16 13 30 20 184 6380 6955onnewresult 1 0 false 12 16 13 30 20 284 6380 6955onnewresult 1 0 false 12 16 13 30 20 394 6380 6954onnewresult 1 0 false 12 16 13 30 20 500 6380 6955onnewresult 1 0 false 12 16 13 30 20 606 6380 6955onnewresult 1 0 false 12 16 13 30 20 723 6380 6955onnewresult 1 0 false 12 16 13 30 20 827 6380 6955onnewresult 1 0 false 12 16 13 30 20 928 6380 6954onnewresult 1 0 false 12 16 13 30 21 033 6380 6955onnewresult 1 0 false 12 16 13 30 21 069 6380 6955onnewresult 1 0 true this situation will appear when download the large picture such as 5 m so I must wait for a time when the progress be 100 be this an issue |
facebookfresco | error when rotate the view with animate image | Bug | jp479 tj0j q vu3 s some android telephone will have this issue 1 the view be set as crop and load animate image like gif 2 when rotate the view it will happen to see the image out of view rect |
facebookfresco | java lang throwable explicit termination method close not call | Bug | I get the exception e strictmode a resource be acquire at attached stack trace but never release see java io closeable for information on avoid resource leak java lang throwable explicit termination method close not call at dalvik system closeguard open closeguard java 180 at android content contentresolver cursorwrapperinner contentresolver java 2507 at android content contentresolver query contentresolver java 515 at android content contentresolver query contentresolver java 434 at com facebook imagepipeline producer localexifthumbnailproducer getrealpathfromuri localexifthumbnailproducer java 149 at com facebook imagepipeline producers localexifthumbnailproducer getexifinterface localexifthumbnailproducer java 112 at com facebook imagepipeline producer localexifthumbnailproducer 1 getresult localexifthumbnailproducer java 81 at com facebook imagepipeline producer localexifthumbnailproducer 1 getresult localexifthumbnailproducer java 75 at com facebook common executor statefulrunnable run statefulrunnable java 45 at java util concurrent threadpoolexecutor runworker threadpoolexecutor java 1113 at java util concurrent threadpoolexecutor worker run threadpoolexecutor java 588 at java lang thread run thread java 818 |
facebookfresco | glitch on some image on nexus 4 | Bug | zshlo2hpx some image have those distinctive stripe on they I can provide original photo if need |
facebookfresco | decode bpg image | Enhancement | hello I be a developer in search of an open source project try to add some contribution in order to grow her own code skill I be interested in mainly java and android tool after search the internet I find your library which be quite nice I study during my master degree about image encoding and format I realize that fresco doesn t add support for bpg but it do add support for webp I consider that it would be quite a nice feature to be add to fresco even though bpg later edit typo be a fresh format I have see the comparison between other graphic encoding and it seem that be do make a difference fresco would be up to date with the late cutting edge technology if you think it be okay to include such support to fresco I would gladly like to implement it good regard ioana |
facebookfresco | use xml define style in a hierarchy | Enhancement | I define a style like this xml can I create a genericdraweehierarchy instance with the value inflate from this xml |
facebookfresco | attempt to decode fail or corrupt image | Bug | fresco can not get the correct format of some image that I can open in my laptop here be the error log 12 01 16 35 11 535 29714 29887 io egg now alpha v unknown buffereddiskcache successful read from disk cache for 12 01 16 35 11 535 29714 29887 io egg now alpha v unknown requestlogginglistener time 95579973 onproducerfinishwithsuccess requestid 52 producer diskcacheproducer elapsedtime 5 ms extramap cache value find true 12 01 16 35 11 536 29714 29887 io egg now alpha d skia skimagedecoder factory return null 12 01 16 35 11 536 29714 29889 io egg now alpha v unknown requestlogginglistener time 95579974 onproducerstart requestid 52 producer decodeproducer 12 01 16 35 11 536 29714 29889 io egg now alpha w unknown requestlogginglistener time 95579974 onproducerfinishwithfailure requestid 52 stage decodeproducer elapsedtime 0 ms extramap hasgoodquality true queuetime 0 isfinal true throwable java lang illegalargumentexception unknown image format 12 01 16 35 11 536 29714 29889 io egg now alpha w unknown requestlogginglistener time 95579974 onrequestfailure requestid 52 elapsedtime 11 ms throwable java lang illegalargumentexception unknown image format 12 01 16 35 11 777 29714 29714 io egg now alpha v unknown abstractdraweecontroller controller 24cccc28 38 final fail onfailure failure java lang illegalargumentexception unknown image format |
facebookfresco | 0 8 1 be not on jcenter | Bug | could not find any version that match com facebook fresco fresco 0 8 1 version that do not match 0 8 0 0 7 0 0 6 1 0 6 0 0 5 3 7 more search in the follow location |
facebookfresco | animateddrawable ignore setdither and setfilterbitmap | Bug | animateddrawable ignore setdither and setfilterbitmap it do not override the method and do not set it to it s mpaint animateddrawable should override override public void setdither final boolean dither mpaint setdither dither doinvalidateself override public void setfilterbitmap final boolean filterbitmap mpaint setfilterbitmap filterbitmap doinvalidateself it be essential for my project image to disable it currently I use very very ugly reflection to find aniamteddrawable in draweehierarchy to do this |
facebookfresco | filetree symbolic link cause infinite recursion | Bug | image this may be cause by the file be symbolic link the isdirectory method return true then the tree traversal be endless but I m not sure and I don t know why there be a symbolic link file |
facebookfresco | can t response touch event when image be load | Enhancement | hi simpledraweeview can t response onclick nor parent s swiperefreshlayout refresh touch event when image be load but it can be ok when image be display or download faild java override public void onviewcreated view view nullable bundle savedinstancestate string imageurl getargument getstre imageurl view onclicklistener listener new view onclicklistener override public void onclick view view router go getargument getstre url simpledraweeview aquery I d r i d iv banner click listener getview setimageuri uri parse imageurl layout xml |
facebookfresco | force image to remain in cache | Enhancement | hello in my app it have function bookmark with bookmark I need use offline for long time when I offline I want image alway show image cache on local it s mean I can control image set no clear cache with this image thank |
facebookfresco | cause by java lang outofmemoryerror | Duplicate | many outofmemoryerror occur what s wrong with it cause by java lang outofmemoryerror at android graphic bitmapfactory nativedecodeasset native method at android graphic bitmapfactory decodestream bitmapfactory java 597 at android graphic bitmapfactory decoderesourcestream bitmapfactory java 432 at android graphic drawable drawable createfromresourcestream drawable java 840 at android content re resource createfromresourcestream resource java 2477 at android content re resource loaddrawable resource java 2136 at android content re resource getdrawable resource java 710 at com facebook drawee view genericdraweeview inflatehierarchy genericdraweeview java 260 at com facebook drawee view genericdraweeview genericdraweeview java 92 at com facebook drawee view simpledraweeview simpledraweeview java 62 |
facebookfresco | draweeview draw recycled bitmap | Bug | java lang runtimeexception canvas try to use a recycle bitmap android graphic bitmap 16502a96 at android graphic canvas throwifcannotdraw canvas java 1282 at android view gles20canvas drawbitmap gles20canvas java 599 at android graphic drawable bitmapdrawable draw bitmapdrawable java 538 at com facebook drawee drawable forwardingdrawable draw forwardingdrawable java 140 at com facebook drawee drawable scaletypedrawable draw scaletypedrawable java 104 at com facebook drawee drawable fadedrawable drawdrawablewithalpha fadedrawable java 306 at com facebook drawee drawable fadedrawable draw fadedrawable java 293 at com facebook drawee drawable forwardingdrawable draw forwardingdrawable java 140 at com facebook drawee generic genericdraweehierarchy rootdrawable draw genericdraweehierarchy java 133 at android widget imageview ondraw imageview java 1158 at android view view draw view java 15231 at android view view updatedisplaylistifdirty view java 14167 at android view view getdisplaylist view java 14189 at android view viewgroup recreatechilddisplaylist viewgroup java 3389 at android view viewgroup dispatchgetdisplaylist viewgroup java 3368 at android view view updatedisplaylistifdirty view java 14127 at android view view getdisplaylist view java 14189 at android view viewgroup recreatechilddisplaylist viewgroup java 3389 at android view viewgroup dispatchgetdisplaylist viewgroup java 3368 at android view view updatedisplaylistifdirty view java 14127 at android view view getdisplaylist view java 14189 at android view viewgroup recreatechilddisplaylist viewgroup java 3389 at android view viewgroup dispatchgetdisplaylist viewgroup java 3368 at android view view updatedisplaylistifdirty view java 14127 at android view view getdisplaylist view java 14189 at android view viewgroup recreatechilddisplaylist viewgroup java 3389 at android view viewgroup dispatchgetdisplaylist viewgroup java 3368 at android view view updatedisplaylistifdirty view java 14127 at android view view getdisplaylist view java 14189 at android view viewgroup recreatechilddisplaylist viewgroup java 3389 at android view viewgroup dispatchgetdisplaylist viewgroup java 3368 at android view view updatedisplaylistifdirty view java 14127 at android view view getdisplaylist view java 14189 at android view viewgroup recreatechilddisplaylist viewgroup java 3389 at android view viewgroup dispatchgetdisplaylist viewgroup java 3368 at android view view updatedisplaylistifdirty view java 14127 at android view view getdisplaylist view java 14189 at android view viewgroup recreatechilddisplaylist viewgroup java 3389 at android view viewgroup dispatchgetdisplaylist viewgroup java 3368 at android view view updatedisplaylistifdirty view java 14127 at android view view getdisplaylist view java 14189 at android view viewgroup recreatechilddisplaylist viewgroup java 3389 at android view viewgroup dispatchgetdisplaylist viewgroup java 3368 at android view view updatedisplaylistifdirty view java 14127 at android view view getdisplaylist view java 14189 at android view viewgroup recreatechilddisplaylist viewgroup java 3389 at android view viewgroup dispatchgetdisplaylist viewgroup java 3368 at android view view updatedisplaylistifdirty view java 14127 at android view view getdisplaylist view java 14189 at android view viewgroup recreatechilddisplaylist viewgroup java 3389 at android view viewgroup dispatchgetdisplaylist viewgroup java 3368 at android view view updatedisplaylistifdirty view java 14127 at android view view getdisplaylist view java 14189 at android view viewgroup recreatechilddisplaylist viewgroup java 3389 at android view viewgroup dispatchgetdisplaylist viewgroup java 3368 at android view view updatedisplaylistifdirty view java 14127 at android view view getdisplaylist view java 14189 at android view viewgroup recreatechilddisplaylist viewgroup java |
facebookfresco | incorrect image draw local image with orientation and rounded corner | Bug | in case of load a local image from sd card with 90 or 270 deegree orientation with rounded corner fresco draw such image with artifact edge be repeat bound of roundedbitmapdrawable be incorrect look like roundedbitmapdrawable done t respect image orientation fresco version 0 8 0 |
facebookfresco | image not load with rgb 565 | Bug | when I load image list about 20 100 fast scroll when I scroll about 20 70 the image not load and not show include new page load have cache image the memory no change fresco 0 8 1 I remove setbitmapsconfig bitmap config rgb 565 line every be ok |
facebookfresco | downsample webp doesn t work | Bug | I m use fresco 0 8 0 and find it can t downsample webp as in downsampleutil determinesamplesize if encodedimage ismetadataavailable encodedimage return default sample size and in encodedimage parsemetadata dimension decode be not yet support for webp since bitmaputil decodedimension have a bug where it will return 100x100 for some webps even though those be not its actual dimension if imageformat iswebpformat imageformat I really need this feature may I ask when will it be fix |
facebookfresco | okhttp 404 response write to cache anyway | Duplicate | 47 pic |
facebookfresco | android view inflateexception binary xml file line 66 error inflating class | Duplicate | process com wdc album production pid 15086 11 04 10 31 36 282 15086 15086 e androidruntime android view inflateexception binary xml file line 66 error inflate class 11 04 10 31 36 282 15086 15086 e androidruntime at android view layoutinflater createview layoutinflater java 640 11 04 10 31 36 282 15086 15086 e androidruntime at android view layoutinflater createviewfromtag layoutinflater java 750 11 04 10 31 36 282 15086 15086 e androidruntime at android view layoutinflater rinflate layoutinflater java 813 11 04 10 31 36 282 15086 15086 e androidruntime at android view layoutinflater rinflate layoutinflater java 821 11 04 10 31 36 282 15086 15086 e androidruntime at android view layoutinflater rinflate layoutinflater java 821 11 04 10 31 36 282 15086 15086 e androidruntime at android view layoutinflater inflate layoutinflater java 511 11 04 10 31 36 282 15086 15086 e androidruntime at android view layoutinflater inflate layoutinflater java 415 11 04 10 31 36 282 15086 15086 e androidruntime at com wdc collect screen collection collectionsadapter oncreateviewholder collectionsadapter java 192 11 04 10 31 36 282 15086 15086 e androidruntime at com wdc collect screen collection collectionsadapter oncreateviewholder collectionsadapter java 39 11 04 10 31 36 282 15086 15086 e androidruntime at android support v7 widget recyclerview adapter createviewholder recyclerview java 4783 11 04 10 31 36 282 15086 15086 e androidruntime at android support v7 widget recyclerview recycler getviewforposition recyclerview java 4089 11 04 10 31 36 282 15086 15086 e androidruntime at android support v7 widget recyclerview recycler getviewforposition recyclerview java 3999 11 04 10 31 36 282 15086 15086 e androidruntime at android support v7 widget linearlayoutmanager layoutstate next linearlayoutmanager java 1892 11 04 10 31 36 282 15086 15086 e androidruntime at android support v7 widget linearlayoutmanager layoutchunk linearlayoutmanager java 1338 11 04 10 31 36 282 15086 15086 e androidruntime at android support v7 widget linearlayoutmanager fill linearlayoutmanager java 1301 11 04 10 31 36 282 15086 15086 e androidruntime at android support v7 widget linearlayoutmanag onlayoutchildren linearlayoutmanager java 534 11 04 10 31 36 282 15086 15086 e androidruntime at android support v7 widget recyclerview dispatchlayout recyclerview java 2411 11 04 10 31 36 282 15086 15086 e androidruntime at android support v7 widget recyclerview onlayout recyclerview java 2709 11 04 10 31 36 282 15086 15086 e androidruntime at android view view layout view java 16550 11 04 10 31 36 282 15086 15086 e androidruntime at android view viewgroup layout viewgroup java 5303 11 04 10 31 36 282 15086 15086 e androidruntime at android widget relativelayout onlayout relativelayout java 1077 11 04 10 31 36 282 15086 15086 e androidruntime at android view view layout view java 16550 11 04 10 31 36 282 15086 15086 e androidruntime at android view viewgroup layout viewgroup java 5303 11 04 10 31 36 282 15086 15086 e androidruntime at android widget framelayout layoutchildren framelayout java 573 11 04 10 31 36 282 15086 15086 e androidruntime at android widget framelayout onlayout framelayout java 508 11 04 10 31 36 282 15086 15086 e androidruntime at android view view layout view java 16550 11 04 10 31 36 282 15086 15086 e androidruntime at android view viewgroup layout viewgroup java 5303 11 04 10 31 36 282 15086 15086 e androidruntime at android widget relativelayout onlayout relativelayout java 1077 11 04 10 31 36 282 15086 15086 e androidruntime at android view view layout view java 16550 11 04 10 31 36 282 15086 15086 e androidruntime at android view viewgroup layout viewgroup java 5303 11 04 10 31 36 282 15086 15086 e androidruntime at android widget framelayout layoutchildren framelayout java 573 11 04 10 31 36 282 15086 15086 e androidruntime at android widget framelayout onlayout framelayout java 508 11 04 10 31 36 282 15086 15086 e androidruntime at android view view layout view java 16550 11 04 10 31 36 282 15086 15086 e androidruntime at android view viewgroup layout viewgroup java 5303 11 04 10 31 36 282 15086 15086 e androidruntime at com android internal widget actionbaroverlaylayout onlayout actionbaroverlaylayout java 494 11 04 10 31 36 282 15086 15086 e androidruntime at android view view layout view java 16550 11 04 10 31 36 282 15086 15086 e androidruntime at android view viewgroup layout viewgroup java 5303 11 04 10 31 36 282 15086 15086 e androidruntime at android widget framelayout layoutchildren framelayout java 573 11 04 10 31 36 282 15086 15086 e androidruntime at android widget framelayout onlayout framelayout java 508 11 04 10 31 36 282 15086 15086 e androidruntime at android view view layout view java 16550 11 04 10 31 36 282 15086 15086 e androidruntime at android view viewgroup layout viewgroup java 5303 11 04 10 31 36 282 15086 15086 e androidruntime at android view viewrootimpl performlayout viewrootimpl java 2312 11 04 10 31 36 282 15086 15086 e androidruntime at android view viewrootimpl performtraversal viewrootimpl java 2025 11 04 10 31 36 282 15086 15086 e androidruntime at android view viewrootimpl dotraversal viewrootimpl java 1180 11 04 10 31 36 282 15086 15086 e androidruntime at android view viewrootimpl traversalrunnable run viewrootimpl java 6563 11 04 10 31 36 282 15086 15086 e androidruntime at android view choreographer callbackrecord run choreographer java 777 11 04 10 31 36 282 15086 15086 e androidruntime at android view choreographer docallback choreographer java 590 11 04 10 31 36 282 15086 15086 e androidruntime at android view choreographer doframe choreographer java 560 11 04 10 31 36 282 15086 15086 e androidruntime at android view choreographer framedisplayeventreceiver run choreographer java 763 11 04 10 31 36 282 15086 15086 e androidruntime at android os handler handlecallback handler java 739 11 04 10 31 36 282 15086 15086 e androidruntime at android os handler dispatchmessage handler java 95 11 04 10 31 36 282 15086 15086 e androidruntime at android os looper loop looper java 145 11 04 10 31 36 282 15086 15086 e androidruntime at android app activitythread main activitythread java 5835 11 04 10 31 36 282 15086 15086 e androidruntime at java lang reflect method invoke native method 11 04 10 31 36 282 15086 15086 e androidruntime at java lang reflect method invoke method java 372 11 04 10 31 36 282 15086 15086 e androidruntime at com android internal os zygoteinit methodandargscaller run zygoteinit java 1399 11 04 10 31 36 282 15086 15086 e androidruntime at com android internal os zygoteinit main zygoteinit java 1194 I m face the same issue be there a work around for this my xml and I ve fresco initialization fresco initialize this mpipelineconfig in oncreate of the application class I remove fresco placeholderimage drawable empty collection fresco placeholderimagescaletype centercrop from simpledraweeview its not crash |
facebookfresco | issue with build tool 1 5 0 beta 1 | Duplicate | I m use fresco 0 8 1 but this happen with 0 7 0 as well I just try upgrade my buildtool to 1 5 0 beta 1 and upon app start I now get this fatal exception java lang unsatisfiedlinkerror dalvik system pathclassloader dexpathlist zip file datum app com carmax carmaxowner qa 2 base apk nativelibrarydirectorie vendor lib system lib couldn t find libmemchunk so at java lang runtime loadlibrary runtime java 366 at java lang system loadlibrary system java 989 at com facebook common soloader soloadershim defaulthandler loadlibrary soloadershim java 32 at com facebook common soloader soloadershim loadlibrary soloadershim java 56 at com facebook imagepipeline memory nativememorychunk nativememorychunk java 36 at com facebook imagepipeline memory nativememorychunkpool alloc nativememorychunkpool java 60 at com facebook imagepipeline memory nativememorychunkpool alloc nativememorychunkpool java 22 at com facebook imagepipeline memory basepool get basepool java 259 at com facebook imagepipeline memory nativepooledbytebufferoutputstream nativepooledbytebufferoutputstream java 53 at com facebook imagepipeline memory nativepooledbytebufferfactory newbytebuffer nativepooledbytebufferfactory java 98 at com facebook imagepipeline memory nativepooledbytebufferfactory newbytebuffer nativepooledbytebufferfactory java 26 at com facebook imagepipeline producers localfetchproducer getbytebufferbackedencodedimage localfetchproducer java 99 at com facebook imagepipeline producer localfetchproducer getencodedimage localfetchproducer java 119 at com facebook imagepipeline producers localresourcefetchproducer getencodedimage localresourcefetchproducer java 42 at com facebook imagepipeline producer localfetchproducer 1 getresult localfetchproducer java 66 at com facebook imagepipeline producer localfetchproducer 1 getresult localfetchproducer java 62 at com facebook common executor statefulrunnable run statefulrunnable java 45 at java util concurrent threadpoolexecutor runworker threadpoolexecutor java 1112 at java util concurrent threadpoolexecutor worker run threadpoolexecutor java 587 at java lang thread run thread java 818 when I go back to buildtool 1 4 0 beta 6 all be well |
facebookfresco | suddanly start to crash with unsatisfiedlinkerror | Duplicate | hello our release app have start to crash with unsatisfiedlinkerror on fly asus lenovo device all of they have mediatek processor after one month since release on friday 30 october we have get first report of this crash we be use fresco as be without compile it from source code reproduce on 0 7 0 and on 0 8 1 if you need I can share full report from crashlytic fatal exception java lang unsatisfiedlinkerror couldn t load memchunk from loader dalvik system pathclassloader dexpathlist zip file system app com hotellook apk nativelibrarydirectorie vendor lib system lib findlibrary return null at java lang runtime loadlibrary runtime java 365 at java lang system loadlibrary system java 526 at com facebook common soloader soloadershim defaulthandler loadlibrary soloadershim java 32 at com facebook common soloader soloadershim loadlibrary soloadershim java 56 at com facebook imagepipeline memory nativememorychunk nativememorychunk java 36 at com facebook imagepipeline memory nativememorychunkpool alloc nativememorychunkpool java 60 at com facebook imagepipeline memory nativememorychunkpool alloc nativememorychunkpool java 22 at com facebook imagepipeline memory basepool get basepool java 259 at com facebook imagepipeline memory nativepooledbytebufferoutputstream nativepooledbytebufferoutputstream java 53 at com facebook imagepipeline memory nativepooledbytebufferfactory newoutputstream nativepooledbytebufferfactory java 141 at com facebook imagepipeline memory nativepooledbytebufferfactory newoutputstream nativepooledbytebufferfactory java 26 at com facebook imagepipeline producer networkfetchproducer onresponse networkfetchproducer java 94 at com facebook imagepipeline producer networkfetchproducer access 000 networkfetchproducer java 37 at com facebook imagepipeline producer networkfetchproducer 1 onresponse networkfetchproducer java 72 at com facebook imagepipeline backend okhttp okhttpnetworkfetcher 2 onresponse okhttpnetworkfetcher java 116 at com squareup okhttp call asynccall execute call java 168 at com squareup okhttp internal namedrunnable run namedrunnable java 33 at java util concurrent threadpoolexecutor runworker threadpoolexecutor java 1112 at java util concurrent threadpoolexecutor worker run threadpoolexecutor java 587 at java lang thread run thread java 841 2015 11 05 12 48 35 |
facebookfresco | oom exception why this occur | Duplicate | java lang outofmemoryerror fail to allocate a 7990284 byte allocation with 1407372 free byte and 1374 kb until oom at dalvik system vmruntime newnonmovablearray native method at android graphic bitmap nativecreate native method at android graphic bitmap createbitmap bitmap java 812 at android graphic bitmap createbitmap bitmap java 789 at android graphic bitmap createbitmap bitmap java 756 at com facebook imagepipeline memory bitmappool alloc bitmappool java 55 at com facebook imagepipeline memory bitmappool alloc bitmappool java 30 at com facebook imagepipeline memory basepool get basepool java 259 at com facebook imagepipeline platform artdecoder decodestaticimagefromstream artdecoder java 137 at com facebook imagepipeline platform artdecoder decodejpegfromencodedimage artdecoder java 120 at com facebook imagepipeline decoder imagedecoder decodejpeg imagedecod java 151 at com facebook imagepipeline decoder imagedecoder decodeimage imagedecod java 85 at com facebook imagepipeline producer decodeproducer progressivedecoder dodecode decodeproducer java 188 at com facebook imagepipeline producer decodeproducer progressivedecoder access 200 decodeproducer java 96 at com facebook imagepipeline producer decodeproducer progressivedecoder 1 run decodeproducer java 128 at com facebook imagepipeline producers jobscheduler dojob jobscheduler java 207 at com facebook imagepipeline producers jobscheduler access 000 jobscheduler java 27 at com facebook imagepipeline producers jobscheduler 1 run jobscheduler java 78 at java util concurrent threadpoolexecutor runworker threadpoolexecutor java 1112 at java util concurrent threadpoolexecutor worker run threadpoolexecutor java 587 at com facebook imagepipeline core prioritythreadfactory 1 run prioritythreadfactory java 43 at java lang thread run thread java 818 |
facebookfresco | after join fresco other dynamic library error | Duplicate | after join fresco other dynamic library error other dynamic library will tell I android unsatisfiedlinkerror |
facebookfresco | animate gif loading performance | Enhancement | disclaimer I don t have good understanding of how current gif loading work in fresco code only base on the symptom of take long time to load multiple 4 mb gif generate by google photo also sympton of a frequent refresh of a listview with fresco animate gif if user choose to load animate gif without auto play setautoplayanimation false may be good idea to not decode the gif for example a 4 mb gif generate by google photo could take long time to decode and it be a waste to only display it as static image instead it may be good idea fresco should cache and load its thumbnail if thumbnail doesn t exist it may decode the 4 mb gif for the first time then generate thumbnail then cache thumbnail for future display for app with setautoplayanimation true it would be good ideal to have parameter to allow initial pause period developer could give it millisecond or few second to allow animated gif to display as static thumbnail image and only play the gif after it be fully load and pass the pause period example a listview contain a download animate gif and also contain a download gif with download progress bar app need to auto play the first download gif and keep refresh listview every second in order to keep download progressbar update if auto play animate gif could have initial pause period let s say 1 5 second then it will prevent constantly reload of animate gif hope it make sense |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.