repository stringclasses 156 values | issue title stringlengths 1 1.01k ⌀ | labels stringclasses 8 values | body stringlengths 1 270k ⌀ |
|---|---|---|---|
facebookfresco | feature request control memory cache per request | Enhancement | description I would like to control memory cache per request sometimes I need it and sometimes I don t by analogy how it be do with disk cache imagerequ request imagerequestbuilder newbuilderwithsource path disablediskcache disablememorycache this be how it should be do build |
facebookfresco | animate image do not play completely in simpledraweespantextview | Bug | description simpledraweespantextview when give an animate image as the source only play a couple frame and then freeze rerender can trigger a different frame to be display but it be still not actually play the same happen on both webm and gif file gif example showcase frozen gif use keyboard show hide toggle to force rerender that show new frame output reproduction try to put a gif into a draweespanstringbuilder sample project sample code snippet private fun renderimage val builder draweespanstringbuilder animate image val startindex builder length builder append val controller fresco newdraweecontrollerbuilder seturi setautoplayanimation true build val draweehierarchy genericdraweehierarchybuilder newinstance resource setplaceholderimage colordrawable color transparent setactualimagescaletype scalingutil scaletype fit center build builder setimagespan this draweehierarchy controller startindex builder length 1 dptopixel image width dp dptopixel image height dp false draweespan align center simpledraweespantextview setdraweespanstringbuilder builder solution I don t know a solution here yet would like to dedicate the resource soon but happy to accept any tip or help in the meantime that may make that easy additional information fresco version 1 5 0 |
facebookfresco | placeholder transparency doesn t work properly with background | Bug | description I want to set placeholder and background to the image the issue be that my placeholder be an icon on transparent background and region of the icon crop background it be very vague in word but please look at the attach picture and everything will become clear compare with expect result code final simpledraweeview imageview new simpledraweeview getactivity genericdraweehierarchybuilder newinstance getresource setfadeduration 400 setroundingparam roundingparam fromcornersradius rutil convertdptopixel 5 setplaceholderimage rutil getdrfromattr r attr dialog cover image loading getactivity setbackground rutil getdrfromattr r attr dialog cover image background getactivity build imageview setid i d imagerequ request imagerequestbuilder newbuilderwithsource uri parse url disablediskcache build draweecontroller controller fresco newdraweecontrollerbuilder setimagerequ request build imageview setcontroller controller additional information fresco version 1 5 0 platform version test on android 6 0 and android 8 0 |
facebookfresco | how to run the fresco demo in android studio | Question | description how to run fresco demo I import the whole project in android studio information gradle task sample demo assembleinternaldebug error execution fail for task imagepipeline downloadlibjpeg javax net ssl sslhandshakeexception sun security validator validatorexception pkix path building fail sun security provider certpath suncertpathbuilderexception unable to find valid certification path to request target information build fail information total time 8 085 sec information 1 error information 0 warning information see complete output in console additional information fresco version the late master branch platform version xiao mi 5 android 6 0 1 the attach file show my sdk java ndk location hope that it will help |
facebookfresco | can not import project and run its sample | Bug | I get this error image |
facebookfresco | decode image over http that return 204 status response | Enhancement | description fresco throw an illegalargumentexception with unknown image format as message when decode an image over http that return a 204 status code here there be more information about 204 status code this be treat as a generic error so when we be try to handle it on our react native app we can t differentiate this from other kind of error I e 404 when an image have no content we would want to just not render anything as suppose to fallback into a error situation for example retry a couple of time reproduction just try to render an image on react native which server request return 204 status code it probably have the same behavior when decode an image that return 200 status with no content solution I be not sure what the right solution would be here as I be not familiar with the fresco library implementation but this be my proposal the status of the http request could be bubble all the way up maybe inside encodedimage object so this information can be add to the exception be throw by defaultimagedecoder on line 65 then the client can access the status code to decide how to handle the error additional information fresco version 1 0 1 platform version all thank |
facebookfresco | java lang runtimeexception fail to pin bitmap | Bug | 1 the way I use imagerequestbuilder imagerequestbuilder imagerequestbuilder newbuilderwithsource imageuri imagerequestbuilder setprogressiverenderingenable true imagerequ imagerequ imagerequestbuilder build pipelinedraweecontrollerbuild controllerbuilder fresco newdraweecontrollerbuilder controllerbuilder setoldcontroller frescoview getcontroller controllerbuilder setimagerequest imagerequ draweecontroller controller controllerbuilder build genericdraweehierarchy genericdraweehierarchy frescoview gethierarchy frescoview setcontroller controller 2 so the question happend issue txt the issue txt be my log for the problem 3 last the version that I use compile com facebook fresco fresco 1 5 0 compile com facebook fresco animate gif 1 5 0 gif compile com facebook fresco animate webp 1 5 0 webp compile com facebook fresco webpsupport 1 5 0 webp compile com facebook fresco imagepipeline okhttp3 1 5 0 |
facebookfresco | focuscrop doesn t work correctly with sharedtransition | Bug | description when use scaletype focuscrop for a share transition the image will change to be centercroppe then the share transition will take place on the exit transition it will transition to be centercroppe and then after the transition finish it will move to the focuscrop I be use setlegacyvisibilityhandlingenable but don t think that matter reproduction this be a video of the issue happen with transition set to 5x slow than normal so the issue be more visible ezgif com optimize testing on pixel with android o physical device solution I m guess the transition magic just isn t aware that focus crop be a thing so ideally when the transition image be display it can be aware of that not sure if that be possible though additional information fresco version 1 5 0 platform version pixel o physical device see it on on emulator as well |
facebookfresco | sigsegv crash at libstatic webp so on x86 | Bug | hi I ve introduce fresco which version be 1 3 0 however I get the sigsegv crash at libstatic webp so when run on x86 android phone the stack info be libstatic webp so 0x7ca97 eip 0x683d9a97 esp 0x6befd61c ebp 0x6f33e280 ebx 0x6840df10 esi 0xf3f00000 edi 0x0000000a eax 0x6f33df30 ecx 0x00000000 edx 0x683e78f0 efl 0x00210246 and the corresponding assemble instruction reassemble by ida be movdqa esp 1ch var 1c xmm6 I look at the function of movdqa on web and there exist an detailed description at 1 it say that when the source or destination operand be a memory operand the operand must be align on a 16 byte boundary or a general protection exception gp will be generate however the esp value print on stack info be not align 16 byte so I wonder if the unaligned esp access lead to this crash if so can we add falign stack maintain 16 byte flag to request compiler to avoid unaligned access 2 ref 1 2 br newjor |
facebookfresco | simpledraweeview set scaletype not work | Question | how to set scaletype on simpledraweeview when load dynamic webp or gif I set scaletype any type not work genericdraweehierarchy hierarchy new genericdraweehierarchybuilder getcontext getresource build hierarchy setactualimagescaletype scalingutil scaletype fit xy msimpledraweeview sethierarchy hierarchy |
facebookfresco | run comparison demo the application may be do too much work on its main thread | Enhancement | 09 15 16 21 16 099 3393 3393 com facebook sample comparison I choreographer skip 69 frame the application may be do too much work on its main thread 09 15 16 21 16 944 3393 3393 com facebook sample comparison I choreographer skip 44 frame the application may be do too much work on its main thread 09 15 16 21 18 461 3393 3393 com facebook sample comparison I choreographer skip 53 frame the application may be do too much work on its main thread 09 15 16 21 18 618 3393 3401 com facebook sample comparison w art suspend all thread take 12 679ms 09 15 16 21 19 836 3393 3393 com facebook sample comparison I choreographer skip 72 frame the application may be do too much work on its main thread 09 15 16 21 21 748 3393 3393 com facebook sample comparison I choreographer skip 34 frame the application may be do too much work on its main thread 09 15 16 21 23 253 3393 3393 com facebook sample comparison I choreographer skip 63 frame the application may be do too much work on its main thread 09 15 16 21 26 065 3393 3401 com facebook sample comparison w art suspend all thread take 5 447m 09 15 16 21 26 240 3393 3393 com facebook sample comparison I choreographer skip 30 frame the application may be do too much work on its main thread 09 15 16 21 29 946 3393 3393 com facebook sample comparison I choreographer skip 39 frame the application may be do too much work on its main thread 09 15 16 21 35 507 3393 3393 com facebook sample comparison I choreographer skip 31 frame the application may be do too much work on its main thread 09 15 16 21 37 247 3393 3393 com facebook sample comparison I choreographer skip 46 frame the application may be do too much work on its main thread 09 15 16 21 39 074 3393 3393 com facebook sample comparison I choreographer skip 43 frame the application may be do too much work on its main thread 09 15 16 21 40 017 3393 3393 com facebook sample comparison I choreographer skip 49 frame the application may be do too much work on its main thread 09 15 16 21 44 134 3393 3393 com facebook sample comparison I choreographer skip 30 frame the application may be do too much work on its main thread 09 15 16 21 50 043 3393 3393 com facebook sample comparison I choreographer skip 34 frame the application may be do too much work on its main thread 09 15 16 21 52 102 3393 3393 com facebook sample comparison I choreographer skip 44 frame the application may be do too much work on its main thread 09 15 16 21 52 704 3393 3393 com facebook sample comparison I choreographer skip 31 frame the application may be do too much work on its main thread 09 15 16 21 58 224 3393 3393 com facebook sample comparison I choreographer skip 32 frame the application may be do too much work on its main thread 09 15 16 22 02 493 3393 3393 com facebook sample comparison I choreographer skip 31 frame the application may be do too much work on its main thread 09 15 16 22 04 418 3393 3393 com facebook sample comparison I choreographer skip 41 frame the application may be do too much work on its main thread 09 15 16 22 05 426 3393 3393 com facebook sample comparison I choreographer skip 52 frame the application may be do too much work on its main thread description fill this out explain what you do what you expect to happen and what actually happen reproduction fill this out how can we reproduce the bug provide url to relevant image if possible or a sample project solution optional do you know what need to be do to address this issue ideally provide a pull request which fix this issue additional information fresco version 1 5 0 platform version android 5 1 |
facebookfresco | for infinitely animate webp the animation listener onanimationframe do t work | Bug | description I use a infinitely animate webp with fresco I add a listener to check every frame to draw when the animation start I find that the frame callback be not increase step by 1 and the drop frame be always 0 what expect it should increase step by 1 or the framenumber dropframe framecount reproduction just use a infinitely animate webp in fresco additional information fresco version 1 40 above platform version all android device |
facebookfresco | add round support for rtl language to genericdraweeview | Enhancement | can we add round support for rtl language to genericdraweeview need to add fresco roundtopstart fresco roundtopend fresco roundbottomstart fresco roundbottomend android studio already recommend use start end instead of leave right in support of rtl language e g android paddingleft android paddingstart I would be happy to help contribute too thank adam |
facebookfresco | why encodedmemorycacheproducer release native cache immediately | Question | in encodedmemorycacheproducer when after cachedresult mmemorycache cache cachekey ref will call closeablereference closesafely cachedresult encodedimage closesafely cachedencodedimage this then cause the native cache pool to remain empty |
facebookfresco | bad performance in listview recyclerview when scroll fast | Question | 1 open the profile gpu rendering on screen as bar in developer option 2 open the showcase app you provide 3 scroll fast in recyclerview the bar on screen be light green and deep green and it represent the measure and layout process be cost a lot 4 about phone cpu 2 45ghz ram 3 00 gb android version 6 0 1 5 the bad performance be also appear in listview I just use the default simpledraweeview |
facebookfresco | filecache getresource return null on real device but it work on avd | Question | resource return null when run on real device and use a low fresco replace getmainfilecache with getmaindiskstoragecache it work well code filebinaryresource resource filebinaryresource fresco getimagepipelinefactory getmainfilecache getresource new simplecachekey uri tostring device info huawei honor 8 base on android n |
facebookfresco | 1 4 0 bug ascircle invalid sometimes | Question | if I add the follow line to build gradle file that s no problem compile com facebook fresco fresco 1 4 0 but if I add the follow line to build gradle file display some picture by use ascircle be invalid compile com facebook fresco fresco 1 4 0 compile com facebook fresco animate gif 1 4 0 eg |
facebookfresco | update fresco from 1 3 0 to 1 4 0 cause bug toomanybitmapsexception | Duplicate | before update we have not occur this problem exception com facebook imagepipeline common toomanybitmapsexception com facebook imagepipeline platform dalvikpurgeabledecoder pinbitmap com facebook imagepipeline platform kitkatpurgeabledecoder pinbitmap com facebook imagepipeline platform dalvikpurgeabledecoder decodejpegfromencodedimage com facebook imagepipeline platform kitkatpurgeabledecoder decodejpegfromencodedimage com facebook imagepipeline bitmaps honeycombbitmapfactory createbitmapinternal com facebook imagepipeline bitmap platformbitmapfactory createbitmap com facebook imagepipeline bitmap platformbitmapfactory createbitmap com facebook fresco animation bitmap bitmapanimationbackend drawframeorfallback com facebook fresco animation bitmap bitmapanimationbackend drawframeorfallback com facebook fresco animation bitmap bitmapanimationbackend drawframeorfallback com facebook fresco animation bitmap bitmapanimationbackend drawframe com facebook fresco animation backend animationbackenddelegate drawframe com facebook fresco animation backend animationbackenddelegatewithinactivitycheck drawframe com facebook fresco animation drawable animateddrawable2 draw com facebook drawee drawable forwardingdrawable draw com facebook drawee drawable forwardingdrawable draw com facebook drawee drawable scaletypedrawable draw com facebook drawee drawable fadedrawable drawdrawablewithalpha com facebook drawee drawable fadedrawable draw com facebook drawee drawable forwardingdrawable draw com facebook drawee generic rootdrawable draw android widget imageview ondraw imageview java 1040 android view view draw view java 15430 android view view getdisplaylist view java 14324 android view view getdisplaylist view java 14366 android view viewgroup dispatchgetdisplaylist viewgroup java 3296 android view view getdisplaylist view java 14261 android view view getdisplaylist view java 14366 android view viewgroup dispatchgetdisplaylist viewgroup java 3296 android view view getdisplaylist view java 14261 android view view getdisplaylist view java 14366 android view viewgroup dispatchgetdisplaylist viewgroup java 3296 android view view getdisplaylist view java 14261 android view view getdisplaylist view java 14366 android view viewgroup dispatchgetdisplaylist viewgroup java 3296 android view view getdisplaylist view java 14261 android view view getdisplaylist view java 14366 android view viewgroup dispatchgetdisplaylist viewgroup java 3296 android view view getdisplaylist view java 14261 android view view getdisplaylist view java 14366 android view viewgroup dispatchgetdisplaylist viewgroup java 3296 android view view getdisplaylist view java 14261 android view view getdisplaylist view java 14366 android view viewgroup dispatchgetdisplaylist viewgroup java 3296 android view view getdisplaylist view java 14261 android view view getdisplaylist view java 14366 android view viewgroup dispatchgetdisplaylist viewgroup java 3296 android view view getdisplaylist view java 14261 android view view getdisplaylist view java 14366 android view viewgroup dispatchgetdisplaylist viewgroup java 3296 android view view getdisplaylist view java 14261 android view view getdisplaylist view java 14366 android view viewgroup dispatchgetdisplaylist viewgroup java 3296 android view view getdisplaylist view java 14261 android view view getdisplaylist view java 14366 android view hardwarerenderer glrenderer builddisplaylist hardwarerenderer java 1597 android view hardwarerenderer glrenderer draw hardwarerenderer java 1469 android view viewrootimpl draw viewrootimpl java 2785 android view viewrootimpl performdraw viewrootimpl java 2651 android view viewrootimpl performtraversal viewrootimpl java 2219 how can I solve this problem |
facebookfresco | crash when render some gif s | Bug | description test gif additional information fresco version 1 4 0 1 5 0 platform version device nexus 6p android 7 1 2 |
facebookfresco | how to render local image name end with mp4 | Question | for example image path like this storage emulate 0 test mp4 yes it s actual a jpg image with wrong suffix name |
facebookfresco | recycler view scroll issue | Question | recycler view scroll up down be reload download image again from give url |
facebookfresco | autorotation not work with small resizeoption dimension | Bug | description I be try to load a lot of small image in a grid and in order to do so I be try to load they really small 60x60 px use the resizeoption I be also use autorotate option to load those image to display they correctly what I have notice be that only above a certain pixel amount the rotateoption start work correctly that pixel ratio be about 200x200 px I have try both downsampling enable and disable since I have see there be a bug relate to downsample in the past be there a reason for that requirement or be this a bug reproduction load any local image use the content scheme which require to be rotate when display use the follow parameter resizeoption 60 60 rotateoption autorotate additional information fresco version 1 4 0 platform version test on 6 0 7 1 various device |
facebookfresco | how to set loopcount for animatedimage after v1 4 0 | Question | now I aim to play a gif image 5 time and I find there be a method getloopcount for get the number of loop for a animatedimage but the question be I don t know how to dynamic set loopcount wait for your help |
facebookfresco | how can I catch the exception fail to pin bitmap | Bug | I know this exception due to an invalid image but I can t make sure the picture be valid before use fresco to load the picture when the picture go wrong I don t want to my app stop because of the exception throw I want my app to be continue also fresco can configure failureimage and as I understand when the picture be invalid fresco can help I show failureimage instead of throw a runtime exception if fresco must throw the fail to pin bitmap exception how can I catch it hear be a stack trace for this exception java fatal exception java lang runtimeexception fail to pin bitmap at com facebook imagepipeline nativecode bitmap nativepinbitmap sourcefile at com facebook imagepipeline nativecode bitmap pinbitmap sourcefile 44 at com facebook imagepipeline platform dalvikpurgeabledecoder pinbitmap sourcefile 155 at com facebook imagepipeline platform kitkatpurgeabledecoder pinbitmap sourcefile 32 at com facebook imagepipeline platform dalvikpurgeabledecoder decodejpegfromencodedimage sourcefile 90 at com facebook imagepipeline platform kitkatpurgeabledecoder decodejpegfromencodedimage sourcefile 32 at com facebook imagepipeline bitmaps honeycombbitmapfactory createbitmapinternal sourcefile 65 at com facebook imagepipeline bitmap platformbitmapfactory createbitmap sourcefile 79 at com facebook imagepipeline bitmap platformbitmapfactory createbitmap sourcefile 46 at com facebook fresco animation bitmap preparation defaultbitmapframepreparer framedecoderunnable prepareframeandcache sourcefile 146 at com facebook fresco animation bitmap preparation defaultbitmapframepreparer framedecoderunnable prepareframeandcache sourcefile 164 at com facebook fresco animation bitmap preparation defaultbitmapframepreparer framedecoderunnable run sourcefile 114 at com facebook common executor constrainedexecutorservice worker run sourcefile 178 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 sourcefile 43 at java lang thread run thread java 841 |
facebookfresco | failure to load webp image on gingerbread | Bug | description image not be load on an old samsung device samsung s3 mini it seem like there have be a major change in the image decoder and image purging which be now cause issue on particular device the last version of fresco this be not observe on be 0 14 1 additional information fresco version 1 0 0 and above platform version observe on samsung gt i9300 run android 4 3 api 18 relevant log from both system and exception from onfailure controller listener use fresco 1 4 0 e openglrenderer can not generate texture from bitmap e openglrenderer can not generate texture from bitmap w system err java lang nullpointerexception w system err at com facebook imagepipeline platform gingerbreadpurgeabledecoder decodefiledescriptoraspurgeable gingerbreadpurgeabledecoder java 134 w system err at com facebook imagepipeline platform gingerbreadpurgeabledecoder decodejpegbytearrayaspurgeable gingerbreadpurgeabledecoder java 75 w system err at com facebook imagepipeline platform dalvikpurgeabledecoder decodejpegfromencodedimage dalvikpurgeabledecoder java 89 w system err at com facebook imagepipeline platform gingerbreadpurgeabledecoder decodejpegfromencodedimage gingerbreadpurgeabledecoder java 41 w system err at com facebook imagepipeline decoder defaultimagedecoder decodejpeg defaultimagedecoder java 187 w system err at com facebook imagepipeline decoder defaultimagedecoder 1 decode defaultimagedecoder java 62 w system err at com facebook imagepipeline decoder defaultimagedecoder decode defaultimagedecoder java 125 w system err at com facebook imagepipeline producer decodeproducer progressivedecoder dodecode decodeproducer java 248 w system err at com facebook imagepipeline producer decodeproducer progressivedecoder access 200 decodeproducer java 112 w system err at com facebook imagepipeline producer decodeproducer progressivedecoder 1 run decodeproducer java 145 w system err at com facebook imagepipeline producers jobscheduler dojob jobscheduler java 207 w system err at com facebook imagepipeline producers jobscheduler access 000 jobscheduler java 27 w system err at com facebook imagepipeline producers jobscheduler 1 run jobscheduler java 78 w system err at java util concurrent threadpoolexecutor runworker threadpoolexecutor java 1080 w system err at java util concurrent threadpoolexecutor worker run threadpoolexecutor java 573 w system err at com facebook imagepipeline core prioritythreadfactory 1 run prioritythreadfactory java 43 w system err at java lang thread run thread java 841 |
facebookfresco | java lang noclassdeffounderror com facebook imagepipeline memory nativememorychunk | Duplicate | description java lang noclassdeffounderror com facebook imagepipeline memory nativememorychunk 07 29 16 24 53 811 3688 4266 com allfootball news w system err at com facebook imagepipeline memory nativememorychunkpool alloc nativememorychunkpool java 60 07 29 16 24 53 811 3688 4266 com allfootball news w system err at com facebook imagepipeline memory nativememorychunkpool alloc nativememorychunkpool java 22 07 29 16 24 53 811 3688 4266 com allfootball news w system err at com facebook imagepipeline memory basepool get basepool java 259 07 29 16 24 53 811 3688 4266 com allfootball news w system err at com facebook imagepipeline memory nativepooledbytebufferoutputstream nativepooledbytebufferoutputstream java 53 07 29 16 24 53 811 3688 4266 com allfootball news w system err at com facebook imagepipeline memory nativepooledbytebufferfactory newoutputstream nativepooledbytebufferfactory java 141 07 29 16 24 53 811 3688 4266 com allfootball news w system err at com facebook imagepipeline memory nativepooledbytebufferfactory newoutputstream nativepooledbytebufferfactory java 26 07 29 16 24 53 811 3688 4266 com allfootball news w system err at com facebook imagepipeline producer networkfetchproducer onresponse networkfetchproducer java 94 07 29 16 24 53 811 3688 4266 com allfootball news w system err at com facebook imagepipeline producer networkfetchproducer access 000 networkfetchproducer java 37 07 29 16 24 53 811 3688 4266 com allfootball news w system err at com facebook imagepipeline producer networkfetchproducer 1 onresponse networkfetchproducer java 72 07 29 16 24 53 811 3688 4266 com allfootball news w system err at com allfootball news fresco okhttpnetworkfetcher 2 onresponse okhttpnetworkfetcher java 149 07 29 16 24 53 811 3688 4266 com allfootball news w system err at okhttp3 realcall asynccall execute realcall java 141 07 29 16 24 53 821 3688 4266 com allfootball news w system err at okhttp3 internal namedrunnable run namedrunnable java 32 07 29 16 24 53 821 3688 4266 com allfootball news w system err at java util concurrent threadpoolexecutor runworker threadpoolexecutor java 1076 07 29 16 24 53 821 3688 4266 com allfootball news w system err at java util concurrent threadpoolexecutor worker run threadpoolexecutor java 569 07 29 16 24 53 821 3688 4266 com allfootball news w system err at java lang thread run thread java 856 my gradle ndk abifilter armeabi and I use relinker try to solute it but not success someone help I thank additional information fresco version 1 1 0 platform version x86 device and android version 16 |
facebookfresco | android n with fragment bug | Bug | hi device google pixel android 7 1 and hauwei mate9 android 7 0 fresco be not visible on android n device use the fragment jump android n below be ok test the other library be ok initialization one two fresco three four glide init start fragment load |
facebookfresco | simpledraweeview doesn t set layout accord to width and height when set to wrap content | Question | description I follow the basic tutorial on fresco website for animate image instead of set layout width and layou height tag to fix 130dp I set their value to wrap content match parent as well when I run it everything work fine except the simpledraweeview doesn t set layout accord to width and height which be set to wrap content gif and view be load but view doesn t show up on screen step 1 I follow the basic tutorial of fresco 2 I set simpledrawview layout width and height to wrap content android layout width wrap content android layout height wrap content 3 simpledrawview and gif be load but didn t show up on screen 4 I be expect to simpledrawview to detect gif width and height automatically same case while loading image additional information fresco version 1 4 0 platform version android moto x 2014 api level 22 |
facebookfresco | image load with resize option | Question | imagerequ request imagerequestbuilder newbuilderwithsource uri setprogressiverenderingenable true setresizeoption new resizeoption 10 10 build use resize option 10 by 10 but still image take time to load |
facebookfresco | after update from version 1 3 0 to 1 4 0 the load image appear an exception | Enhancement | description after update from version 1 3 to 1 4 the load image appear an exception reproduction com facebook imagepipeline memory basepool poolsizeviolationexception pool hard cap violation hard cap 4194304 use size 4194304 free size 0 request size 131072 at com facebook imagepipeline memory basepool get basepool java 241 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 bitmaps honeycombbitmapfactory createbitmapinternal honeycombbitmapfactory java 65 at com facebook imagepipeline bitmap platformbitmapfactory createbitmap platformbitmapfactory java 79 at com facebook imagepipeline bitmap platformbitmapfactory createbitmap platformbitmapfactory java 46 at com facebook fresco animation bitmap bitmapanimationbackend drawframeorfallback bitmapanimationbackend java 210 at com facebook fresco animation bitmap bitmapanimationbackend drawframeorfallback bitmapanimationbackend java 232 at com facebook fresco animation bitmap bitmapanimationbackend drawframeorfallback bitmapanimationbackend java 232 at com facebook fresco animation bitmap bitmapanimationbackend drawframe bitmapanimationbackend java 167 at com facebook fresco animation backend animationbackenddelegate drawframe animationbackenddelegate java 62 at com facebook fresco animation backend animationbackenddelegatewithinactivitycheck drawframe animationbackenddelegatewithinactivitycheck java 114 at com facebook fresco animation drawable animateddrawable2 draw animateddrawable2 java 206 at com facebook drawee drawable forwardingdrawable draw forwardingdrawable java 147 at com facebook drawee drawable forwardingdrawable draw forwardingdrawable java 147 at com facebook drawee drawable scaletypedrawable draw scaletypedrawable java 126 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 147 at com facebook drawee generic rootdrawable draw rootdrawable java 85 at android widget imageview ondraw imageview java 1019 at android view view draw view java 14465 at android view view getdisplaylist view java 13362 at android view view getdisplaylist view java 13404 at android view viewgroup dispatchgetdisplaylist viewgroup java 3077 at android view view getdisplaylist view java 13300 at android view view getdisplaylist view java 13404 at android view viewgroup dispatchgetdisplaylist viewgroup java 3077 at android view view getdisplaylist view java 13300 at android view view getdisplaylist view java 13404 at android view viewgroup dispatchgetdisplaylist viewgroup java 3077 at android view view getdisplaylist view java 13300 at android view view getdisplaylist view java 13404 at android view viewgroup dispatchgetdisplaylist viewgroup java 3077 at android view view getdisplaylist view java 13300 at android view view getdisplaylist view java 13404 at android view viewgroup dispatchgetdisplaylist viewgroup java 3077 at android view view getdisplaylist view java 13300 at android view view getdisplaylist view java 13404 at android view viewgroup dispatchgetdisplaylist viewgroup java 3077 at android view view getdisplaylist view java 13300 at android view view getdisplaylist view java 13404 at android view viewgroup dispatchgetdisplaylist viewgroup java 3077 at android view view getdisplaylist view java 13300 at android view view getdisplaylist view java 13404 at android view hardwarerenderer glrenderer builddisplaylist hardwarerenderer java 1570 at android view hardwarerenderer g additional information fresco version 1 4 0 platform version 4 4 2 |
facebookfresco | svg format not load | Enhancement | description when try to load this svg file the image be not load and a java lang illegalargumentexception be throw reproduction on imageformatsvgfragment java class change uri svg half transparent attribute from uri parse to uri parse run the showcase app enable svg support and restart the app look at logcat we have the follow 07 17 15 20 19 855 13973 13973 v unknown abstractdraweecontroller controller 2c6609d null 0 initialize 07 17 15 20 19 857 13973 13973 v unknown abstractdraweecontroller controller 2c6609d 0 sethierarchy com facebook drawee generic genericdraweehierarchy 6552912 07 17 15 20 19 892 13973 13973 v unknown abstractdraweecontroller controller 2c6609d 0 onattach request need submit 07 17 15 20 19 922 13973 13973 v unknown requestlogginglistener time 6584062 onrequestsubmit requestid 0 callercontext null isprefetch false 07 17 15 20 19 930 13973 13973 v unknown requestlogginglistener time 6584069 onproducerstart requestid 0 producer bitmapmemorycachegetproducer 07 17 15 20 19 932 13973 13973 v unknown requestlogginglistener time 6584072 onproducerfinishwithsuccess requestid 0 producer bitmapmemorycachegetproducer elapsedtime 3 ms extramap cache value find false 07 17 15 20 19 935 13973 13973 v unknown requestlogginglistener time 6584075 onproducerstart requestid 0 producer backgroundthreadhandoffproducer 07 17 15 20 19 938 13973 13973 v unknown abstractdraweecontroller controller 2c6609d 0 submitrequ datasource dd4703f 07 17 15 20 19 938 13973 14017 v unknown requestlogginglistener time 6584077 onproducerfinishwithsuccess requestid 0 producer backgroundthreadhandoffproducer elapsedtime 2 ms extramap null 07 17 15 20 19 945 13973 14017 v unknown requestlogginglistener time 6584085 onproducerstart requestid 0 producer bitmapmemorycacheproducer 07 17 15 20 19 947 13973 14017 v unknown requestlogginglistener time 6584086 onproducerfinishwithsuccess requestid 0 producer bitmapmemorycacheproducer elapsedtime 1 ms extramap cache value find false 07 17 15 20 19 965 13973 14017 v unknown requestlogginglistener time 6584105 onproducerstart requestid 0 producer encodedmemorycacheproducer 07 17 15 20 19 966 13973 14017 v unknown requestlogginglistener time 6584106 onproducerfinishwithsuccess requestid 0 producer encodedmemorycacheproducer elapsedtime 1 ms extramap cache value find false 07 17 15 20 19 967 13973 14017 v unknown requestlogginglistener time 6584106 onproducerstart requestid 0 producer diskcacheproducer 07 17 15 20 19 978 13973 14018 v unknown buffereddiskcache do not find image for in staging area 07 17 15 20 19 979 13973 14018 v unknown buffereddiskcache disk cache read for 07 17 15 20 20 009 13973 14018 v unknown buffereddiskcache find entry in disk cache for 07 17 15 20 20 051 13973 14018 v unknown buffereddiskcache successful read from disk cache for 07 17 15 20 20 055 13973 14018 v unknown requestlogginglistener time 6584195 onproducerfinishwithsuccess requestid 0 producer diskcacheproducer elapsedtime 89 ms extramap cache value find true encodedimagesize 1556 07 17 15 20 20 055 13973 14018 v unknown requestlogginglistener time 6584195 onultimateproducerreache requestid 0 producer diskcacheproducer elapsedtime 1 ms success true 07 17 15 20 20 069 13973 14034 v unknown requestlogginglistener time 6584209 onproducerstart requestid 0 producer decodeproducer 07 17 15 20 20 071 13973 14034 w unknown requestlogginglistener time 6584210 onproducerfinishwithfailure requestid 0 stage decodeproducer elapsedtime 1 ms extramap samplesize 1 hasgoodquality true imageformat unknown isfinal true encodedimagesize 1x 1 queuetime 2 requestedimagesize unknown throwable java lang illegalargumentexception unknown image format 07 17 15 20 20 071 13973 14034 w unknown requestlogginglistener java lang illegalargumentexception unknown image format 07 17 15 20 20 071 13973 14034 w unknown requestlogginglistener at com facebook imagepipeline decoder defaultimagedecoder 1 decode defaultimagedecoder java 68 07 17 15 20 20 071 13973 14034 w unknown requestlogginglistener at com facebook imagepipeline decoder defaultimagedecoder decode defaultimagedecoder java 125 07 17 15 20 20 071 13973 14034 w unknown requestlogginglistener at com facebook imagepipeline producer decodeproducer progressivedecoder dodecode decodeproducer java 248 07 17 15 20 20 071 13973 14034 w unknown requestlogginglistener at com facebook imagepipeline producer decodeproducer progressivedecoder access 200 decodeproducer java 112 07 17 15 20 20 071 13973 14034 w unknown requestlogginglistener at com facebook imagepipeline producer decodeproducer progressivedecoder 1 run decodeproducer java 145 07 17 15 20 20 071 13973 14034 w unknown requestlogginglistener at com facebook imagepipeline producers jobscheduler dojob jobscheduler java 207 07 17 15 20 20 071 13973 14034 w unknown requestlogginglistener at com facebook imagepipeline producers jobscheduler access 000 jobscheduler java 27 07 17 15 20 20 071 13973 14034 w unknown requestlogginglistener at com facebook imagepipeline producers jobscheduler 1 run jobscheduler java 78 07 17 15 20 20 071 13973 14034 w unknown requestlogginglistener at java util concurrent threadpoolexecutor runworker threadpoolexecutor java 1113 07 17 15 20 20 071 13973 14034 w unknown requestlogginglistener at java util concurrent threadpoolexecutor worker run threadpoolexecutor java 588 07 17 15 20 20 071 13973 14034 w unknown requestlogginglistener at com facebook imagepipeline core prioritythreadfactory 1 run prioritythreadfactory java 43 07 17 15 20 20 071 13973 14034 w unknown requestlogginglistener at java lang thread run thread java 818 07 17 15 20 20 072 13973 14034 w unknown requestlogginglistener time 6584212 onrequestfailure requestid 0 elapsedtime 150 ms throwable java lang illegalargumentexception unknown image format 07 17 15 20 20 200 13973 13973 v unknown abstractdraweecontroller controller 2c6609d 0 final fail onfailure failure java lang illegalargumentexception unknown image format additional information fresco version 1 4 0 platform version sdk 23 6 0 |
facebookfresco | use of android support librarie | Question | description fresco be use android support library in my experience every new version of android support library probably introduce new bug that happen no matter what its version name be like only minor number change so for my own library which use android support librarie I always increase major version number if I change support library version which mean my library s new version might break code also I never user for android support librarie even for patch version number reproduction not available solution I ve search fresco source in this commit 147c5e2f7e5a55ce99c223ace7c0826e553c0aa5 july 14 2017 and find only one use of android support library in core code not test sample code android support v4 util pool I guess it s possible to make your own replacement would you please consider accept this suggestion additional information fresco version 1 3 0 thank you |
facebookfresco | rotation for resource image not work | Bug | description rotation for resource image not work image be not rotate reproduction simpledraweeview iv imagerequ ir imagerequestbuilder newbuilderwithsource r drawable sample image setrotationoption rotationoption forcerotation rotationoption rotate 90 build draweecontroller controller fresco newdraweecontrollerbuilder setoldcontroller iv getcontroller setimagerequ ir build iv setcontroller controller additional information fresco version 1 3 0 platform version min sdk 15 |
facebookfresco | recently I use fresco to make a recyclerview with gif and the gif play non fluency | Question | we use github issue for bug if you have a non bug question please ask on stack overflow please use this template and delete everything above this line before submit your issue description fill this out explain what you do what you expect to happen and what actually happen reproduction fill this out how can we reproduce the bug provide url to relevant image if possible or a sample project solution optional do you know what need to be do to address this issue ideally provide a pull request which fix this issue additional information fresco version fill this out platform version fill this out specific to a particular android version device |
facebookfresco | the webp animation always twinkle | Duplicate | recently I have use fresco to play webp animation the picture will flash several time at the beginning but when I use yyimage to play webp animation for io everything work well with the same webp file also I have try to change the frame rate of the animation or set a background with no alpha but no improvement have be make I have see the same issue issue 1700 be there any progress in this problem this be a very serious matter this happen to every webp animation file the webp file the demo video fresco version 1 3 0 platform version android 4 0 |
facebookfresco | download image and setup as linearlayout background | Question | I want to download an image use fresco and set it as linearlayout background I go through the documentation and learn that it can be do use the imagepipeline but once I change the image and restart the application crash and after I start it second time the application seem to work fine please find the code below private void setuppic string coverpic uri uri uri parse globalvariable image prefix coverpic final linearlayout linearlayout linearlayout findviewbyid r i d navheader postprocessor postprocessor new blurpostprocessor this 5 imagedecodeoption decodeoption imagedecodeoption newbuild build imagerequ request imagerequestbuilder newbuilderwithsource uri setimagedecodeoption decodeoption setlocalthumbnailpreviewsenable true setlowestpermittedrequestlevel imagerequ requestlevel full fetch setprogressiverenderingenable false setresizeoption new resizeoption width height setpostprocessor postprocessor build imagepipeline imagepipeline fresco getimagepipeline final datasource datasource imagepipeline fetchdecodedimage request this try datasource subscribe new basebitmapdatasubscriber requiresapi api build version code jelly bean override protect void onnewresultimpl bitmap bitmap assert bitmap null linearlayout setbackground new bitmapdrawable getresource bitmap override protect void onfailureimpl datasource datasource uithreadimmediateexecutorservice getinstance catch exception e e printstacktrace |
facebookfresco | oom exception with activity | Question | in my project have an activity be a newsdetail with a webview to show web content and listview to show about news and comment and when I open this activity click aboutnew to open an new this activity when I repeat this opration it must a issue an oom exception there be an question that when the activity onpause the bitmap will be release fresco and lifecycle have any connection |
facebookfresco | imagerequ setimagetype method not exist | Question | description I try to config the disk cache in my app a disk cache for default image and a small disk cache for small image but after I do that I try to setimagetype imagetype small in imagerequ and I find there be no method call setimagetype and I don t know to how to tell fresco which image be small or not fresco version 1 0 0 platform version android 5 1 |
facebookfresco | fresco 1 3 0 java lang noclassdeffounderror com facebook imagepipeline memory nativememorychunk | Duplicate | the app use fresco 1 3 0 compile com facebook fresco fresco 1 3 0 compile com facebook fresco imagepipeline okhttp3 1 3 0 compile com facebook fresco animate webp 1 3 0 compile com facebook fresco webpsupport 1 3 0 crash in 4 x x android version |
facebookfresco | sharedelement issue in api 24 | Duplicate | description I follow the example of transition to set share transition it work fine in api 21 24 but have some problem in api 24 when I exit an activity the source simpledraweeview will turn white reproduction issueimage additional information fresco version 1 3 0 platform version api24 huawei m3 |
facebookfresco | lowimage not request | Question | imagerequ request imagerequestbuilder newbuilderwithsource frescoutil geturi build imagerequ lowrequset imagerequestbuilder newbuilderwithsource frescoutil geturi lowurl build draweecontroller controller fresco newdraweecontrollerbuilder setlowresimagerequ lowrequset setretainimageonfailure true setimagerequ request setoldcontroller photoview getcontroller build photoview setcontroller controller lowimage no request and no show fresco version 1 3 0 platform version fill this out specific to a particular android version device |
facebookfresco | gif circle | Duplicate | a url which I get from server may be a jpg or a gif I set auto play false be use to display a circle simpledraweeview but fresco not support gif circle so what shall I do |
facebookfresco | java lang unsatisfiedlinkerror couldn t load imagepipeline | Duplicate | description I observe some crash report when use fresco fatal exception java lang unsatisfiedlinkerror couldn t load imagepipeline from loader dalvik system pathclassloader dexpath data app com ss android article master 12 apk librarypath data app lib com ss android article master 12 findlibrary return null at java lang runtime loadlibrary runtime java 358 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 nativecode imagepipelinenativeloader load imagepipelinenativeloader java 48 at com facebook imagepipeline memory nativememorychunk nativememorychunk java at com facebook imagepipeline memory nativememorychunkpool alloc nativememorychunkpool java 60 at com facebook imagepipeline memory nativememorychunkpool free nativememorychunkpool java 22 at com facebook imagepipeline memory basepool get basepool java 260 at com facebook imagepipeline memory nativepooledbytebufferoutputstream nativepooledbytebufferoutputstream java at com facebook imagepipeline memory nativepooledbytebufferfactory newoutputstream nativepooledbytebufferfactory java 143 at com facebook imagepipeline memory nativepooledbytebufferfactory newoutputstream nativepooledbytebufferfactory java 28 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 backends okhttp3 okhttpnetworkfetcher 2 onresponse okhttpnetworkfetcher java 160 at okhttp3 realcall asynccall execute realcall java 135 at okhttp3 internal namedrunnable run namedrunnable java 32 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 look like it happen constantly on user right now there re only two affected user so I can t tell if it s relate to specific model or android version they re a galaxy note3 run android 4 4 2 and a xperia e3 dual running android 4 4 4 reproduction no the crash be collect in the field solution I try to use relinker in soloadershim but I doubt if it would work since I m not sure what the root cause be additional information fresco version 1 2 0 platform version galaxy note3 run android 4 4 2 and xperia e3 dual running android 4 4 4 |
facebookfresco | 1 3 1 1 roundascircle be invlid for gif suffix image but 0 14 1 be ok | Duplicate | image url http bbs1 qianfanyun com uc server avatar php uid 224 size big |
facebookfresco | java lang internalerror thread start during runtime shutdown | Duplicate | our project often appear this bug thread start during runtime shutdown it appear at com facebook imagepipeline core prioritythreadfactory 1 run prioritythreadfactory java 43 public thread newthread final runnable runnable runnable wrapperrunnable new runnable override public void run try process setthreadpriority mthreadpriority catch throwable t just to be safe runnable run return new thread wrapperrunnable can you help I to resolve this bug |
facebookfresco | I don t kown how to do for this issue thank | Bug | java io ioexception invalid marker 89 at android medium exifinterface getjpegattribute exifinterface java 1604 at android medium exifinterface loadattribute exifinterface java 1335 at android medium exifinterface exifinterface java 1053 at com facebook imagepipeline producers localexifthumbnailproducer getexifinterface localexifthumbnailproducer java 136 at com facebook imagepipeline producer localexifthumbnailproducer 1 getresult localexifthumbnailproducer java 103 at com facebook imagepipeline producer localexifthumbnailproducer 1 getresult localexifthumbnailproducer java 97 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 831 |
facebookfresco | java lang noclassdeffounderror com facebook imagepipeline memory nativememorychunk | Duplicate | java lang noclassdeffounderror com facebook imagepipeline memory nativememorychunk at com facebook imagepipeline memory nativememorychunkpool alloc sourcefile 60 at com facebook imagepipeline memory nativememorychunkpool alloc sourcefile 22 at com facebook imagepipeline memory basepool get sourcefile 259 at com facebook imagepipeline memory nativepooledbytebufferoutputstream sourcefile 53 at com facebook imagepipeline memory nativepooledbytebufferfactory newbytebuffer sourcefile 98 at com facebook imagepipeline memory nativepooledbytebufferfactory newbytebuffer sourcefile 26 at com facebook imagepipeline producers localfetchproducer getbytebufferbackedencodedimage sourcefile 99 at com facebook imagepipeline producer localfetchproducer getencodedimage sourcefile 119 at com facebook imagepipeline producers localresourcefetchproducer getencodedimage sourcefile 42 at com facebook imagepipeline producer localfetchproducer 1 getresult sourcefile 66 at com facebook imagepipeline producer localfetchproducer 1 getresult sourcefile 62 at com facebook common executor statefulrunnable run sourcefile 45 at java util concurrent threadpoolexecutor runworker threadpoolexecutor java 1076 at java util concurrent threadpoolexecutor worker run threadpoolexecutor java 569 at java lang thread run thread java 856 how to resolve this bug |
facebookfresco | fresco doesn t cache image from redirected url | Question | fresco doesn t cache image that have url that get redirect to other url I e facebook s graph image urls fresco version 1 3 0 |
facebookfresco | fetch update image | Question | hey I be use fresco for download image from server I want to download image and set it to a linearlayout as background so I be use imagepipeline to download image use the url directly now I be face two issue 1 how to scale an image which have be download via pipeline 2 when I update the image on the website and logout from the application and then login back then the application crash once the application crash and I restart the application the application work fine it show I a null pointer exception follow be the code snippet be use for download the image uri uri uri parse globalvariable image prefix coverpic final linearlayout linearlayout linearlayout findviewbyid r i d navheader imagedecodeoption decodeoption imagedecodeoption newbuild build imagerequ request imagerequestbuilder newbuilderwithsource uri setimagedecodeoption decodeoption setlocalthumbnailpreviewsenable true setlowestpermittedrequestlevel imagerequ requestlevel full fetch setprogressiverenderingenable false setresizeoption new resizeoption width height build imagepipeline imagepipeline fresco getimagepipeline final datasource datasource imagepipeline fetchdecodedimage request this try datasource subscribe new basebitmapdatasubscriber requiresapi api build version code jelly bean override protect void onnewresultimpl bitmap bitmap assert bitmap null bitmap result blurbuilder blur homeactivity this bitmap linearlayout setbackground new bitmapdrawable getresource result datasource close override protect void onfailureimpl datasource datasource uithreadimmediateexecutorservice getinstance catch exception e e printstacktrace |
facebookfresco | apng support | Enhancement | will fresco support apng in the future |
facebookfresco | progress update not work when use okhttpclient with httplogginginterceptor | Bug | description when use okhttpclient with httplogginginterceptor progressive loading doesn t seem to work setprogress method be never call reproduction httplogginginterceptor interceptor new httplogginginterceptor interceptor setlevel httplogginginterceptor level body fresco version 1 3 0 platform version can reproduce on 7 1 2 didn t test on other device |
facebookfresco | fresco do not support resize option like picasso | Enhancement | I be try to use fresco over picasso to avoid memory leak but find that fresco do not support scale as it be support by picasso follow be my code to resize image use picasso picassocache getpicassoinstance holder itemview getcontext load uri encode item imageurl constant allow uri chars tag constant image loading tag all deal placeholder r drawable imgload error r drawable imgntfound resize 200 0 into holder itemimage now here picasso allow either width and height to be zero and resize image accordingly but find that fresco do not support any functionality like this I have to specify both width and height imagerequ request imagerequestbuilder newbuilderwithsource uri setresizeoption new resizeoption 200 200 build draweecontroller controller fresco newdraweecontrollerbuilder setoldcontroller holder itemimage getcontroller setimagerequ request build holder itemimage setcontroller controller be there any chance to achieve this use fresco |
facebookfresco | noclassdeffounderror com facebook imagepipeline memory nativememorychunk | Duplicate | description os android 4 4 4 phone oppo r8207 stack trace java lang noclassdeffounderror com facebook imagepipeline memory nativememorychunk at com facebook imagepipeline memory m I nativememorychunkpool java 60 at com facebook imagepipeline memory m b nativememorychunkpool java 22 at com facebook imagepipeline memory a a basepool java 259 at com facebook imagepipeline memory p nativepooledbytebufferoutputstream java 53 at com facebook imagepipeline memory o a nativepooledbytebufferfactory java 98 at com facebook imagepipeline memory o b nativepooledbytebufferfactory java 26 at com facebook imagepipeline c e g buffereddiskcache java 341 at com facebook imagepipeline c e b buffereddiskcache java 38 at com facebook imagepipeline c e 2 a buffereddiskcache java 185 at com facebook imagepipeline c e 2 call buffereddiskcache java 168 at b j 10 run task java 357 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 reproduction only 2 user hit this problem with very high frequency additional information fresco version 1 0 0 platform version android 4 4 4 |
facebookfresco | compress animate gif show with white spot | Bug | description when I try to render any compress gif I suppose they be compress with gifsicle or something similar I have white spot all around the picture reproduction for example this gif you can try to split it with to see white spot simpledraweeview mydraweeview simpledraweeview findviewbyid r i d my drawee view draweecontroller controller fresco newdraweecontrollerbuilder seturi setautoplayanimation true build mydraweeview setcontroller controller solution unknown additional information fresco version I try 1 0 0 1 3 0 platform version android screenshot 2017 04 27 15 18 24 |
facebookfresco | when load the gif roundingparams ascircle be not effect | Duplicate | when load the gif roundingparam ascircle be not effect |
facebookfresco | java lang noclassdeffounderror com facebook imagepipeline memory nativememorychunk | Duplicate | java lang noclassdeffounderror com facebook imagepipeline memory nativememorychunk com facebook imagepipeline memory nativememorychunkpool alloc unknown source com facebook imagepipeline memory nativememorychunkpool alloc unknown source com facebook imagepipeline memory basepool get unknown source com facebook imagepipeline memory nativepooledbytebufferoutputstream unknown source com facebook imagepipeline memory nativepooledbytebufferfactory newbytebuffer unknown source com facebook imagepipeline memory nativepooledbytebufferfactory newbytebuffer unknown source com facebook imagepipeline cache buffereddiskcache readfromdiskcache unknown source com facebook imagepipeline cache buffereddiskcache access 400 unknown source com facebook imagepipeline cache buffereddiskcache 2 call unknown source com facebook imagepipeline cache buffereddiskcache 2 call unknown source bolt n run unknown source java util concurrent threadpoolexecutor runworker threadpoolexecutor java 1080 java util concurrent threadpoolexecutor worker run threadpoolexecutor java 573 java lang thread run thread java 838 compile com facebook stetho stetho okhttp3 1 3 1 compile com facebook stetho stetho 1 3 1 compile com facebook fresco fresco 1 2 0 compile com facebook fresco animate gif 1 2 0 |
facebookfresco | in imagepipeline prefetchtodiskcache callback the cached file be not yet ready | Enhancement | description what I want to do be to download an image as file I decide to use imagepipeline prefetchtodiskcache and try to load the file from fresco s cache when I get the result my guess be that the cache file be not ready because I always get null I do a further investigation that I set up a cacheeventlistener in diskcacheconfig and find that the onnewresult callback always happen before onwritesuccess which prove my guess reproduction imagepipeline imagepipeline fresco getimagepipeline datasource datasource imagepipeline prefetchtodiskcache imagerequ null datasource subscribe new basedatasubscriber override protect void onnewresultimpl datasource datasource if datasource isfinished file be always null file file findindiskcache imagerequ override protect void onfailureimpl datasource datasource callerthreadexecutor getinstance private file findindiskcache context context imagerequ imagerequ cachekey cachekey defaultcachekeyfactory getinstance getencodedcachekey imagerequ null binaryresource binaryresource imagepipelinefactory getinstance getmainfilecache getresource cachekey if binaryresource null return null file file filebinaryresource binaryresource getfile return file solution it would be much more convenient to have the cache file ready in onnewresultimpl additional information fresco version 1 2 0 platform version no specific platform |
facebookfresco | java lang runtimeexception canvas try to use a recycle bitmap android graphic bitmap 2dad25ee | Bug | description the bitmappool log below 04 18 10 39 34 797 21848 21984 v unknown bitmappool release free object size 37535584 16384 04 18 10 39 34 797 21848 21984 v unknown bitmappool use 256 10787136 free 0 0 04 18 10 39 34 797 21848 21977 v unknown bitmappool use 257 10803520 free 0 0 04 18 10 39 34 797 21848 21977 v unknown bitmappool get alloc object size 84036b7 16384 04 18 10 39 34 797 21848 21977 v unknown bitmappool release free object size 39308e33 16384 04 18 10 39 34 797 21848 21977 v unknown bitmappool use 256 10787136 free 0 0 04 18 10 39 34 807 21848 21982 v unknown bitmappool use 257 10803520 free 0 0 04 18 10 39 34 807 21848 21982 v unknown bitmappool get alloc object size 1bf43b42 16384 04 18 10 39 34 807 21848 21982 v unknown bitmappool release free object size 2dad25ee 16384 04 18 10 39 34 807 21848 21982 v unknown bitmappool use 256 10787136 free 0 0 04 18 10 39 34 807 21848 21975 v unknown bitmappool use 257 10803520 free 0 0 04 18 10 39 34 807 21848 21975 v unknown bitmappool get alloc object size 35708589 16384 04 18 10 39 34 817 21848 21975 v unknown bitmappool release free object size afcb37f 16384 04 18 10 39 34 817 21848 21975 v unknown bitmappool use 256 10787136 free 0 0 04 18 10 39 34 817 21848 21976 v unknown bitmappool use 257 10803520 free 0 0 04 18 10 39 34 817 21848 21976 v unknown bitmappool get alloc object size 5882dbc 16384 04 18 10 39 34 817 21848 21976 v unknown bitmappool release free object size 1f80c125 16384 04 18 10 39 34 817 21848 21976 v unknown bitmappool use 256 10787136 free 0 0 then there be a crash this happen when I use imagepipeline directly while repeat the same picture but rewrite the cachekey in postprocess for not allow it to use bitmap in memory because it can be reproduce this crash the code be below imagepipeline fetchdecodedimage request null override protect void onnewresultimpl datasource datasource if datasource isfinishe onfailureimpl datasource return closeablereference result datasource getresult if result null listener success new frescobitmapwrapper result result close here I clone the result in frescobitmapwrapper s constructor and then put the bitmap in the imageview additional information fresco version 1 0 platform version android 4 0 5 0 6 0 |
facebookfresco | unsatisfiedlinkerror | Duplicate | hello our release app have start to crash with unsatisfiedlinkerror on samsung device with android version 4 4 2 2 4 3 we be use fresco version 1 0 1 and add custom okhttp client java java lang exceptionininitializererror at com facebook imagepipeline memory nativememorychunkpool alloc proguard 60 at com facebook imagepipeline memory nativememorychunkpool alloc proguard 22 at com facebook imagepipeline memory basepool get proguard 259 at com facebook imagepipeline memory nativepooledbytebufferoutputstream proguard 53 at com facebook imagepipeline memory nativepooledbytebufferfactory newoutputstream proguard 141 at com facebook imagepipeline memory nativepooledbytebufferfactory newoutputstream proguard 26 newoutputstream at com facebook imagepipeline producer networkfetchproducer onresponse proguard 94 at com facebook imagepipeline producer networkfetchproducer access 000 proguard 37 at com facebook imagepipeline producer networkfetchproducer 1 onresponse proguard 72 at com app fresco backend okhttpnetworkfetcher 2 onresponse proguard 147 at okhttp3 realcall asynccall execute proguard 135 at okhttp3 internal namedrunnable run proguard 32 at java util concurrent threadpoolexecutor runworker threadpoolexecutor java 1076 at java util concurrent threadpoolexecutor worker run threadpoolexecutor java 569 at java lang thread run thread java 856 cause by java lang unsatisfiedlinkerror couldn t load imagepipeline findlibrary return null at java lang runtime loadlibrary runtime java 365 at java lang system loadlibrary system java 535 at com facebook common soloader soloadershim defaulthandler loadlibrary proguard 32 at com facebook common soloader soloadershim loadlibrary proguard 56 at com facebook imagepipeline nativecode imagepipelinenativeloader load proguard 43 at com facebook imagepipeline memory nativememorychunk proguard 36 15 more |
facebookfresco | medium variation not work if candidate not a jpeg image | Bug | self create an issue to track this fthegfw raise pr 1630 to fix this but it involve change to the progressivejpegparser we shouldn t get into that class if we re not decode a jpeg this come from the previous assumption that non final image would always be progressive jpeg |
facebookfresco | app may crash when load gif | Bug | I think follow code snippet in gif cpp may cause crash when psavedimage imagedesc height be 0 c check size of image if psavedimage imagedesc width 0 psavedimage imagedesc height 0 psavedimage imagedesc width int max psavedimage imagedesc height return gif error |
facebookfresco | gif | Duplicate | gif |
facebookfresco | java lang unsatisfiedlinkerror com facebook imagepipeline memory nativememorychunk | Question | fresco 1 1 0 device amazon kfarwi bug info java lang unsatisfiedlinkerror com facebook imagepipeline memory nativememorychunk 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 89 at com facebook imagepipeline producer localfetchproducer getencodedimage localfetchproducer java 101 at com facebook imagepipeline producer localfilefetchproducer getencodedimage localfilefetchproducer java 35 at com facebook imagepipeline producer localfetchproducer 1 getresult localfetchproducer java 56 at com facebook imagepipeline producer localfetchproducer 1 getresult localfetchproducer java 52 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 | load the gif cause the project to crash | Question | java my code uri uri uri parse address draweecontroller draweecontroller fresco newdraweecontrollerbuilder seturi uri setautoplayanimation true build nivshowimg setcontroller draweecontroller java my version compile com facebook fresco fresco 1 1 0 compile com facebook fresco animate gif 1 1 0 java my error java lang nosuchfielderror com facebook imagepipeline common imagedecodeoption forceoldanimationcode at com facebook imagepipeline animate factory animatedimagefactoryimpl decodegif animatedimagefactoryimpl java 84 at com facebook imagepipeline decoder defaultimagedecoder decodegif defaultimagedecoder java 142 at com facebook imagepipeline decoder defaultimagedecoder 1 decode defaultimagedecoder java 65 at com facebook imagepipeline decoder defaultimagedecoder decode defaultimagedecoder java 123 at com facebook imagepipeline producer decodeproducer progressivedecoder dodecode decodeproducer java 239 at com facebook imagepipeline producer decodeproducer progressivedecoder access 200 decodeproducer java 111 at com facebook imagepipeline producer decodeproducer progressivedecoder 1 run decodeproducer java 144 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 question what be the solution to this problem or what be the cause of the problem |
facebookfresco | mediavariation item never delete from database | Bug | it seem there be no code for delete item from medium variation index database the database file size will bloat continuously be that expect |
facebookfresco | animatable in android n while animatable start faild | Duplicate | animatable in android n while animatable start faild but in screen off on the animatable will run |
facebookfresco | how to get gif play progress | Enhancement | how to get gif play progress and ready progress |
facebookfresco | simpledraweeview resizing issue with gif | Enhancement | description currently I be use android s fresco version 1 1 0 I have load a gif in simpledraweeview and it be work as expect but as I try to resize simpledraweeview it seem like gif loading process be start again and for sometime there be no visible image in simpledraweeview expect gif loading should not start again on resize of view I try with one other image loading library and it be handle this there be no difference if view be resize actual on resize of view gif be load again and view remain blank for some time reproduction gitthub repo give project have 2 view which be load same gif top view be simpledraweeview and use fresco to load gif and bottom view be imageview which use glide to load gif use there be a button at bottom which resize those view on click of that button you can see that top view with gif go blank for a second or 2 but bottom view continue to show and animate gif solution be not able to find any solution additional information fresco version 1 1 0 with animate gif 1 1 0 platform version android 7 0 on moto g4 plus |
facebookfresco | dynamically link jpegturbo lib for reduce library size | Bug | I ve notice native lib jpegturbo be both statically link in bellow module imagepipeline see imagepipeline android mk l28 l28 static webp see static webp android mk l37 l37 it s size be 165 kb kb in armeabi v7 and 409 kb in x86 so big would cause a lot of redundant apk size since every body who use static webp library would and must already have imagepipeline in their app so I think we can do some trick make fb jpegturbo as a share library and dynamically link they in two module after ndk build success in static webp delete fb jpegturbo so in this module otherwise it would conflict with imagepipeline s if this idea be accept I would give a pr in several day |
facebookfresco | can we set the position of progress bar drawable to top instead of bottom | Question | for now the progressbar be display at the bottom of the loading image I want to set it to the top how can I archieve this thank you additionally I think that the onlevelchange be call only by the download process not the decode process it make progress stick at about 98 when the drawee need to display gif do we have any solution for this |
facebookfresco | comparison demo crash when select volley network | Bug | description e androidruntime fatal exception main process com facebook sample comparison pid 4529 java util concurrentmodificationexception at java util hashmap hashiterator nextentry hashmap java 851 at java util hashmap valueiterator next hashmap java 879 at com android volley toolbox imageloader 4 run imageloader java 464 at android os handler handlecallback handler java 751 at android os handler dispatchmessage handler java 95 at android os looper loop looper java 154 at android app activitythread main activitythread java 6119 at java lang reflect method invoke native method at com android internal os zygoteinit methodandargscaller run zygoteinit java 886 at com android internal os zygoteinit main zygoteinit java 776 reproduction select volley and network in the comparison demo application additional information fresco version 1 0 1 platform version 5 1 xiaomi redmi note 3 7 0 android emulator |
facebookfresco | how can I listen the process of animation when load gif or webp | Enhancement | because I want to add some operation when animation processing to finish once |
facebookfresco | crash in producer localexifthumbnailproducer getexifinterface | Bug | hi we get some crash report from our user fatal exception java lang stackoverflowerror stack size 1036 kb at java io bytearrayinputstream read bytearrayinputstream java 145 at android medium exifinterface byteorderawarenessdatainputstream readfully exifinterface java 2353 at android medium exifinterface readimagefiledirectory exifinterface java 2029 at android medium exifinterface readimagefiledirectory exifinterface java 2019 at android medium exifinterface readimagefiledirectory exifinterface java 2046 at android medium exifinterface readimagefiledirectory exifinterface java 2019 at android medium exifinterface readimagefiledirectory exifinterface java 2046 at android medium exifinterface readimagefiledirectory exifinterface java 2019 at android medium exifinterface readimagefiledirectory exifinterface java 2046 at android medium exifinterface readimagefiledirectory exifinterface java 2019 at android medium exifinterface readimagefiledirectory exifinterface java 2046 at android medium exifinterface readimagefiledirectory exifinterface java 2019 at android medium exifinterface readimagefiledirectory exifinterface java 2046 at android medium exifinterface readimagefiledirectory exifinterface java 2019 at android medium exifinterface readimagefiledirectory exifinterface java 2046 at android medium exifinterface readimagefiledirectory exifinterface java 2019 at android medium exifinterface readimagefiledirectory exifinterface java 2046 at android medium exifinterface readimagefiledirectory exifinterface java 2019 at android medium exifinterface readimagefiledirectory exifinterface java 2046 at android medium exifinterface readimagefiledirectory exifinterface java 2019 at android medium exifinterface readimagefiledirectory exifinterface java 2046 at android medium exifinterface readimagefiledirectory exifinterface java 2019 at android medium exifinterface readimagefiledirectory exifinterface java 2046 at android medium exifinterface readimagefiledirectory exifinterface java 2019 at android medium exifinterface readexifsegment exifinterface java 1868 at android medium exifinterface getjpegattribute exifinterface java 1667 at android medium exifinterface loadattribute exifinterface java 1334 at android medium exifinterface exifinterface java 1052 at com facebook imagepipeline producers localexifthumbnailproducer getexifinterface sourcefile 136 at com facebook imagepipeline producer localexifthumbnailproducer 1 getresult sourcefile 2103 at com facebook common executor statefulrunnable run sourcefile 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 | how to set uri in failure hierarchy | Question | I have a scenario in which I have to try another uri if one uri fail to get an image dh setfailureimage accept either drawable or a resource i d please do let I know if there be any way to provide alternate uri or failure uri thank in advance |
facebookfresco | crash for gif with different frame size out of image boundary | Bug | when I play a gif with the url there throw exception java lang illegalstateexception width or height be too small log 02 09 14 55 23 556 18793 20099 com zhejiangdaily a art art runtime java vm ext cc 410 jni detect error in application jni monitorenter call with pende exception java lang illegalstateexception width or height be too small 02 09 14 55 23 556 18793 20099 com zhejiangdaily a art art runtime java vm ext cc 410 at void com facebook animate gif gifframe nativerenderframe int int android graphic bitmap gifframe java 2 02 09 14 55 23 556 18793 20099 com zhejiangdaily a art art runtime java vm ext cc 410 at void com facebook animate gif gifframe renderframe int int android graphic bitmap gifframe java 52 02 09 14 55 23 556 18793 20099 com zhejiangdaily a art art runtime java vm ext cc 410 at void com facebook imagepipeline animate impl animateddrawablebackendimpl renderimagedoesnotsupportscale android graphic canvas com facebook imagepipeline animate base animatedimageframe animateddrawablebackendimpl java 223 02 09 14 55 23 556 18793 20099 com zhejiangdaily a art art runtime java vm ext cc 410 at void com facebook imagepipeline animate impl animateddrawablebackendimpl renderframe int android graphic canvas animateddrawablebackendimpl java 181 the fresco version 1 0 1 why do it happen and how can I fix this bug |
facebookfresco | can t handle mediastore uri if no storage permission | Bug | if storage permission be not grant fetchdecodedimage in imagepipeline fail when pass an imagerequ with a mediastore uri e g content medium external image medium 917 error be storage emulate 0 dcim camera 20161128 142252 jpg open fail eacce permission deny my workaround be to convert the mediastore uri into a file uri that be save in the cache directory the file uri be then pass to fresco if uriutil islocalcamerauri uri uri copymediastoreuritocachedir uri filename uri copymediastoreuritocachedir uri uri string filename string destinationfilename app getappcontext getcachedir getabsolutepath filename bufferedinputstream bis null bufferedoutputstream bos null try bis new bufferedinputstream app getappcontext getcontentresolver openinputstream uri bos new bufferedoutputstream new fileoutputstream destinationfilename false byte buf new byte 1024 bis read buf do bos write buf while bis read buf 1 return uri fromfile new file destinationfilename catch ioexception e finally try if bis null bis close if bos null bos close catch ioexception e return null |
facebookfresco | how can I listen simpledraweeview already show the image | Question | how can I listen simpledraweeview already show the image I want to get blur after show image how can I know |
facebookfresco | dot dash border around image | Question | be there a way to apply dotted dash border around image round image view round corner and set padding between border and image view |
facebookfresco | when download big gif image progressbar finish and then just stay there for several second | Enhancement | can you include decode progress to download progress when show progressbar I have also same issue with big gif image it download fast but then progressbar just stay there for several second until gif start to play I find this this issue fresco display remote gif 5 20 second after download that be same issue I think it would be well solution to reserve 10 20 of progress bar for encode time than keep progressbar almost finish and visible while image be encode |
facebookfresco | when try to fetchimagefrombitmapcache for gif image imagereference be always null | Question | I want to allow user to save gif image in our app I be try to get gif image from fresco cache via fetchimagefrombitmapcache but it always return null for gif image for jpg and png image there be no problem |
facebookfresco | how to use imagepipeline isindiskcache uri in draweeholder | Question | in our app we use custom view to show image everything work fine but when I try to use imagepipeline isindiskcache uri wrong image start to set in wrong place I use draweeholder to show the image here be my code public void draw canvas canvas drawable drawable draweeholder gettopleveldrawable drawable setbound 0 0 width height drawable draw canvas private void checkimagecache string imgurl string thumburl imagepipeline imagepipeline fresco getimagepipeline uri uri uri parse imgurl datasource indiskcachesource imagepipeline isindiskcache uri datasubscriber subscriber new basedatasubscriber override protect void onnewresultimpl datasource datasource if datasource isfinishe return boolean isincache datasource getresult if isincache loadimage imgurl finalthumburl else if isautodownloadallowe loadimage imgurl thumburl draweeholder gethierarchy setprogressbarimage new circleprogressbardrawable else loadthumb thumburl override protect void onfailureimpl datasource datasource log d tag onfailureimpl datasource getfailurecause boolean inmemorycache imagepipeline isinbitmapmemorycache uri if inmemorycache loadimage imgurl thumburl else indiskcachesource subscribe subscriber runnable run private void loadimage string imageurl string thumburl controllerlistener controllerlistener new basecontrollerlistener override public void onfinalimageset string i d imageinfo imageinfo animatable animatable parent invalidate override public void onfailure string i d throwable throwable parent invalidate loadthumb thumburl pipelinedraweecontrollerbuild controllerbuilder fresco newdraweecontrollerbuilder setcontrollerlistener controllerlistener setoldcontroller draweeholder getcontroller setautoplayanimation true setimagerequ imagerequ fromuri imageurl draweeholder setcontroller controllerbuilder build private void loadthumb string thumburl controllerlistener controllerlistener new basecontrollerlistener override public void onfinalimageset string i d imageinfo imageinfo animatable animatable parent invalidate override public void onfailure string i d throwable throwable parent invalidate draweecontroller controllerbuilder fresco newdraweecontrollerbuilder setimagerequ mediahelper getgifthumbnailrequ thumburl setcontrollerlistener controllerlistener setoldcontroller draweeholder getcontroller build draweeholder setcontroller controllerbuilder |
facebookfresco | nullpointer on gethierarchy on version 1 0 1 | Bug | I have the follow code zoomabledraweeview image zoomabledraweeview v findviewbyid r i d test image setcontroller fresco newdraweecontrollerbuilder seturi uri parse build genericdraweehierarchy hierarchy new genericdraweehierarchybuilder getactivity getresource setactualimagescaletype scalingutil scaletype fit center setprogressbarimage new progressbardrawable build image sethierarchy hierarchy and I be use this zoomabledraweeview and I get cause by java lang nullpointerexception at com facebook common internal precondition checknotnull precondition java 210 at com facebook drawee view draweeholder gethierarchy draweeholder java 257 at com facebook drawee view draweeholder iscontrollervalid draweeholder java 321 at com facebook drawee view draweeholder sethierarchy draweeholder java 240 at com facebook drawee view draweeview sethierarchy draweeview java 90 at xxx iku fragment mainfragment oncreateview mainfragment java 126 at android support v4 app fragment performcreateview fragment java 2087 at android support v4 app fragmentmanagerimpl movetostate fragmentmanager java 1113 at android support v4 app fragmentmanagerimpl movetostate fragmentmanager java 1295 at android support v4 app backstackrecord run backstackrecord java 801 at android support v4 app fragmentmanagerimpl execpendingaction fragmentmanager java 1682 at android support v4 app fragmentcontroller execpendingaction fragmentcontroller java 388 at android support v4 app fragmentactivity onstart fragmentactivity java 607 at android support v7 app appcompatactivity onstart appcompatactivity java 181 at xxx iku activity mainactivity onstart mainactivity java 1740 at android app instrumentation callactivityonstart instrumentation java 1238 at android app activity performstart activity java 6320 at android app activitythread performlaunchactivity activitythread java 2386 at android app activitythread handlelaunchactivity activitythread java 2483 at android app activitythread access 900 activitythread java 153 at android app activitythread h handlemessage activitythread java 1349 at android os handler dispatchmessage handler java 102 at android os looper loop looper java 148 at android app activitythread main activitythread java 5441 at java lang reflect method invoke native method at com android internal os zygoteinit methodandargscaller run zygoteinit java 738 at com android internal os zygoteinit main zygoteinit java 628 on version 1 0 0 work fine |
facebookfresco | huawei mate8 can not install application | Question | sorry I didn t find a similar isssus so I open it my problem be that huawei mate8 phone cpu model be kirin 950 can not install the application app integrate fresco the message on the phone be reason for failure this application be not compatible with the cpu model of this device my app gradle file be integrate with on demand packaging split abi enable true reset include x86 x86 64 arm64 v8a armeabi v7a armeabi universalapk false can you help I my english be not very good please forgive I |
facebookfresco | simpledraweespantextview do not resize when width be match parent | Bug | when simpledraweespantextview s width be set to match parent and a draweespan be display which be large than the view s height go back to text do not resize the view see gif pardon the horrendous compression output here be an example of offend code just stuff inside of an activity nothing complicate and don t forget to set the width to match parent on the simpledraweespantextview textview simpledraweespantextview findviewbyid r i d textview textbutton button findviewbyid r i d text button imagebutton button findviewbyid r i d image button textbutton setonclicklistener new view onclicklistener override public void onclick view v final draweespanstringbuilder builder new draweespanstringbuilder builder append hello textview setdraweespanstringbuilder builder imagebutton setonclicklistener new view onclicklistener override public void onclick view v final draweespanstringbuilder builder new draweespanstringbuilder final int startindex builder length builder append final draweecontroller controller fresco newdraweecontrollerbuilder seturi build final draweehierarchy draweehierarchy genericdraweehierarchybuilder newinstance getresource setplaceholderimage new colordrawable color transparent build builder setimagespan mainactivity this draweehierarchy controller startindex builder length 1 dptopx 30 dptopx 30 true draweespan align baseline textview setdraweespanstringbuilder builder this bug be reproducible with 100 consistency on a samsung duos api level 19 and not reproducible on a google pixel api level 25 it be encounter outside of contrived example when simpledraweespantextview be use in a recyclerview to display text of vary length with or without draweespan inside of they it do not matter what type of image it be or where it come from local vs network there be a fix which involve change the call to settext in simpledraweespantextview setdraweespanstringbuilder to explicitly specify buffertype spannable which should be a safe change to make but there may be some consequence I be overlook |
facebookfresco | how get resizeoption in custom decoder s decode | Enhancement | I have large raw bitmap file suppose it be 20 mb int array of bitmap and need to load it with different resolution in different part of app so while build custom decoder I can t get resize option that I have set while building request eventually it cache large bitmap and lead to oom and memory leak question how get resize option in custom decoder s decode method to resize large image |
facebookfresco | request lcom facebook imagepipeline nativecode bitmap nativecopybitmap landroid graphic bitmap ilandroid graphic bitmap ii v | Bug | 4 4 system cannoet load imag white with log e dalvikvm error couldn t find native method request lcom facebook imagepipeline nativecode bitmap nativecopybitmap landroid graphic bitmap ilandroid graphic bitmap ii v other system can use successful |
facebookfresco | applicationcontext getfilesdir getparent java lang nullpointerexception | Bug | fresco 0 13 I get some crash message applicationcontext getfilesdir return null com facebook cache disk diskstoragecache java todo t12287315 remove the temp method for delete create preference in next release private static void maybedeletesharedpreferencesfile context context string directoryname context applicationcontext context getapplicationcontext string path applicationcontext getfilesdir getparent java lang nullpointerexception why file separator share pref file separator share pref filename prefix directoryname file file new file path xml try if file exist file delete catch exception e flog e tag fail to delete sharedpreference from file system java lang nullpointerexception attempt to invoke virtual method java lang string java io file getparent on a null object reference at com facebook cache disk diskstoragecache maybedeletesharedpreferencesfile sourcefile 782 at com facebook cache disk diskstoragecache access 300 sourcefile 50 at com facebook cache disk diskstoragecache 1 run sourcefile 193 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 j |
facebookfresco | gif image play crash on x86 base device | Bug | when I load a gif image on my x86 device the image can be display at first but soon it will crash after a few loop here be the crash backtrace 12 30 18 42 25 772 150 150 I debug 12 30 18 42 25 772 150 150 I debug build fingerprint lenovo k900 k900 4 3 jss15q viberom v1 0 1418 dev k900 user releasekey 12 30 18 42 25 772 150 150 I debug revision 0 12 30 18 42 25 772 150 150 I debug pid 4773 tid 4823 name thread 5812 com facebook sample demo 12 30 18 42 25 772 150 150 I debug signal 11 sigsegv code 128 si kernel fault addr 00000000 12 30 18 42 25 802 150 150 I debug eax 60bbac80 ebx 6108ef24 ecx 00001002 edx 60f61a14 12 30 18 42 25 802 150 150 I debug esi 00000000 edi 00000000 12 30 18 42 25 802 150 150 I debug xcs 00000073 xds 0000007b xes 0000007b xfs 00000000 xss 0000007b 12 30 18 42 25 802 150 150 I debug eip 6106f8df ebp 613ef154 esp 60f619cc flag 00210206 12 30 18 42 25 812 150 150 I debug backtrace 12 30 18 42 25 812 150 150 I debug 00 pc 000058df data app lib com facebook sample demo 2 libgifimage so 12 30 18 42 25 812 150 150 I debug 01 pc 00006f31 data app lib com facebook sample demo 2 libgifimage so 12 30 18 42 25 812 150 150 I debug 02 pc 00002c9b data app lib com facebook sample demo 2 libgifimage so 12 30 18 42 25 812 150 150 I debug 03 pc 000049bd data app lib com facebook sample demo 2 libgifimage so and this be the related code line load mc0 bin loading i686 linux android addr2line e libgifimage so 000058df 00006f31 00002c9b 000049bd user load work fresco fresco 1 0 0 animate gif src main jni nativedep merge giflib dgif lib c 819 user load work fresco fresco 1 0 0 animate gif src main jni nativedep merge giflib dgif lib c 457 user load work fresco fresco 1 0 0 animate gif src main jni gifimage gif cpp 346 user load work fresco fresco 1 0 0 animate gif src main jni gifimage gif cpp 1106 discriminator 2 besides gif image an animate webp image may also cause a similar crash the image be from fresco sample demo and the backtrace look like this 12 30 18 44 11 012 150 150 I debug pid 6445 tid 6520 name thread 5908 com facebook sample demo 12 30 18 44 11 012 150 150 I debug signal 11 sigsegv code 128 si kernel fault addr 00000000 12 30 18 44 11 042 150 150 I debug eax 605482f0 ebx 63ef7ee0 ecx 00000000 edx 63ed2a20 12 30 18 44 11 042 150 150 I debug esi f3ffc000 edi 00000006 12 30 18 44 11 042 150 150 I debug xcs 00000073 xds 0000007b xes 0000007b xfs 00000000 xss 0000007b 12 30 18 44 11 042 150 150 I debug eip 63ec53f7 ebp 605492c0 esp 61ddd58c flag 00210246 12 30 18 44 11 052 150 150 I debug backtrace 12 30 18 44 11 052 150 150 I debug 00 pc 000763f7 data app lib com facebook sample demo 1 libstatic webp so 12 30 18 44 11 052 150 150 I debug 01 pc 0004c18e datum app lib com facebook sample demo 1 libstatic webp so 12 30 18 44 11 052 150 150 I debug 02 pc 0004d17a data app lib com facebook sample demo 1 libstatic webp so 12 30 18 44 11 052 150 150 I debug 03 pc 00051a0b data app lib com facebook sample demo 1 libstatic webp so 12 30 18 44 11 052 150 150 I debug 04 pc 00043124 data app lib com facebook sample demo 1 libstatic webp so 12 30 18 44 11 052 150 150 I debug 05 pc 000452d0 data app lib com facebook sample demo 1 libstatic webp so 12 30 18 44 11 052 150 150 I debug 06 pc 000097e0 data app lib com facebook sample demo 1 libstatic webp so loading mc0 bin loading i686 linux android addr2line e libstatic webp so 000763f7 0004c18e 0004d17a 00051a0b 00043124 000452d0 000097e0 user load android ndk android ndk r12b toolchain x86 4 9 prebuilt darwin x86 64 lib gcc i686 linux android 4 9 x include emmintrin h 979 user load work fresco fresco 1 0 0 static webp src main jni nativedep merge libwebp 0 5 1 src dec frame c 47 user load work fresco fresco 1 0 0 static webp src main jni nativedep merge libwebp 0 5 1 src dec frame c 511 user load work fresco fresco 1 0 0 static webp src main jni nativedep merge libwebp 0 5 1 src dec vp8 c 603 user load work fresco fresco 1 0 0 static webp src main jni nativedep merge libwebp 0 5 1 src dec webp c 488 user load work fresco fresco 1 0 0 static webp src main jni nativedep merge libwebp 0 5 1 src dec webp c 780 user load work fresco fresco 1 0 0 static webp src main jni static webp webp cpp 656 can anyone help we many thank for your kind help |
facebookfresco | build fail with clang error unknown argument fno weak | Bug | from gcc documentation fno weak do not use weak symbol support even if it be provide by the linker by default g use weak symbol if they be available this option exist only for testing and should not be use by end user it result in inferior code and have no benefit this option may be remove in a future release of g let s not use it |
facebookfresco | how to load press image from uri | Question | it like genericdraweehierarchy hierarchy new genericdraweehierarchybuilder getresource uri uri hierarchy setoverlayimage uri |
facebookfresco | how can I getninepatchchunk | Enhancement | this bitmap be a ninepatchdrawable I can get datum from bitmap bitmap getninepatchchunk when it load from picasso but I get a bitmap from network by use fresco I can not get null how can I get datum bitmap getninepatchchunk |
facebookfresco | build uris for local file manually be prone to error | Bug | in different issue e g we ve see that create uris for local file can be prone to error the main reason for this be that the uri builder and uri fromfile method encode certain character such as space we should add a canonical way in uriutil that provide a uri for a give file this would also include update the sample and documentation |
facebookfresco | how to set a image tilemode repeat | Enhancement | how could I set a background image with tile mode repeat and the image be from network not local file |
facebookfresco | how to speed up the the process of get the bitmap from disk cache image | Question | I m try to get fresco cache image from a fragment after a button click event to share the image bitmap in whatsapp unfortunately it s very slow after click the share button 2 3 time code work I m look for well solution imagerequ imagerequ imagerequestbuilder newbuilderwithsource uri parse disck cache setrequestpriority com facebook imagepipeline common priority high setlowestpermittedrequestlevel imagerequ requestlevel disk cache build setrequestpriority priority high datasource datasource imagepipeline fetchdecodedimage imagerequ this try datasource subscribe new basebitmapdatasubscriber override public void onnewresultimpl nullable bitmap bitmap if bitmap null log d tag bitmap datum source return success but bitmap null return sharewithwhatsappbitmap bitmap the bitmap provide to this method be only guarantee to be around for the lifespan of this method the image pipeline free the bitmap s memory after this method have complete this be fine when pass the bitmap to a system process as android automatically create a copy if you need to keep the bitmap around look into use a basedatasubscriber instead of a basebitmapdatasubscriber override public void onfailureimpl datasource datasource no cleanup require here log d tag bitmap datum source onfailureimpl callerthreadexecutor getinstance finally if datasource null datasource close also how to get the only cache image or load from server call back to show the progress bar to user |
facebookfresco | gifimage get value of transparent pixel | Enhancement | I be use the gifimage class to read an animate gif frame by frame I use each gifframe to composite a new gif assemble use a gif encoder animatedgifencoder for each frame I need to tell the encoder what the transparent color be for gif s with transparency gifframe export a method call hastransparency but I also need to know the rgb value of the transparent pixel look into the native c code it appear that this value be know to the c code but not available to the java consumer of the gifframe class be there a way to get the rgb value of the transparent color in a frame of a gif file so that I can pass it on to the encoder when I add the frame to my destination gif thank |
facebookfresco | httpurlconnectionnetworkfetcher open a url connection without set timeout | Enhancement | I find the default implementation of interface networkfetcher that claim the simple class httpurlconnectionnetworkfetcher line 128 l126 l128 opening urlconnection without any timeout it s ok but just like a trap I mean it should be mention in documentation such as to bring user implement by their own |
facebookfresco | animatedzoomablecontroller settransformanimate do nothing | Bug | in zoomable sample this method do nothing only settransformimmediate work please fix |
facebookfresco | animateddrawablecache crash | Question | when the memory occupy by dynamic image 5 m all the frame will be place in memory but when I have many dynamic image in a page example gridview it will consume a lot of memory in the low end mobile phone will be oom I hope the minimum image memory size can be configurable what do you think private static int getdefaultmaxbyte activitymanager activitymanager int memory activitymanager getmemoryclass if memory 32 return 5 1024 1024 else return 3 1024 1024 |
facebookfresco | be postprocesse image store in disk cache | Question | hello my goal be to make postprocesse image to be store in disk cache I be follow cache postprocesse image note but it seem that it only store it in bitmap memory cache although original image be contain in both bitmap and disk cache be there a way to make postprocesse image to be store in disk cache postprocessor redmeshpostprocessor new basepostprocessor override public string getname return redmeshpostprocessor override public void process bitmap bitmap log d log process bitmap bitmap tostring for int x 0 x bitmap getwidth x 2 for int y 0 y bitmap getheight y 2 bitmap setpixel x y color red public cachekey getpostprocessorcachekey return new simplecachekey key uri uri uri parse imagerequ request imagerequestbuilder newbuilderwithsource uri setpostprocessor redmeshpostprocessor build pipelinedraweecontroller controller pipelinedraweecontroller fresco newdraweecontrollerbuilder setimagerequ request setoldcontroller imageview getcontroller other setter as you need build imageview setcontroller controller |
facebookfresco | intercept request to change image url | Question | be there a way to intercept fresco s request to change url and set a thumb size in it I use okhttp s default networkfetcher and I can change the url in fetch method but I need view s size there for it which be not available I be look for something like glidemodule something like this l59 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.