repository
stringclasses
156 values
issue title
stringlengths
1
1.01k
labels
stringclasses
8 values
body
stringlengths
1
270k
facebookfresco
no parameter long paramscheckintervalm
Enhancement
description defaultencodedmemorycacheparamssuppli return return new memorycacheparam maxcachesize max cache entry maxcachesize max eviction queue entry maxcacheentrysize there be no parameter long paramscheckintervalm additional information fresco version v1 13 0 platform version sdk 28
facebookfresco
fresco init fail
Duplicate
fresco version 1 11 0 java io ioexception android app activitythread handlebindapplication activitythread java 6024 android app activitythread wrap2 activitythread java android app activitythread h handlemessage activitythread java 1805 android os handler dispatchmessage handler java 110 android os looper loop looper java 232 android app activitythread main activitythread java 6910 java lang reflect method invoke native method com android internal os zygoteinit methodandargscaller run zygoteinit java 1103 com android internal os zygoteinit main zygoteinit java 964 cause by java lang runtimeexception could not initialize soloader com facebook drawee backends pipeline fresco initialize fresco java 76 com facebook drawee backends pipeline fresco initialize fresco java 45 com oppo community app communityappinit b communityappinit java 64 com oppo community app communityappinit a communityappinit java 55 com oppo community app communityapplication oncreate communityapplication java 37 android app instrumentation callapplicationoncreate instrumentation java 1024 android app activitythread handlebindapplication activitythread java 6021 8 morecause by java io ioexception can not mkdir datum user 0 com oppo community lib main com facebook soloader sysutil mkdirorthrow sysutil java 146 com facebook soloader unpackingsosource prepare unpackingsosource java 415 com facebook soloader soloader initsosource soloader java 266 com facebook soloader soloader init soloader java 170 com facebook soloader soloader init soloader java 153 com facebook drawee backends pipeline fresco initialize fresco java 68 14 more
facebookfresco
fatal exception java lang noclassdeffounderror fail for class com facebook imagepipeline memory nativememorychunk see exception in other thread
Duplicate
fatal exception java lang noclassdeffounderror fail for class com facebook imagepipeline memory nativememorychunk see exception in other thread at com facebook imagepipeline memory nativememorychunkpool alloc nativememorychunkpool java 25 at com facebook imagepipeline memory nativememorychunkpool alloc nativememorychunkpool java 13 at com facebook imagepipeline memory nativememorychunkpool alloc nativememorychunkpool java 13 at com facebook imagepipeline memory basepool get basepool java 267 at com facebook imagepipeline memory memorypooledbytebufferoutputstream sourcefile 51 at com facebook imagepipeline memory memorypooledbytebufferfactory newoutputstream memorypooledbytebufferfactory java 106 at com facebook imagepipeline memory memorypooledbytebufferfactory newoutputstream memorypooledbytebufferfactory java 24 at com facebook imagepipeline memory memorypooledbytebufferfactory newoutputstream memorypooledbytebufferfactory java 24 at com facebook imagepipeline producer networkfetchproducer onresponse networkfetchproducer java 96 at com facebook imagepipeline producer networkfetchproducer 1 onresponse networkfetchproducer java 73 at com facebook imagepipeline backends okhttp3 okhttpnetworkfetcher 2 onresponse okhttpnetworkfetcher java 177 at okhttp3 realcall asynccall execute realcall java 206 at okhttp3 internal namedrunnable run namedrunnable java 32 at java util concurrent threadpoolexecutor runworker threadpoolexecutor java 1162 at java util concurrent threadpoolexecutor worker run threadpoolexecutor java 636 at java lang thread run thread java 764
facebookfresco
can fresco support gif of the round corner
Enhancement
description I find fresco can t support the circle gif animation it ll turn automatically around the corner reproduction code implementation com facebook fresco fresco 1 13 0 implementation com facebook fresco animate gif 1 13 0 implementation com squareup okhttp3 okhttp 3 14 1 implementation com facebook fresco animate base support 1 2 0 string img navview setonnavigationitemselectedlistener monnavigationitemselectedlistener simpledraweeview simpledraweeview simpledraweeview findviewbyid r i d aiapps guide image draweecontroller controller fresco newdraweecontrollerbuilder seturi img setautoplayanimation true build simpledraweeview setcontroller controller image solution how can I fix this which class may relate to this module maybe I can solve it additional information fresco version 1 13 0 platform version android 8 1
facebookfresco
create animate webp use fresco
Question
there be any way to create animate webp gif use fresco
facebookfresco
incompatibility with androidx
Question
description in a project use the androidx library and fresco I need to explicitly enable the jetifi to build the project solution release a new version of the fresco lib that target androidx I see the code be already migrate do you have a plan release date that will include the androidx support
facebookfresco
a group of network picture one do not show
Bug
the url of the image that can not be display be fresco init config kotlin val pipelineconfig okhttpimagepipelineconfigfactory newbuilder this httpserver okhttpclient
facebookfresco
need some help on oom and png image
Question
I have up to 150 png drawable one for each radio station of size 250x250px or approx 25 kb pr drawable I need to downscale they to 100x100 and then keep they in bitmap cache then display they fast again and again e g after tilt when leave or enter the fragment etc I turn to fresco because the normal dalvik art get into oom trouble as the number of button be recently expand be there an easy way to use fresco for this purpose maintain this in memory cache policy avoid downscaling of the original each time etc I get a little confused read the webpage because the reader be bring into a seemingly endless loop of link from one page to another and some information like note1 below I could not find any explanation for in the tutorial nor in the javadoc what I would sincerely appreciate be a code snippet with this functionality 1 initialize fresco context config 2 tell fresco I assume use config to always keep the pool of image in bitmap cache 3 load the 150 image into this cache once only downscale to 100x100 4 fetch the image as the fragment contain they be inflate programmatically in a recur fashion note1 what be bitmapcacheparamssuppli from the tutorial imagepipelineconfig config imagepipelineconfig newbuild context setbitmapmemorycacheparamssuppli bitmapcacheparamssuppli be there a simple way to setup the config like just state setusebitmapcacheforallimage note2 another problem I do set in the simpledraweeview the height and width to 100px but it display as approx 70x70 give or take I see that by compare to the old solution use imagebutton view which display as 100x100 perhaps a bug or a faulty setup on my part here it be if I change to wrap content the size be still the same make I suggest that the width and height for some reason be ignore thank for any help on this
facebookfresco
feature request compliance to r drawable
Enhancement
the current api introduce an extra layer of complexity compare against default android api the suggestion be to replace this uri uri uri parse re r drawable xxx draweeview setimageuri uri with this draweeview setimage r drawable xxx and similar enable the same api as grant by android e g like this draweeview setcolorfilter iow hide away the complex hierarchy builder for elementary feature while keep it of course for advanced configuration your comment
facebookfresco
how can I load non resource drawable
Question
description such as gradientdrawable colordrawable it be not a uri I use drawee setimagedrawable but can t work like imageview additional information fresco version 1 13 0 platform version android 7 0
facebookfresco
some public apis add request
Question
description I use databinde library to bind datum for simpledraweeview and want to know if some attribute of draweeview be specify in the xml such as app backgroundimage app progressbarimage so that I can decide if need set default value for they in bindingadapter and now I only know the state of placeholderimage by call gethierarchy hasplaceholderimage how can I know the other bindingadapter value image public static void loadimage simpledraweeview image final string path if image gethierarchy hasplaceholderimage image gethierarchy setplaceholderimage the default image scalingutil scaletype center inside how to do for backgroundimage solution hope for add some apis in genericdraweehierarchy class like hasplaceholderimage for backgroundimage progressbarimage and other additional information fresco version v1 12 1
facebookfresco
edge repeat when use fresco roundedcornerradius on v1 10 0 and high version on htc m10u
Duplicate
description when I use fresco roundedcornerradius on htc m10u on v1 10 0 and high version I get a edge repeat image the picture I use be big than view and use default scale type centercrop this be my layout and the picture I use screenshot 20190319 111502 when I back to v1 9 0 every thing be ok screenshot 20190319 111917 this issue reproduce only on htc m10u additional information fresco version v1 10 0 1 13 0 platform version htc m10u android 6 0 1
facebookfresco
problem with use fresco webp animation and mediaplayer at the same time
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
problem with share element
Duplicate
the library have problem use the share element when I pass the image to a new activity it disappear and the animation that should be show do not show the same thing happen in reverse why do this happen
facebookfresco
scale up image with roundingparam work wrong android 9 0
Bug
description hello I ve find a problem with scale up image with fresco with round param in android 9 0 when image be small and it need to be scale up to fill view with center crop scaletype for example it display with artifact look like pixel be not interpolate to fill the view but scale separately and image look pixelate at the screenshot top picture look as expect and the bottom one with round pixelate screenshot 20190226 150018 my application reproduction run code on android 9 device reproduse on samsung galaxy s 9 and pixel 2 public class mainactivity extend appcompatactivity private static final string small image url override protect void oncreate bundle savedinstancestate super oncreate savedinstancestate fresco initialize this linearlayout root new linearlayout this root setorientation linearlayout vertical root setlayoutparam new viewgroup layoutparams viewgroup layoutparams match parent viewgroup layoutparam match parent first view without round simpledraweeview firstimage new simpledraweeview this firstimage setimageuri small image url firstimage gethierarchy setactualimagescaletype scalingutil scaletype center crop root addview firstimage paramsforimage same view but with round simpledraweeview secondimage new simpledraweeview this secondimage setimageuri small image url secondimage gethierarchy setactualimagescaletype scalingutil scaletype center crop secondimage gethierarchy setroundingparam roundingparam fromcornersradius 24 root addview secondimage paramsforimage setcontentview root private linearlayout layoutparam paramsforimage linearlayout layoutparam result new linearlayout layoutparams viewgroup layoutparams match parent viewgroup layoutparam match parent result weight 1 return result additional information may be bitmapshader which be use for round work unexpected at android 9 0 round with overlay color work fine fresco version 1 12 1 platform version android 9 0
facebookfresco
fresco support cronet
Enhancement
fresco have any plan on cronet network layer
facebookfresco
fresco fail to load libimagepipeline so
Duplicate
description java lang unsatisfiedlinkerror couldn t find dso to load libimagepipeline so cause by dlopen fail mnt expand 73b20745 928d 44e1 bed7 1093ff4eba84 user 0 com kwai global video social kwaigo lib main libimagepipeline so be 32 bit instead of 64 bit 1 com facebook soloader soloader b soloader java 703 2 com facebook soloader soloader a soloader java 564 3 com facebook soloader soloader b soloader java 500 4 com facebook soloader soloader a soloader java 455 5 com facebook imagepipeline nativecode a a imagepipelinenativeloader java 40 6 com facebook imagepipeline memory nativememorychunk nativememorychunk java 31 7 com facebook imagepipeline memory I b nativememorychunkpool java 5056 8 com facebook imagepipeline memory basepool a basepool java 259 9 com facebook imagepipeline memory nativepooledbytebufferoutputstream nativepooledbytebufferoutputstream java 49 10 com facebook imagepipeline memory k a nativepooledbytebufferfactory java 1139 11 com facebook imagepipeline producer aa 1 a networkfetchproducer java 1088 12 com facebook imagepipeline a a b 2 a okhttpnetworkfetcher java 136 13 okhttp3 v a b realcall java 153 14 okhttp3 internal b run namedrunnable java 32 15 java util concurrent threadpoolexecutor runworker threadpoolexecutor java 1113 16 java util concurrent threadpoolexecutor worker run threadpoolexecutor java 588 17 java lang thread run thread java 818
facebookfresco
handle gif in recyclerview
Question
description I use recyclerview to show many gif but the gif play very slow when it play 7 8 gif at the same time so I turn off auto playing option how can I auto play gif and get a good performance below be my code reproduction java override public void onbindviewholder nonnull final viewholder holder final int position jjal jjal jjallist get position imagerequ request imagerequestbuilder newbuilderwithsource uri parse jjal imageurl setlocalthumbnailpreviewsenable true setlowestpermittedrequestlevel imagerequ requestlevel disk cache setprogressiverenderingenable true build holder ivimage setonclicklistener new view onclicklistener override public void onclick view v boolean playing holder ivimage gettag null boolean holder ivimage gettag final animatable animatable holder ivimage getcontroller getanimatable if animatable null animateddrawable2 animateddrawable animateddrawable2 animatable animateddrawable setanimationlistener new animationlistener override public void onanimationstart animateddrawable2 drawable holder ivimage settag true override public void onanimationstop animateddrawable2 drawable holder ivimage settag false override public void onanimationreset animateddrawable2 drawable override public void onanimationrepeat animateddrawable2 drawable animatable stop override public void onanimationframe animateddrawable2 drawable int framenumber if play animatable start holder ivimage setcontroller fresco newdraweecontrollerbuilder setoldcontroller holder ivimage getcontroller setlowresimagerequ request setautoplayanimation false setcontrollerlistener new basecontrollerlistener override public void onintermediateimageset string i d nullable object imageinfo super onintermediateimageset i d imageinfo updateviewsize holder ivimage imageinfo imageinfo override public void onfinalimageset string i d nullable object imageinfo nullable animatable animatable super onfinalimageset i d imageinfo animatable updateviewsize holder ivimage imageinfo imageinfo build holder view settag position 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 implementation com facebook fresco fresco 1 12 1 implementation com facebook fresco animate gif 1 12 1 platform version fill this out specific to a particular android version device
facebookfresco
malformed gif cause oom
Enhancement
a malformed gif be be send around our app and be be use to dos user the offend gif be here I have prepare a sample app that simply load this gif via fresco it crash with an oom at the end of the gif myapplication zip I notice the gif be 128x128 until the last frame where it be roughly 65000x65000 curious if you guy have any idea on how to workaround this until a proper fix be in place fresco version late as of 1 29 19 1 11 0 platform version android 9 0 pie
facebookfresco
large gif problem
Bug
when I load a large gif in demo app decoder with movie decoder it doesn t work the picture look blurry native decoder be work this be url screenshot 20190122 170505 fresco showcase screenshot 20190122 170449 fresco showcase fresco version 1 11 0 platform version 28
facebookfresco
when use roundascircle placeholder image be no long display as expect
Enhancement
description when set fresco roundascircle true fresco placeholderimagescaletype centercrop be ignore I should see the placeholder image with it s x and y fill the space however it instead display a small version in the upper left corner reproduction additional information fresco version 1 11 0 platform version android 9 google pixel 3 xl
facebookfresco
how to save image to local storage
Question
my app need to load image from local storage apply some transformation and then save the transform image back to local storage I be use fresco to load image from storage everything work well except that I m not able to save image back to local storage this be what I m do to save image kotlin val imagepipeline fresco getimagepipeline val datasource imagepipeline fetchencodedimage imagerequ context datasource subscribe savebitmapsubscriber defaultexecutorsupplier 1 forlocalstoragewrite class savebitmapsubscriber basedatasubscriber override fun onfailureimpl datasource datasource log d javaclass simplename onfailureimpl override fun onnewresultimpl datasource datasource log d javaclass simplename onnewresultimpl onfailureimpl be call every time what be I do wrong be this even the right way to do it the documentation on the topic be scarce
facebookfresco
image not load when app be build with android app bundle
Duplicate
description when I build my app in debug mode or release mode apk it work normally and image get load both in emulator and physical device when I build with android app bundle the image do not load although the drawable placeholder do reproduction I be use nothing too specific in my app s build gradle gradle buildtype release minifyenable false proguardfile getdefaultproguardfile proguard android txt proguard rule pro debug layout xml to load an image java string url the image be not big simpledraweeview cover itemview findviewbyid r i d image cover cover setimageuri url additional information fresco version com facebook fresco fresco 1 11 0 platform version no specific device test on android oreo
facebookfresco
animate gif 1 11 0 incorrectly publish to maven central
Bug
description miss animate gif 1 11 0 pom file see any other version the file in place as result the dependency can t be resolve by maven reproduction maven can t resolve the dependency solution re publish animate gif artifact additional information fresco version 1 11 0
facebookfresco
gravity for overlayimage attribute
Enhancement
description I be try to add an overlay image use the dimension from the drawable and with a top end gravity by default the fresco overlayimage attribute zoom the overlay to the image view would it be possible to specify a gravity for the fresco overlayimage similar to what android do android foreground android foregroundgravity in my use case I can not use android foreground additional information fresco version 1 11 0
facebookfresco
when build via app bundle fresco fail to find libimagepipeline so
Bug
description when launch an activity that use fresco which have be generate via android app bundle it fail to find libimagepipeline so and crash the application reproduction 1 create a sample application that use fresco 2 generate a sign bundle 3 use bundle tool build the apks from the bundle 4 use bundle tool install the apk on to your device 5 navigate to activity where fresco be initialise 6 observe crash solution I originally think this might have be an issue with minify r8 or proguard but I disable all of those and still observe the same result when build via app bundle I have test other component of my app that also use native library but they all operate as expect only with fresco struggle to load the respective binary a temporary but not ideal solution I find be disable splitting of apk s by abi use the follow configuration but include all the binary result in a significantly large apk size android rest of your configuration here bundle abi enablesplit false additional information fresco version 1 10 0 platform version samsung sm g955f android 8 0 0
facebookfresco
scale type centerinside edge be stretch
Duplicate
this be my code val mstructsimplequeryivbrand simpledraweeview context apply hierarchy apply roundingparam roundingparam fromcornersradius uiutil dp2px 2f tofloat setoverlayimage resutil getdrawable context r color alioth bg one box gray actualimagescaletype scalingutil scaletype center inside setplaceholderimage resutil getdrawable context r color alioth general view background layoutparam framelayout layoutparam uiutil dp2px 60f uiutil dp2px 36f apply gravity gravity center load image image the image edge be stretch like image
facebookfresco
build error imagepipeline ndk build bitmap
Bug
I m get this error everytime try to build the sample stacktrace 2018 12 01 22 08 48 628 28543 20318 e activitythread fail to find provider info for com google android app gsa test ui audio record 2018 12 01 22 08 52 668 1670 1687 e batterystatsservice modem info be invalid modemactivityinfo mtimestamp 0 msleeptimem 0 midletimem 0 mtxtimem 0 0 0 0 0 mrxtimem 0 menergyuse 0 2018 12 01 22 08 53 667 28543 20318 e activitythread fail to find provider info for com google android app gsa test ui audio record 2018 12 01 22 15 41 736 28543 20318 e activitythread fail to find provider info for com google android app gsa test ui audio record 2018 12 01 22 15 45 466 1670 1687 e batterystatsservice modem info be invalid modemactivityinfo mtimestamp 0 msleeptimem 0 midletimem 0 mtxtimem 0 0 0 0 0 mrxtimem 0 menergyuse 0 2018 12 01 22 15 46 770 28543 20318 e activitythread fail to find provider info for com google android app gsa test ui audio record 2018 12 01 22 17 17 424 28543 20318 e activitythread fail to find provider info for com google android app gsa test ui audio record 2018 12 01 22 17 22 457 28543 20318 e activitythread fail to find provider info for com google android app gsa test ui audio record 2018 12 01 22 18 32 982 28543 20318 e activitythread fail to find provider info for com google android app gsa test ui audio record 2018 12 01 22 18 38 019 28543 20318 e activitythread fail to find provider info for com google android app gsa test ui audio record beginning of main 2018 12 01 22 22 00 002 1670 1683 e memtrack couldn t load memtrack module 2018 12 01 22 22 00 021 1670 1683 e memtrack couldn t load memtrack module 2018 12 01 22 22 00 033 1670 1683 e memtrack couldn t load memtrack module 2018 12 01 22 22 00 042 1670 1683 e memtrack couldn t load memtrack module 2018 12 01 22 22 00 055 1670 1683 e memtrack couldn t load memtrack module 2018 12 01 22 23 00 003 1670 1683 e memtrack couldn t load memtrack module 2018 12 01 22 23 00 026 1670 1683 e memtrack couldn t load memtrack module 2018 12 01 22 23 00 040 1670 1683 e memtrack couldn t load memtrack module 2018 12 01 22 23 00 049 1670 1683 e memtrack couldn t load memtrack module 2018 12 01 22 24 00 004 1670 1683 e memtrack couldn t load memtrack module 2018 12 01 22 24 20 542 28543 20318 e activitythread fail to find provider info for com google android app gsa test ui audio record 2018 12 01 22 24 20 643 1670 1687 e bluetoothadapter bluetooth binder be null 2018 12 01 22 24 20 646 1670 1687 e kernelcpuspeedreader fail to read cpu freq sys device system cpu cpu0 cpufreq stat time in state no such file or directory 2018 12 01 22 24 20 648 1670 1687 e batterystatsservice modem info be invalid modemactivityinfo mtimestamp 0 msleeptimem 0 midletimem 0 mtxtimem 0 0 0 0 0 mrxtimem 0 menergyuse 0 2018 12 01 22 24 25 575 28543 20318 e activitythread fail to find provider info for com google android app gsa test ui audio record 2018 12 01 22 24 30 602 28543 20318 e activitythread fail to find provider info for com google android app gsa test ui audio record 2018 12 01 22 24 36 048 7721 6167 e wakelock gcm hb alarm release without a match acquire 2018 12 01 22 25 00 007 1670 1683 e memtrack couldn t load memtrack module 2018 12 01 22 25 00 800 28543 20318 e activitythread fail to find provider info for com google android app gsa test ui audio record 2018 12 01 22 25 03 644 1670 1687 e batterystatsservice modem info be invalid modemactivityinfo mtimestamp 0 msleeptimem 0 midletimem 0 mtxtimem 0 0 0 0 0 mrxtimem 0 menergyuse 0 2018 12 01 22 25 05 832 28543 20318 e activitythread fail to find provider info for com google android app gsa test ui audio record 2018 12 01 22 25 15 212 1670 1683 e memtrack couldn t load memtrack module 2018 12 01 22 25 15 223 1670 1683 e memtrack couldn t load memtrack module 2018 12 01 22 26 00 008 1670 1683 e memtrack couldn t load memtrack module 2018 12 01 22 27 00 008 1670 1683 e memtrack couldn t load memtrack module 2018 12 01 22 28 00 005 1670 1683 e memtrack couldn t load memtrack module 2018 12 01 22 28 00 017 1670 1683 e memtrack couldn t load memtrack module 2018 12 01 22 28 00 028 1670 1683 e memtrack couldn t load memtrack module 2018 12 01 22 28 22 100 28543 20318 e activitythread fail to find provider info for com google android app gsa test ui audio record 2018 12 01 22 28 25 085 1670 1687 e batterystatsservice modem info be invalid modemactivityinfo mtimestamp 0 msleeptimem 0 midletimem 0 mtxtimem 0 0 0 0 0 mrxtimem 0 menergyuse 0 2018 12 01 22 28 27 130 28543 20318 e activitythread fail to find provider info for com google android app gsa test ui audio record 2018 12 01 22 29 00 010 1670 1683 e memtrack couldn t load memtrack module 2018 12 01 22 30 00 012 1670 1683 e memtrack couldn t load memtrack module 2018 12 01 22 31 00 010 1670 1683 e memtrack couldn t load memtrack module 2018 12 01 22 31 55 432 1670 1683 e memtrack couldn t load memtrack module 2018 12 01 22 32 00 005 1670 1683 e memtrack couldn t load memtrack module 2018 12 01 22 32 00 018 1670 1683 e memtrack couldn t load memtrack module 2018 12 01 22 33 00 011 1670 1683 e memtrack couldn t load memtrack module 2018 12 01 22 34 00 004 1670 1683 e memtrack couldn t load memtrack module 2018 12 01 22 34 00 015 1670 1683 e memtrack couldn t load memtrack module 2018 12 01 22 35 00 013 1670 1683 e memtrack couldn t load memtrack module 2018 12 01 22 36 00 043 1670 1683 e memtrack couldn t load memtrack module 2018 12 01 22 36 30 528 28543 20318 e activitythread fail to find provider info for com google android app gsa test ui audio record 2018 12 01 22 36 32 698 7721 22163 e ctxmgr appintervalimpl closeinterval ongoing 2018 12 01 22 36 35 527 28543 20318 e activitythread fail to find provider info for com google android app gsa test ui audio record 2018 12 01 22 36 35 694 7721 4872 e placeinferenceengine position timestamp out of order previous 1543696073742 current 1542832589000 skip this position ndk version 18 1 5063045 instal ndk path user doct0rx library android sdk ndk bundle in my fresco gradle local property ndk path path to android ndk r10e org gradle daemon true org gradle parallel true org gradle configureondemand true build w gradle 4 4 building on emulator pixel 2 api 26 android 8 oreo os macos 10 14 1
facebookfresco
question about patent file in dependency
Enhancement
description one of fresco dependency bolt android have a bsd patent style license so it look like legally nothing change since removal of patent file from fresco can you give some clarification on this issue thank reproduction this be not technical issue additional information fresco version any platform version any original issue
facebookfresco
parent have no child drawable on nokia s old device if scaletype be specify for failure drawable
Bug
description we ve get some strange crash on old nokia s device on setfailureimage resourceid scaletype method call non fatal exception java lang nullpointerexception parent have no child drawable at com facebook common internal precondition checknotnull precondition java 226 at com facebook drawee generic wrappingutil wrapchildwithscaletype wrappingutil java 129 at com facebook drawee generic genericdraweehierarchy getscaletypedrawableatindex genericdraweehierarchy java 361 at com facebook drawee generic genericdraweehierarchy setfailureimage genericdraweehierarchy java 465 at com facebook drawee generic genericdraweehierarchy setfailureimage genericdraweehierarchy java 484 at my favorite app photopreviewbinder onbindviewholder photopreviewbinder java 37 reproduction I don t know how to reproduce this crash because we don t have that device but I can show the line of code where crash be occur and how we handle it simpledraweeview photo findviewbyid r i d photo imagerequ imagerequ imagerequestbuilder newbuilderwithsource uri parse entry url setresizeoption resizeoption forsquaresize 200 build photo setimagerequest imagerequ final genericdraweehierarchy hierarchy photo gethierarchy try crash be here hierarchy setfailureimage r drawable video preview stub scalingutil scaletype center crop catch exception e and no crash here hierarchy setfailureimage r drawable video preview stub exceptionhook hook e additional information fresco version 1 11 0 device nokia x rm 980 nokia xl rm 1030 nokiax2ds rm 1013 android version android 4 1 2 api 16 android 4 3 api 18 arch armv7l
facebookfresco
download a gif to local storage
Question
hi I be use fresco version 1 10 0 I have successfully get closeableanimateddrawable from datasource I just need help in how can I save this animate image to my localstorage I try but no succeed regard
facebookfresco
feature request drop shadow color drop shadow in simpledraweeview
Enhancement
it would nice to have drop shadow material drop shadow and colored drop shadow even translucent drop shadow
facebookfresco
question be it possible to get frame of animate gif webp one after another
Question
not always we have a view to show content of animate gif webp example live wallpaper for this it s good to have a bit more manual control of the decode pipeline be there a way to get one frame after another into a bitmap instance while know how much time to wait between they I ve look at the documentation and I couldn t find it
facebookfresco
unable to retrieve uri offline from fresco even if I store it in cache
Question
what if its not a local file mean it would be url of the image how can we find it from the cache file originally post by monika1305 in issuecomment 433371281
facebookfresco
java lang noclassdeffounderror when fresco initialize this
Bug
description hi I have create a simple project at master branch run the app will trigger a crash on fresco initialize this here be the relevant stacktrace java lang noclassdeffounderror fail resolution of landroid support v4 util pool synchronizedpool at com facebook imagepipeline core imagepipelinefactory buildplatformdecoder imagepipelinefactory java 337 at com facebook imagepipeline core imagepipelinefactory getplatformdecoder imagepipelinefactory java 356 at com facebook imagepipeline core imagepipelinefactory getplatformbitmapfactory imagepipelinefactory java 319 at com facebook imagepipeline core imagepipelinefactory getanimatedfactory imagepipelinefactory java 163 at com facebook imagepipeline core imagepipelinefactory getimagedecoder imagepipelinefactory java 222 at com facebook imagepipeline core imagepipelinefactory getproducerfactory imagepipelinefactory java 372 at com facebook imagepipeline core imagepipelinefactory getproducersequencefactory imagepipelinefactory java 402 at com facebook imagepipeline core imagepipelinefactory getimagepipeline imagepipelinefactory java 279 at com facebook drawee backend pipeline pipelinedraweecontrollerbuildersuppli pipelinedraweecontrollerbuildersuppli java 51 at com facebook drawee backend pipeline pipelinedraweecontrollerbuildersuppli pipelinedraweecontrollerbuildersuppli java 42 at com facebook drawee backend pipeline pipelinedraweecontrollerbuildersuppli pipelinedraweecontrollerbuildersupplier java 35 at com facebook drawee backends pipeline fresco initializedrawee fresco java 96 at com facebook drawee backends pipeline fresco initialize fresco java 85 at com facebook drawee backends pipeline fresco initialize fresco java 38 reproduction please checkout to master branch compile and run in emulator or android device solution fresco com facebook imagepipeline need additional dependency to android support v4 util pool synchronizedpool which base on this should be in com android support support compat 28 0 0 additional information fresco version 1 11 0 platform version android emulator api 27 relate with 2194
facebookfresco
memory usage increase after fresco implementation
Question
description I m use glide in my project but face memory usage 120 140 mb then I decide to replace it by fresco because as per description fresco use system cache then I replace by fresco memory usage inceese to 240 270 mb reproduction create recycler adapter with image use glide and check memory usage then replace by fresco and compare fresco version 1 10 0 platform version 5 0 to 8 1
facebookfresco
gif image display frequently trigger garbage collector gc the high the frame rate of gif be the more obvious
Question
description in a scrollable view such as recyclerview while the gif image be display slide the recyclerview will not feel smooth as the frame rate of the gif be large the more obvious I use android profiler to monitor memory find frequently trigger garbage collector gc will seize the main thread time cpu slice reproduction place the gif image in an item in the recyclerview after the gif image be load slide the recyclerview additional information fresco version 1 10 0 gif image url
facebookfresco
how to listen fresco decode fail
Question
description how do I know if fresco be successful in decode image I have a need to monitor the state of image decode but fresco doesn t provide a listener for developer my practice be to use setrequestlistener to register a global listener to know whether a picture show success and analyze throwable in onrequestfailure to judge whether be a decode exception 1 throwable instanceof decodeexception 2 analyze exception message by throwable getstacktrace and if it s cause by artdecoder decodestaticimagefromstream the second judgment look a bit silly solution could fresco provide a listener or there be a well way to solve my problem
facebookfresco
memory increase rapdly when there be webps animateddrawable in recyclerview how to solve the problem
Question
version 1 8 1 or above memory increase rapidly when I use webps in recyclerview I have a webp in each item each webp have about 50 frame and have a size of 150 56 I find that 50 bitmap be decode into memory for each webp each webp have 50 bitmap this be unbelievable there be 100 bitmap in memory when I show two webps both of which be the same also when I scroll out or in to screen each webp be decode into memory once again my question be as follow 1 why use cache strategy cache strategy fresco cache no reuse 2 for default which lead to all the frame be decode to memory 2 can not both of the two webps use the same cache althrough they may be load from the same request there request param be the same also the same file in fact from the equal of framekey I see it that java override public boolean equal object o if o this return true if o instanceof framekey framekey that framekey o return this mimagecachekey that mimagecachekey this mframeindex that mframeindex return false
facebookfresco
imagecachestatstracker s ondiskcachehit should provide the cache key param
Enhancement
description imagecachestatstracker be use for track cache status like disk or encode memory the onbitmapcachehit onmemorycachehit and onstagingareahit method all provide the cache key param from which we can get the request url however the ondiskcachehit method do not provide the cache key param be there any reason not do it currently there be a workaround to do so set a cacheeventlistener to the disk config on configure the image pipeline then do the record inside it work but I think it s not great
facebookfresco
how should use fresco with byte
Question
mediametadataretriever retriever null try retriever new mediametadataretriever retriever setdatasource songpath byte bytes retriever getembeddedpicture xxxxx catch exception e e printstacktrace maybe this be a strange problem but I have some code like this and how should I use fresco next
facebookfresco
bug when use regiondecode and resize together
Bug
when I use regiondecode and resize together then I find the image can not show correctly bitmapregiondecoder suppert resize how to repeat it 1 init here setdownsampleenable be set imagepipelineconfig builder pipelineconfigurebuilder imagepipelineconfig newbuilder this imagepipelineconfig pipelineconfig pipelineconfigurebuilder setdownsampleenable true build fresco initialize this pipelineconfig draweeconfig 2 for a jpg 750 422 resizeoption 375 211 region 164 0 586 422 what I see be as below the bitmap resize do not seem to take effect bitmap size be not 211 211 which I want to be also scaletype be not correct whe setdownsampleenable be set to true we will use insamplesize the follow code targetwidth and targetheight may be error protect closeablereference decodestaticimagefromstream inputstream inputstream bitmapfactory option option nullable rect regiontodecode precondition checknotnull inputstream int targetwidth option outwidth int targetheight option outheight if regiontodecode null targetwidth regiontodecode width targetheight regiontodecode height bitmaptoreuse reconfigure targetwidth targetheight option inpreferredconfig after I change targetwidth to egiontodecode width option insamplesize it work correctlly
facebookfresco
placeholder image scale type not work
Bug
description in layout xml file set simpledraweeview s placeholder scale type but not set placeholder image the scale type not work when set placeholder image in java code reproduction layout xml xml java code java draweeview gethierarchy setplaceholderimage r drawable logo additional information fresco version 1 10 0 platform version android 7 1 1 nexus 6
facebookfresco
svg example doesn t load on xiaomi redmi note 3
Help Wanted
description the svg example just doesn t work on my xiaomi redmi note 3 it show nothing even when I turn on the svg support and restart the showcase app several time but it s fine on my samsung galaxy s6 reproduction it happen on my xiaomi redmi note 3 but not samsung galaxy s6 I have no chance to test on other device additional information fresco version 1 10 0 platform version xiaomi redmi note 3 hennessy android 5 0 2 api lvl 21 cpu architecture aarch64
facebookfresco
migrate to react native 0 56 break fresco s proguard config
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 I migrate from 0 55 4 to 0 56 0 and now proguard be fail my android build I think fresco be get one of its dependency eliminate by proguard so we need to write a keep line to prevent this it would be nice to add this to the changelog of 0 56 or alternatively should react native upgrade do this automatically I look at your proguard template file and they don t seem to have any line that would fix this I guess this may have just slip under the radar 10 16 29 581 error system err warn com facebook imagepipeline nativecode staticwebpnativeloader can t find reference class com facebook common soloader soloadershim 10 16 29 581 error system err warn com facebook imagepipeline nativecode staticwebpnativeloader can t find reference class com facebook common soloader soloadershim 10 16 31 897 error system err warn there be 2 unresolved reference to class or interface reproduction upgrade to rn 0 56 turn on proguard and try to build the android project with facebook s build in proguard template observe that the above class be not find by fresco and fail the build solution someone need to write a keep rule for this and either document it or make fresco automatically share its proguard config
facebookfresco
get load image callback when parent be go in android 7 0
Bug
description I write code like this image when I call parent setvisibility go in android 7 1 1 callback log be not print but in android 7 0 call back log be print fresco version 1 10 0 platform version android 7 0
facebookfresco
roundingbordercolor cause the placeholder image display error
Bug
then qq20180719 1 fresco version all version platform version all device
facebookfresco
make round for placeholder image optional
Enhancement
I set the roundingbordercolor in xml file and set simpledraweeview gethierarchy setplaceholderimage drawable I mean when the simpledraweeview setimage fail why the borderline still on the placeholderimage code imagerequestbuilder dynamicimagerequestbuilder imagerequestbuilder newbuilderwithsource uri parse pipelinedraweecontrollerbuild pipelinedraweecontrollerbuilder fresco newdraweecontrollerbuilder setautoplayanimation false setimagerequ dynamicimagerequestbuilder build simpledraweeview setcontroller pipelinedraweecontrollerbuilder build simpledraweeview gethierarchy setplaceholderimage drawable when the url be right qq20180717 1 but when the url be false qq20180717 0 the border line still in there I mean the border line set on the simpledraweeview when it s fail fresco roundingbordercolor will no work
facebookfresco
which version be fresco more stable than 1 1 1
Question
I have try the follow version I try it from 1 9 0 to 1 3 0 I don t want to try it please give it a stable version thank you app gradle config android compilesdkversion 27 defaultconfig applicationid com zsz testbase64demo minsdkversion 16 targetsdkversion 27 versioncode 1 versionname 1 0 testinstrumentationrunner android support test runner androidjunitrunner the error message be as follow 1 8 0 07 12 09 54 25 525 25768 25802 com zsz testbase64demo e androidruntime fatal exception frescolightweightbackgroundexecutor 1 process com zsz testbase64demo pid 25768 java lang noclassdeffounderror android support v4 util pool synchronizedpool at com facebook imageutil bitmaputil bitmaputil java 30 at com facebook imagepipeline image encodedimage readimagesize encodedimage java 367 at com facebook imagepipeline image encodedimage parsemetadata encodedimage java 334 at com facebook imagepipeline producer localfetchproducer 1 getresult localfetchproducer java 59 at com facebook imagepipeline producer localfetchproducer 1 getresult localfetchproducer java 50 at com facebook common executor statefulrunnable run statefulrunnable java 45 at com facebook common executor callerthreadexecutor execute callerthreadexecutor java 49 at com facebook imagepipeline producer localfetchproducer produceresult localfetchproducer java 77 at com facebook imagepipeline producer addimagetransformmetadataproducer produceresult addimagetransformmetadataproducer java 29 at com facebook imagepipeline producer resizeandrotateproducer produceresult resizeandrotateproducer java 93 at com facebook imagepipeline producer decodeproducer produceresult decodeproducer java 112 at com facebook imagepipeline producer bitmapmemorycacheproducer produceresult bitmapmemorycacheproducer java 95 at com facebook imagepipeline producer multiplexproducer multiplexer startinputproducerifhasattachedconsumer multiplexproducer java 337 at com facebook imagepipeline producer multiplexproducer multiplexer access 000 multiplexproducer java 122 at com facebook imagepipeline producer multiplexproducer produceresult multiplexproducer java 84 at com facebook imagepipeline producers threadhandoffproducer 1 onsuccess threadhandoffproducer java 43 at com facebook common executor statefulrunnable run statefulrunnable java 54 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 53 at java lang thread run thread java 841 1 7 0 simpledraweeview mainactivity 1 4 0 07 12 09 48 06 740 25427 25427 com zsz testbase64demo e androidruntime fatal exception main process com zsz testbase64demo pid 25427 java lang illegalaccesserror try to access method com facebook imagepipeline core imagepipelinefactory getanimatedfactory landroid content context lcom facebook imagepipeline core imagepipelinefactory ljava util set lcom facebook drawee backends pipeline draweeconfig v from class com facebook drawee backend pipeline pipelinedraweecontrollerbuildersupplier at com facebook drawee backend pipeline pipelinedraweecontrollerbuildersuppli pipelinedraweecontrollerbuildersuppli java 60 at com facebook drawee backend pipeline pipelinedraweecontrollerbuildersuppli pipelinedraweecontrollerbuildersuppli java 49 at com facebook drawee backend pipeline pipelinedraweecontrollerbuildersuppli pipelinedraweecontrollerbuildersuppli java 42 at com facebook drawee backends pipeline fresco initializedrawee fresco java 76 at com facebook drawee backends pipeline fresco initialize fresco java 69 at com facebook drawee backends pipeline fresco initialize fresco java 39 at com zsz myapplication oncreate myapplication java 18 at android app instrumentation callapplicationoncreate instrumentation java 1009 at android app activitythread handlebindapplication activitythread java 4613 at android app activitythread access 1800 activitythread java 139 at android app activitythread h handlemessage activitythread java 1316 at android os handler dispatchmessage handler java 102 at android os looper loop looper java 136 at android app activitythread main activitythread java 5314 at java lang reflect method invokenative native method at java lang reflect method invoke method java 515 at com android internal os zygoteinit methodandargscaller run zygoteinit java 864 at com android internal os zygoteinit main zygoteinit java 680 at dalvik system nativestart main native method
facebookfresco
invalid base64 string fail to decode on android 7
Bug
base on api com facebook fresco fresco 1 1 0 can be display use google chrome please help I with the thank you base64 string as follow datum image png base64 ivborw0kggoaaaansuheugaaawgaaafocayaaab65whvaaaaeuleqvr42u3dcbqcvzkh8iibf1qu ufhbxzgjzdmjicocb2zgqscgkexawcgimweffjugoowgbmmeiglisasswmywjuylytdcccfhr8i ko19c6urmnrcnrk8vff ufuce lq7rsdetxh7eq781creqqmcxhicicaberabsickbfratqiika fherqiuickbfraatiikafhebtiiiafperaatigjoerebtigioevebnaiioawerfai4gioeveac0i ioaweqg0iigawkreac0iamgreqg0iaigruqe0ciigbyreucliaigruqalsiigbyrabsiiac6dyey ro2xpf33dfd63f1vxxh7wavt1uh41we u7vtahrqgay0oaenaeadgtcabjsgaq1oqama0iagtomh aeadgtcabjsgaq1oqama0icuenb12 m uxg 6nxmc16f9drivghycabrqgay0oaenao2tl4b2agaa 0iagta8q0idwpgenaccaoaenaed7aaenaeadgtbtgkydwhsct3f77o6lk mw0a40oaenaeadgtca bjsgaq1oqama0iagnkabdwhaaxrqgay0oj23ghagaq1oqama0buedriow0e6onv3qe5aaxrqgay0 oaenaeadgtcabjsgaq1oqama0iagnkabdwhaaxrqgay0oaenaeadgtcabvrkg68os2y3y ngvaw0 aw1oqama0iagnkabdwhaaxrqgay0oaenaeadgtcabjsgaq1o5y2ghwhaaxrqgo5ioot ian7yvh3 gb rmbn6j5 3gay0oaenal4agtcabjsgaq1oqama0hwbnkabdwhaa9ohcghaaxrqgay0oaenaec3 yqdowebrwa 91qv7rq3qglae9qanaead2nrwazsgaw096wea0iagtpwsb2haa9qjaj3rarrqglae 9qanaknexalkj0d3x3yr9hl297 vsp labrqgay0oaxqgay0oaenaae0oaetgay0oaenaealoaen aae0oaenaeadgnwvbuter sutoqe6 g twqvcanca9n6abjsgntpgahrqgay0ol0foaenaeadgtca bjsgntpaa9q5amhaa9r7arrqgg6tblkhg9kuzx7drb5tt5oh5gu0oaenaeadgtcabrs2c2haa sa bjsgaq1oqama0iagteyoaeadgtcabjsgaq1oqlcj0fwcqlsbcru8hzcrf gtursglaab7eqankab dwhaaxrq2icgaq1oqama0iagnkabdwhaaxrqgay0oaenaeadgtcarvwj192w1 25z7rj3ckzclfl dpgd0nybdwhaaxrqgay0oaenaeadgtcabjsgaq1oqama0iagnkabdwhaaxrqgay0oaen6aqcohv4 trndhlrtzgzqmgt5jz8bd2haaxrqgay0oaenaeadgtcabjsgaq1oqama0iagnkabdwhaaxrqgay0 oaenaedxidct r vk585r8nwnfuqnganaeadgtcabjsgaq1oqama0iagnkabdwhaaxrqgay0oaen aeadgtcabjsgaq1oqhckdhw4inr92mm6z8rels od8qm34agnkabdwhaaxrqgay0oaenaeadgtca bjsgaq1oqama0iagnkabdwhal9vnufhgg8drrx0vn910u4wcotlgjrsxkyznwuts3vnafwm zvz4 8tfq1kgyphhwhhpmmbhpppscgtcarkol1d0nqx2gye3zs2diz 6fjfnsaq3oigk93nrrxabbgygm aeadgtbvajr x sjeyyqgncabjsgqwt0jptsql5aaxrqgk4a0ouss05mmzanviagnkabxtwghw4d sl1aaxrqgk7anrfffnvivsh06tul0icun9b1p9cdpjrl3tn27fizc3ftbahwbssgaf1gtrnrrhvr dimz5zzbahrqgab0igm6 9aclf369 8paeadgtardughq4aqdikzfphwqama0ibecucpgtogteuz 5557dtcabjsgvxzqeydojo1sjv saa1oqan6hqe9zcou0i5ljk edghatzfqdtgodriwcwhrriyh qeus lmzc7fhrgenaeadgtcabjsgbdcabjsg2xrov2zhnpfyrj9ni457pulbxyyz1jww89nrd34s 4ueprwx6aeudz tfjdjmlxg9r54tj90yj0ao7wi0oaen6hoafvfcel1 pg0ot8vf03jpszz14ojf 8kmih k73munl5c1qujtj9 u4 ln3zft24k7ifzils79mrfxdwrhlgjlh8xbxaaxrqgg5voj d mxaeefgmhyi nf7c4jg0pbyx5n3ppw6ngdzfwp85exvnia kwgtoxlugrlzzr2n9m9pvlo3y7u7u o44n3znec9 e86fp xuc sge9bez0 9mpgv6ppjif6abdwhaty qx76utvvaxgdynb n etc wmp pj t77lbir766lyv 8u49pubit6rcf7rbwxo7xgc8fa rlw5 t77v4ht7lzxx cevilfp8hcpwxn x86k7pae9oej6f2mxv5xzgq0oag9sozcbjdnnksm9h7prkywqp5ugvitqxr ekqkp5pw sjwidv nbxbqpzntpqwndgmvff1ewsnon zqud33flgveaqon96y9pw rvs4oiv3b6cce5d4nx0wo5kqb9r 4twn4fylvypbc1p84frxq3tit8l5vkwle6ab3xfa905ar55a mrl9fyr ym laodinwwat21begb zxvavznvz2uw1fpbcpxt9fzmgylelp5ulyhpnreksvrw5f9znpgugtkbjc7hldg3q c cehfledv piw2hgboqama0g0m9iej6h9lih ipxr cpr5gwnmt9wr8en057qwoj9j5mwpys5ullo38uo5x kt nxy4r3zd2t7a8sbhgihtl peliffu l8y7qcm5zfnfudy r5sblnn06l7fut48j7zwea0iagdpsc fuacetxhbc6t1fp696wk pzuqd83l9b5zk3rzh9ken9yaj3jnffpqw8qcf4lx matfyvlnmivjzk oef8yel5icbolv0bjeo54xxywvnn0ypbaxj89bzp1t6xaq1oqan6sv0ctydqu5x8swb1plyontdl il7ptohp3ft6obv9wkptplyz1h00b w86rulzlexqf eljmjth68dn0aoc4 siafmzbj8puclv0b 8 c995wsw abxv0tg9cabjsgfwv02lste8sbg3n1nhbep 38gyti6rdgbhdpgohoc9yoto5lauko r359s9dgs3q ogt6krt8nif981lgnpylo6je fjypmcjes5xnj0vzrtmtti 2h4nnqabdwhaly4 hfn8ksxhuve931duz o1xewyi mf6cnnvh6x8zmq3 x6jixnvgifofiuq6afrljdaxp wuig1v xpj9oznv9dmps5xpkg8k nq g4pnvudde86nv9o jzagav33bmlflj37p5x24e7ixubr1xp6 x13 pop4aal6rkudnefox9m2liqr5tbquynzh0ugl0zlirhbxb 4 xpmchsvcv60xollv m81xpe91xw z7tow2k4v6m4qmp3eadtonixluyxa31xcwpwteo5 bzuhrgrdin4xj2lbzrprx5l2zm rlnz93xp 8cwvbs4xludnrzk2ypvrfr29y 8quzzolpudj15i3 o3p8cwk7fybjsgaw1fvhzqo9 m 3fncgmyr 5 ex1fn7b0 t0b i4lazrpuspsov1llc9vqz7 uol8 xlo89ly64t0nxf vex9by67n44vuzao xsbjdbvlom oblsgnkabbv wkfvmqn8x98zgs3p z23p97defoz2jqe6gfsjab2zs5qvaamelyhx l0j9dlf3 i2vy94o 0fkj cog4hfc 7vxpbndgj0u0a0iagth1zpuzzznqh2 fegfy3rj7ffwv6 ecij972xobuip1iwvf0euwlw6rnjs7nlkcfmzbdumlbq15fsu bffhwk9lf 7aeoq e877npgnn 3xkcz1a xqma0ic2l8sg9khi1lrgjcfupb 3rj7xgvz8y ajt75xobti509g9c2 tfha3 oasgsk x mseuiz0s9hrpryqj 0bc9erjl a d7cef9e857zyzsozni2 nmtkw7bjsgaw1flil750apk7s2 wqrnfdck7oaid6e mzp76bz9vn5n8zuyyj6 pxo qwq6r6j75v0d0yl73tty9ulxfzx7helpozd1 xq6 mx27xdq7lhk p23anaab3tynsl22wawtozsa8 g eso8ztlwxwfbpaw8rhhlnhxx90nclbzrp kfen7zwqrawca312v1fb590fr0yjbneni vm6mi kzbnxsq2j4 rtefrh6fbxwqadeivcfti4mmn xo3bluo5h4 g hxdpg8sidappfid y8pqux950 cwszh1gbxzjgnmxrls307ltmmi22hk7hzwoead gtcabvreodb lbs2wqrnfks67iai9f 27ea3km5namkflcu7ovquoocg5zdvwi75f38j e6 rsff r88enkabdejobvr7jxep0zvudn46dxqrnw8pxn1eb8jyatrpeamivtlvfgrfeykynxocn5mlc3pz ls2bjio l08enkabdejobnrpx4rh6rpdg6l6flc5ep bbxctwn7gr8sp6mvzkfp2eiwyrrpqpcfo wz23av2fufglywanaeadutob mfxof2ja2o aayygrhvv2x5ah3 kg xygvlthidoigz7uzh97wk6 ol6v4n5idnw5cgagaq1oqhc20n8butxo1 jaajngkp9jmaf6fyoxheggzkclne umvs0xyej6r6p kv7wu3nxzqvqzzwe25zyspuegaz0d6jrpypzyejpn okj7wanwylkvnt5xtwovjo69787ibfcpd zex8m7sckza xy2xortqhzqpqhnhjyp7zlq fr8 aixo2slte2fzepd9zzfpfoo3qjoqk qhtzr h8xtgo0bg2xfc14957ok5eohvnczgo77cinzkew3bn9bav2bcumxj2w3o7kftols58nx5x6v79ay ocvijcgzys lzktvs2fedy majsgaq3odgh60ejpjubxrkv1nm8xma c 56blg7obs75aeenljjn z0cfvv6c43xsoztoyfmodrgbx t6btz0yles25jgampkuyxeeyzad5oypqdmazsgaq3o gp9nrzo qcvjdy3quwwg7nxmlhff mabpvxh8pnn08qvdpcrq cmziexooezpozxfzv3f32nxsw5ewsdnxd dsl5z9nslz3 elcundcdltx0eomkyagnkabxw g93ikejwux ltn8 tnvmzuvob99e54y0bfeoj xyd8dzzzr3wf3tk1cupl9bwinpncmhxozhtmm4vziqnngydhdlbc9icjcemxo0e yyagnkabxxog bxzdg82 5 ym3fm8gmtfv ran3a rst5npkm4pxdg83q ycj5 mwvq39rpk1t3r sfrz4ckfzj9k ob ylv3hr7b1s7h9armbdwhaa7qeqo cpg0xhrzvc ngbqvifhr0jibfdqjjc75jb9zy37nhvxp vrpoaxb9rmavbs9qtasbhvpwzwel6vnhkwqce09iwceg930lsv9 ixy4dqkgaq3ofdxo2gxtkl3u lld2e6h4wqojc7n6xvxaytqqta5bpnanni9vwfmsrvtpb3tfzgmw yddk psa djmo89peh7buj8 qinz umi2y8bvfflkw3xbgx yvgvbnr3w9cu71elbqia0pue shiay28aymherwyel7lz8wkr2sp xdtqfr8thxpnz1dp3ziqf78fvm8hdswxbiz5u87h 21mzdsmlpebvhrvnkrnfpz3stjv a ivv9s zf9 onos41clgay0oafdkab3fbb4wqprtvfwz6tcw1tv zyca1 7ckd75s9qn5swm1rgej6zpxru 21i9j5w3 90b wrk4tfmiowbcev9uuv8yfk9n3auq e9etb7vrhzrxci22xs9djxfuadgtcargnq dxrpa rdg6u3vs9xf7nzr53 e ocvhvsn 8g4sklzgnaprfq7dpovs8 tjifv t7eph1r0bwi4g8 v6qce48r p7z6vkhzfw8zwl6ewnopz6l7d9hxw4nvaxoqama0dub soc59ugtltpqaro piavub1 qj8 qqyczywngj23pxpu3hhs9j0floo87f epnzg9mi2ssdv urz95xxzi0493o su8kohd7nrl ecj2 u3lgay0oahd3kd3vl 4gfjajcfm9zyq6uwpceir5wx6 wnlxk 9wncev3pu9j0f3bvf v3y g1nj8gunrbzv3p2rcn6npxr bonz7gnn3z6jboexdaqvvxmqoaenaec3l9a759nrxvz2btsr56uk qjqfmupd6b ntab9zmplrlctm3s3vs n7o1dumlt3y yy 6xdm1sv9jio yth33kye93i2qj6b I n98cny7qr arrqgf5z2ht3gw6hc1cozbvj1 8tbgau2ss5wt1fkzyli9zi1fx0lpuerwwvuzcg lkr6znh saqcl1hxy9id9qcpkw2zz8asyn7zhbnvc smlvumj 3eag6j3af2m6vijxdjqia0c3z ec4kb13ipzvpwdsehaev9 9vml0p3nw7nz95zjfogkb4d9rpoc2ezji uzyo71xng10cr597r et0ovsvqama0ibux6d obnog85vcdyq6ctlnpozt0 lupypev fd2k0bv7ax88hdlnyvrd7rnm 7ipjjtgks6 nkd8zd8qsrz7vqkd urmqama0ibux6dzxp58cxt suvirgi5 p4fv37kxij35d8y gvxmvpk4wn5wvdsdun3d7v 5fwtghjne81mmz8z2edhnwyfh3dr1khyaa1oqan6itmyexbkgxg7 div40d0rq19c9osnzy7od1 ebgo7ys ru kkf6y8npnpx3jieenil p fx0ugb8ppzsrqh5aaxrq gbzaaxrqgaa0abrqlw5ydw8e7bavgk53wwjgekaduo33zflkydqenkabdwgvtaaa0iag9blvy9np p01nqama0icu4r4mgzammoagnkabxcv9oegee6gjaeadgtbv3jfpfvaz1aq0oaht2eoq7svo0apj 2cbftccxooagdo2b7tmzjx0bdwhaa7qq 3lvvfcscgkzysqiqama0iduvn1zf 31y bs2frdgmyw wqaabjsgad29 7llllvsdzhzyycdktd2aq1oqhca0pnyla98jebmmupibwthhxesznsfnkab3sfa 58ugg27ocywtueeee jzn tczdsuoahdno2uzs8sd c2991333jggqcixvnmu3ub3x3eahrqtqa6 uwy11vzx umnx1133rvjxoyj8ephnwzzwtsytfncdpfm zzk qktjstyswmb1fi555wtpxr0adsg aq3o6gmng0adgtcabjsgaq1oqama0iagnkabdwha 8wadwhaaxrqgab0sge67mbw6thuqb3u4f3q he3vlysabjsgaq1oqama0iagnkabdwhaaxrqgay0oaenaeadgtcabjsgaq1oqama0iagdjsaxsw8 genyruw20cnpxde9zqma0i4toaenaccxob1bqama0iagnkabdwgnmaadw0adgtcabjsgaq1oqapa squ0oafdaxjqafhdh ose5uo wxdzn2abjsgaq1oqama0iagnkabdwhaaxrqgay0oaenaeadgtca bjsgaq1oqama0iagdfsfsdo8v9kuz4c3y8wpxrdu5 m 6tradgtcabjsgaq1oqama0iagnkabdwha axrqgay0oaenaeadgtcabjsgaq1oqama0b34wdcbdc rvh mdmmdamhaaxrqgay0oaenaealoaen aeadgtcabjsgaq1oqama0iagtaaa0iagnkabxfktru4nh39d971fhs6wdrgotw6fhkabdwhaaxrq gay0oaenaeadgtcabjsgaq1oqama0iagnkabdwhaaxrqgay0oahdwtesy vrrfkr4lh39ozfgay0 oaenaealoaenaeadgtcabjsgas2abjsgaq1oqdtrae24a1oadwhaaxrq3xsi1n2m4jqcqo0ceyc n98uf6c6nbeabjsgaq1oqama0iagnkabdwhaaxrqgay0oaenaeadgtcabjsgaq1oqama0iagde1h abekqvrvr tqq3wyrbxd2i6gaq1oqama0iagnkabdwhagw qgay0oaenaeadgtcabjsgaq1oqama 0iagnkabdehkndjtmonzhvds7n2puntpl1nl6 48oqabdwhaaxrqgay0oaenaeadgtcabjsgaq1o qama0iagnkabdwhaaxrqgay0oaen6eqcco1yielkworqjtrlotyuhq6gaq1oqama0iagnkabdwha axrqgay0oaenaeadgtcabjsgaq1oqama0iagnkabdeiohk ugnxhc6ndftb9 wuabjsgaq1oqama 0iagnkabdwhaaxrqgay0oaenaeadgtcabjsgaq1oqama0iagdiuatx32sw5dpxb3bahk79fd7azu w i2yxc7gay0oaenaeadgtcabjsgaq1oqama0iagnkabdwhaaxrqgay0oaenaeadgtcabnqngmqn d6hylsn tgv6lkdvog rhdcgaq1oqama0iagnkabdwhaaxrqgay0oaenaeadgtcabjsgaq1oqama 0iagnkablsiigbyrabsiiabaratqiiicaberabsickbfratqiikafherqiuickbfraatiikafheb tiiiafpebnaiigjoerebtigioevebnaiioawerfai4gioeveac0iioaweqg0iigawkreac0iamgr eqg0iaigruqe0ciigbyreucliaigruqalsiiyyn d560t9qht3rqaaaaaelftksuqmcc
facebookfresco
what change between v1 8 and v1 1 result in the method bitmap ismutable return false
Question
follow code when download image with imagepipeline closeablebitmap closeablebitmap closeablebitmap imagereference get bitmap bitmap closeablebitmap getunderlyingbitmap glog d tag ismutable bitmap ismutable why return false in previous version here return true what change
facebookfresco
prefetche image in drawable folder
Enhancement
description hello I be try to improve my app speed by prefetche png image that be in the drawable folder and keep they in the cache for fast access whenever they re need I try use the prefetchtodiskcache method for imagepipeline but that method require an imagerequ for the first parameter and imagerequ require either a uri or a file I m think of save all my drawable as file and run code as such imagerequ imagerequ imagerequ fromfile file name here fresco getimagepipeline prefetchtodiskcache imagerequ null however I feel that there be a more elegant way to do this without create a file for every image in the drawable folder please let I know if there be anything that could be do to do prefetch drawable more efficiently additional information fresco version 1 9 0 platform version 26
facebookfresco
when do fresco support heif image
Enhancement
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
add option to always fade in image even if cache
Enhancement
description fresco fadeduration work the first time image url be set but when the image be load from the cache fresco fadeduration be ignore reproduction fade animation work imageview setimageuri fade animation work imageview setimageuri fade animation fail imageview setimageuri solution I suspect this have something to do with final boolean wasimmediate mdatasource hasresult in abstractdraweecontroller submitrequest additional information fresco version 1 9 0 platform version 8 1 I assume all other platform too
facebookfresco
image url change for api level 19
Question
please use this template and delete everything above this line before submit your issue description image loading work fine on api version 21 but the url change to something like this on api level 19 final fail onfailure failure java net connectexception fail to connect to image wedmegood com 2600 9000 2046 d400 14 f6d7 4bc0 93a1 port 443 original url fresco version 1 9 0 platform version api level 19
facebookfresco
local image with exif rotation and resizeoption display s wrong
Bug
description I have image token with samsung camera and place on sd card file exif rotation be orientation rotate 90 6 if I add resizeoption to imagerequestbuilder the image look compress by vertical reproduction here be the sample file place it to sd card root and here be code public class mainactivity extend appcompatactivity private static string permission storage manifest permission read external storage manifest permission write external storage override protect void oncreate bundle savedinstancestate super oncreate savedinstancestate fresco initialize this verifystoragepermission this simpledraweeview simpledraweeview new simpledraweeview this simpledraweeview setlayoutparam new viewgroup layoutparams viewgroup layoutparam match parent viewgroup layoutparam match parent file file new file storage emulate 0 exif270 jpg imagerequestbuilder imagerequestbuilder imagerequestbuilder newbuilderwithsource uri fromfile file setresizeoption resizeoption fordimension 100 300 pipelinedraweecontrollerbuild controllerbuilder fresco newdraweecontrollerbuilder setimagerequest imagerequestbuilder build simpledraweeview setcontroller controllerbuilder build setcontentview simpledraweeview public static void verifystoragepermission activity activity int permission activitycompat checkselfpermission activity manifest permission write external storage if permission packagemanag permission grant activitycompat requestpermission activity permission storage 1 screenshot of result resize bug without resize everything work fine additional information fresco version 1 9 0 platform version android 8 0
facebookfresco
android p fresco initialize
Bug
fresco version 1 8 1 when I try to initialize it I get this error w soloader can not get nativeload method java lang nosuchmethodexception nativeload class java lang string class java lang classloader class java lang string at java lang class getmethod class java 2068 at java lang class getdeclaredmethod class java 2047 at com facebook soloader soloader getnativeloadruntimemethod soloader java 281 at com facebook soloader soloader initsoloader soloader java 233 at com facebook soloader soloader initimpl soloader java 141 at com facebook soloader soloader init soloader java 120 at com facebook soloader soloader init soloader java 104 at com facebook drawee backends pipeline fresco initialize fresco java 63 at com facebook drawee backends pipeline fresco initialize fresco java 46
facebookfresco
fresco site break over https
Enhancement
github now support https for custom domain see currently the fresco site be break over https as all the url in the html appear to be hard code to use http I d suggest change everything to use https and then enable the enforce https option in the github setting
facebookfresco
draweeview setimageuri imageuri throw an exception unknown image format when the image be set from cache
Question
draweeview setimageuri imageuri throw an exception unknown image format when the image be set from cache this be the decoder that be use to decode the input stream after the image be download from the server private static class customimagedecoder implement imagedecod override public closeableimage decode encodedimage encodedimage int length qualityinfo qualityinfo imagedecodeoption option try inputstream inputstream decrypt encodedimage getinputstream bitmap bitmap bitmapfactory decodestream inputstream return new closeablestaticbitmap bitmap simplebitmapreleaser getinstance qualityinfo encodedimage getrotationangle catch ioexception e e printstacktrace return null private void setimage uri imageuri if fresco getimagepipeline isinbitmapmemorycache imageuri draweeview setimageuri imageuri else imagerequestbuilder imagerequestbuilder imagerequestbuilder newbuilderwithsource imageuri setimagedecodeoption imagedecodeoption newbuild setcustomimagedecoder new customimagedecoder build imagerequ imagerequ imagerequestbuilder build draweecontroller controller fresco newdraweecontrollerbuilder seturi imageuri setimagerequest imagerequ setoldcontroller draweeview getcontroller build draweeview setcontroller controller
facebookfresco
exceptionininitializererror show after upgrade to fresco 1 8 1
Bug
description use fresco 1 8 1 then update android studio to 3 1 version build and launch app crash after roll back fresco to 1 7 1 it work fine w system err java lang exceptionininitializererror at com facebook imagepipeline memory nativememorychunkpool alloc nativememorychunkpool java 58 I art reject re init on previously fail class java lang class java lang exceptionininitializererror at com facebook imagepipeline memory nativememorychunk com facebook imagepipeline memory nativememorychunkpool alloc int nativememorychunkpool java 58 at java lang object com facebook imagepipeline memory nativememorychunkpool alloc int nativememorychunkpool java 20 at java lang object com facebook imagepipeline memory basepool get int basepool java 257 at void com facebook imagepipeline memory nativepooledbytebufferoutputstream com facebook imagepipeline memory nativememorychunkpool int nativepooledbytebufferoutputstream java 51 at com facebook imagepipeline memory nativepooledbytebuffer com facebook imagepipeline memory nativepooledbytebufferfactory newbytebuffer java io inputstream int nativepooledbytebufferfactory java 98 at com facebook common memory pooledbytebuffer com facebook imagepipeline memory nativepooledbytebufferfactory newbytebuffer java io inputstream int nativepooledbytebufferfactory java 26 at com facebook common memory pooledbytebuffer com facebook imagepipeline cache buffereddiskcache readfromdiskcache com facebook cache common cachekey buffereddiskcache java 336 at com facebook common memory pooledbytebuffer com facebook imagepipeline cache buffereddiskcache access 400 com facebook imagepipeline cache buffereddiskcache com facebook cache common cachekey buffereddiskcache java 36 at com facebook imagepipeline image encodedimage com facebook imagepipeline cache buffereddiskcache 2 call buffereddiskcache java 182 w system err at com facebook imagepipeline memory nativememorychunkpool alloc nativememorychunkpool java 20 I art at java lang object com facebook imagepipeline cache buffereddiskcache 2 call buffereddiskcache java 166 at void bolt task 4 run task java 357 at void java util concurrent threadpoolexecutor runworker java util concurrent threadpoolexecutor worker threadpoolexecutor java 1133 at void java util concurrent threadpoolexecutor worker run threadpoolexecutor java 607 at void com facebook imagepipeline core prioritythreadfactory 1 run prioritythreadfactory java 53 at void java lang thread run thread java 761 w system err at com facebook imagepipeline memory basepool get basepool java 257 at com facebook imagepipeline memory nativepooledbytebufferoutputstream nativepooledbytebufferoutputstream java 51 w system err at com facebook imagepipeline memory nativepooledbytebufferfactory newbytebuffer nativepooledbytebufferfactory java 98 at com facebook imagepipeline memory nativepooledbytebufferfactory newbytebuffer nativepooledbytebufferfactory java 26 at com facebook imagepipeline cache buffereddiskcache readfromdiskcache buffereddiskcache java 336 at com facebook imagepipeline cache buffereddiskcache access 400 buffereddiskcache java 36 at com facebook imagepipeline cache buffereddiskcache 2 call buffereddiskcache java 182 at com facebook imagepipeline cache buffereddiskcache 2 call buffereddiskcache java 166 at bolt task 4 run task java 357 at java util concurrent threadpoolexecutor runworker threadpoolexecutor java 1133 at java util concurrent threadpoolexecutor worker run threadpoolexecutor java 607 at com facebook imagepipeline core prioritythreadfactory 1 run prioritythreadfactory java 53 w system err at java lang thread run thread java 761 cause by java lang runtimeexception soloader init not yet call at com facebook soloader soloader assertinitialize soloader java 562 at com facebook soloader soloader loadlibrary soloader java 353 at com facebook soloader soloader loadlibrary soloader java 335 at com facebook imagepipeline nativecode imagepipelinenativeloader load imagepipelinenativeloader java 42 at com facebook imagepipeline memory nativememorychunk nativememorychunk java 33 15 more reproduction android studio 3 1 fresco 1 8 1 x android studio 3 0 fresco 1 8 1 x android studio 3 1 fresco 1 7 1 android studio 3 0 fresco 1 7 1 additional information fresco version 1 8 1 platform version android 7 1 1 gradle build tool version 2 2 0 use new proguard file yes
facebookfresco
how I can blur the image
Question
how I can blur my image like this sophiebit zpao ericnakagawa killian veenix
facebookfresco
animation stop without onanimationstop get call
Bug
description I want to hide simpledraweeview after gif animation completion so I have add animationlistener and hide my controller onanimationstop but half of the time it do not call the onanimationstop method let I know if I be do something wrong new basecontrollerlistener override public void onfinalimageset string i d nullable object imageinfo nullable final animatable animatable if animatable null animateddrawable2 animateddrawable animateddrawable2 animatable animateddrawable setanimationlistener new animationlistener override public void onanimationstart animateddrawable2 drawable log I tag onanimationstart override public void onanimationstop animateddrawable2 drawable setvisibility view go log I tag onanimationstop override public void onanimationreset animateddrawable2 drawable log I tag onanimationreset override public void onanimationrepeat animateddrawable2 drawable log I tag onanimationrepeat override public void onanimationframe animateddrawable2 drawable int framenumber log I tag onanimationframe framenumber log I tag animatable start animatable start additional information fresco version 1 8 1 platform version android 7 1 1
facebookfresco
proguard fresco pro break link
Bug
description in file break link to download file proguard fresco pro reproduction or follow instruction download fresco s proguard file proguard fresco pro
facebookfresco
java lang unsatisfiedlinkerror couldn t find dso to load libimagepipeline so
Duplicate
info fresco version 1 8 1 platform version vivo android 5 1 1 cpu arm64 v8a couldn t find dso to load libimagepipeline so com facebook soloader soloader void doloadlibrarybysoname java lang string int android os strictmode threadpolicy 03 23 19 21 55 955 17814 17931 e art dlopen datum datum xxx lib main libimagepipeline so rtld lazy fail dlopen fail datum data xxx lib main libimagepipeline so be 64 bit instead of 32 bit 03 23 19 21 55 955 17814 17931 e soloader could not load libimagepipeline so detail com facebook soloader soloader void doloadlibrarybysoname java lang string int android os strictmode threadpolicy soloader java 522 com facebook soloader soloader void loadlibrarybysoname java lang string java lang string java lang string int android os strictmode threadpolicy soloader java 420 com facebook soloader soloader void loadlibrary java lang string int soloader java 370 com facebook soloader soloader void loadlibrary java lang string soloader java 335 com facebook imagepipeline nativecode imagepipelinenativeloader void load imagepipelinenativeloader java 42 com facebook imagepipeline memory nativememorychunk void nativememorychunk java 33 com facebook imagepipeline memory nativememorychunkpool com facebook imagepipeline memory nativememorychunk alloc int nativememorychunkpool java 58 com facebook imagepipeline memory nativememorychunkpool void free java lang object nativememorychunkpool java 20 parent 1 parent child java lang object alloc int child com facebook imagepipeline memory basepool java lang object get int basepool java 257 com facebook imagepipeline memory nativepooledbytebufferoutputstream void com facebook imagepipeline memory nativememorychunkpool int nativepooledbytebufferoutputstream java 51 com facebook imagepipeline memory nativepooledbytebufferfactory com facebook imagepipeline memory nativepooledbytebuffer newbytebuffer java io inputstream int nativepooledbytebufferfactory java 98 com facebook imagepipeline memory nativepooledbytebufferfactory com facebook common memory pooledbytebufferoutputstream newoutputstream int nativepooledbytebufferfactory java 26 parent 4 parent child com facebook common memory pooledbytebufferoutputstream newoutputstream child child com facebook common memory pooledbytebuffer newbytebuffer java io inputstream int child child com facebook common memory pooledbytebuffer newbytebuffer byte child child com facebook common memory pooledbytebuffer newbytebuffer java io inputstream child com facebook imagepipeline producer localfetchproducer com facebook imagepipeline image encodedimage getbytebufferbackedencodedimage java io inputstream int localfetchproducer java 89 parent 2 parent child com facebook imagepipeline image encodedimage getencodedimage com facebook imagepipeline request imagerequ child child java lang string getproducername child com facebook imagepipeline producer localfetchproducer com facebook imagepipeline image encodedimage getencodedimage java io inputstream int localfetchproducer java 101 com facebook imagepipeline producer localfilefetchproducer com facebook imagepipeline image encodedimage getencodedimage com facebook imagepipeline request imagerequ localfilefetchproducer java 34 com facebook imagepipeline producer localfetchproducer 1 com facebook imagepipeline image encodedimage getresult localfetchproducer java 54 com facebook imagepipeline producer localfetchproducer 1 java lang object getresult localfetchproducer java 50 com facebook common executor statefulrunnable void run statefulrunnable java 45 java util concurrent threadpoolexecutor runworker threadpoolexecutor java 1112 java util concurrent threadpoolexecutor worker run threadpoolexecutor java 587 com facebook imagepipeline core prioritythreadfactory 1 void run prioritythreadfactory java 53 java lang thread run thread java 818
facebookfresco
webp have native memory leak
Bug
description webp have native memory leak please open the file and jump to the function jobject webpimage nativegetframe jnienv penv jobject thiz jint index auto spnativecontext getwebpimagenativecontext penv thiz if spnativecontext throwillegalstateexception penv already dispose return nullptr auto spiter std unique ptr new webpiterator webpdemuxreleaseiterator because webpdemuxreleaseiterator do nothing and spiter will never release the webpdemuxreleaseiterator implemention void webpdemuxreleaseiterator webpiterator iter void iter reproduction play webp animate solution don t use std unique ptr use local var to define spiter or don t specify deleter to std unique ptr additional information fresco version all version platform version fill this out specific to a particular android version device
facebookfresco
there be sawteeth when set round border to display round pic
Bug
description there be sawteeth when set round border to display round pic only on version above 8 0 reproduction here s the code xml java simpledraweeview mtopicimg view findviewbyid this r i d active img uri urii uri parse mpicurl mtopicimg setimageuri uri imagelink the whole picture detail picture detailmark additional information only on version above 8 0 fresco version fresco 1 8 0 platform version oppo r11s android 8 1 0
facebookfresco
placeholder roundcorner to do work
Enhancement
app placeholderimage drawable smart video default cover app placeholderimagescaletype fitxy app roundbottomleft false app roundbottomright false app roundtopleft true app roundtopright true app roundedcornerradius 10dp here be my source code the placeholderimage be a nine patch drawable then the roundedcorner to not work when show placeholder if set a normal drawable to placeholderimage the roundedcorner work well
facebookfresco
load gif image do not take effect when use scalingutil scaletype fit xy zoom type
Bug
description loading gif image do not take effect when use scalingutil scaletype fit xy zoom type the size of the gif be 600 x 338 and the size of the simpledraweeview be 222 x 292 1521019163 1 reproduction additional information fresco version 1 8 1 platform version 5 1
facebookfresco
soloader break custom class loader
Help Wanted
java lang runtimeexception unable to create application com baijiahulian tianxiao app java lang illegalstateexception classloader com taobao sophix core dex a a should be of type basedexclassloader android app activitythread handlebindapplication activitythread java 6500 cause by java lang illegalstateexception classloader com taobao sophix core dex a a should be of type basedexclassloader com facebook soloader soloader api14util getclassloaderldloadlibrary sourcefile 638 com facebook soloader soloader initsoloader sourcefile 238 com facebook soloader soloader initimpl sourcefile 141 com facebook soloader soloader init sourcefile 120 com facebook soloader soloader init sourcefile 104 fresco version 1 8 0 platform version android 7 0
facebookfresco
how can download image when loading listview or gridview to use offline
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
doesn t work with rn 0 51 0 in android
Duplicate
description it crash when I use these in gradle file just for display gif compile com facebook fresco fresco 1 8 1 compile com facebook fresco animate gif 1 this be what the debug print e androidruntime fatal exception mqt native module process com beostore pid 16824 java lang noclassdeffounderror fail resolution of lcom facebook common soloader soloadershim handler at com facebook react shell mainreactpackage 9 get mainreactpackage java 173 at com facebook react shell mainreactpackage 9 get mainreactpackage java 170 at com facebook react lazyreactpackage createnativemodule lazyreactpackage java 81 at com facebook react nativemoduleregistrybuilder processpackage nativemoduleregistrybuilder java 106 at com facebook react reactinstancemanager processpackage reactinstancemanager java 1196 at com facebook react reactinstancemanager processpackage reactinstancemanager java 1166 at com facebook react reactinstancemanager createreactcontext reactinstancemanager java 1099 at com facebook react reactinstancemanager access 800 reactinstancemanager java 112 at com facebook react reactinstancemanager 4 run reactinstancemanager java 927 at java lang thread run thread java 761 cause by java lang classnotfoundexception didn t find class com facebook common soloader soloadershim handler on path dexpathlist zip file datum app com beostore 2 base apk zip file datum app com beostore 2 split lib dependencies apk apk zip file datum app com beostore 2 split lib slice 0 apk apk zip file datum app com beostore 2 split lib slice 1 apk apk zip file datum app com beostore 2 split lib slice 2 apk apk zip file datum app com beostore 2 split lib slice 3 apk apk zip file datum app com beostore 2 split lib slice 4 apk apk zip file datum app com beostore 2 split lib slice 5 apk apk zip file datum app com beostore 2 split lib slice 6 apk apk zip file datum app com beostore 2 split lib slice 7 apk apk zip file datum app com beostore 2 split lib slice 8 apk apk zip file datum app com beostore 2 split lib slice 9 apk apk nativelibrarydirectorie datum app com beostore 2 lib x86 datum app com beostore 2 base apk lib x86 datum app com beostore 2 split lib dependencies apk apk lib x86 datum app com beostore 2 split lib slice 0 apk apk lib x86 datum app com beostore 2 split lib slice 1 apk apk lib x86 datum app com beostore 2 split lib slice 2 apk apk lib x86 datum app com beostore 2 split lib slice 3 apk apk lib x86 datum app com beostore 2 split lib slice 4 apk apk lib x86 datum app com beostore 2 split lib slice 5 apk apk lib x86 datum app com beostore 2 split lib slice 6 apk apk lib x86 datum app com beostore 2 split lib slice 7 apk apk lib x86 datum app com beostore 2 split lib slice 8 apk apk lib x86 datum app com beostore 2 split lib slice 9 apk apk lib x86 system lib vendor lib at dalvik system basedexclassloader findclass basedexclassloader java 56 at java lang classloader loadclass classloader java 380 at java lang classloader loadclass classloader java 312 at com facebook react shell mainreactpackage 9 get mainreactpackage java 173 at com facebook react shell mainreactpackage 9 get mainreactpackage java 170 at com facebook react lazyreactpackage createnativemodule lazyreactpackage java 81 at com facebook react nativemoduleregistrybuilder processpackage nativemoduleregistrybuilder java 106 at com facebook react reactinstancemanager processpackage reactinstancemanager java 1196 at com facebook react reactinstancemanager processpackage reactinstancemanager java 1166 at com facebook react reactinstancemanager createreactcontext reactinstancemanager java 1099 at com facebook react reactinstancemanager access 800 reactinstancemanager java 112 at com facebook react reactinstancemanager 4 run reactinstancemanager java 927 at java lang thread run thread java 761 fresco version late 1 8 1 platform version rn 0 51 0 android sdk api 24 well it have work when I use low version of rn not sure well but seem 0 46 x
facebookfresco
noclassdeffounderror soloadershim handler
Bug
description noclassdeffounderror when update the fresco lib v 1 8 1 with the react soloadershim handler java lang noclassdeffounderror fail resolution of lcom facebook common soloader soloadershim handler at com facebook react shell mainreactpackage 8 get mainreactpackage java 149 at com facebook react shell mainreactpackage 8 get mainreactpackage java 146 at com facebook react lazyreactpackage createnativemodule lazyreactpackage java 81 at com facebook react nativemoduleregistrybuilder processpackage nativemoduleregistrybuilder java 106 at com facebook react reactinstancemanager processpackage reactinstancemanager java 1071 at com facebook react reactinstancemanager processpackage reactinstancemanager java 1042 at com facebook react reactinstancemanager createreactcontext reactinstancemanager java 980 at com facebook react reactinstancemanager access 600 reactinstancemanager java 109 at com facebook react reactinstancemanager 4 run reactinstancemanager java 802 at java lang thread run thread java 761 cause by java lang classnotfoundexception didn t find class com facebook common soloader soloadershim handler on path dexpathlist zip file at dalvik system basedexclassloader findclass basedexclassloader java 56 at java lang classloader loadclass classloader java 380 at java lang classloader loadclass classloader java 312 at com facebook react shell mainreactpackage 8 get mainreactpackage java 149 at com facebook react shell mainreactpackage 8 get mainreactpackage java 146 at com facebook react lazyreactpackage createnativemodule lazyreactpackage java 81 at com facebook react nativemoduleregistrybuilder processpackage nativemoduleregistrybuilder java 106 at com facebook react reactinstancemanager processpackage reactinstancemanager java 1071 at com facebook react reactinstancemanager processpackage reactinstancemanager java 1042 at com facebook react reactinstancemanager createreactcontext reactinstancemanager java 980 at com facebook react reactinstancemanager access 600 reactinstancemanager java 109 at com facebook react reactinstancemanager 4 run reactinstancemanager java 802 at java lang thread run thread java 761 gradle dependency frescolibversion 1 5 0 okhttp3 1 5 0 compile com facebook fresco fresco frescolibversion exclude module bolt task compile com facebook fresco animate gif frescolibversion exclude module bolt task compile com facebook react react native exclude module bolt task compile com facebook fresco imagepipeline okhttp3 okhttp3 exclude module bolt task compile com facebook shimmer shimmer 0 1 0 aar additional information fresco version 1 8 1 platform version android api v26
facebookfresco
regard loading of google drive share image through fresco lib
Question
hi team I be new to this I need your help to load a link that be share in google drive in android sample code can be appreciate joney
facebookfresco
image doesn t show up when width and height be set to match parent
Question
I want to load an image on fullscreen and make it fit the screen however when I set the width and height to match parent nothing get show if I change they to a fix dp it display just fine what be the problem layout fetch the image uri uri uri parse medium setimageuri uri with match parent fix dp
facebookfresco
debug build from source fail with error use of undeclared identifier memset
Bug
description in android studio up to date with ndk 16 1 4479499 and fresco lib source from master branch to last commit yesterday build fail with jpeg jpeg codec cpp 180 3 error use of undeclared identifier memset do you mean wmemset memset dinfo 0 sizeof struct jpeg decompress struct and few more error 1 task fail with an exception what go wrong execution fail for task imagepipeline ndk build imagepipeline 2 task fail with an exception what go wrong execution fail for task static webp ndk build static webp reproduction try to build again fresco version master to platform version debug build for api 24 android 6 0
facebookfresco
java lang verifyerror com facebook I k at soloader initimpl 230dc011 soloader java 203
Bug
description crash be happen on android 4 x device when apk be build with proguard enable and proguard android optimize txt configuration file reproduction 1 get an android 4 x device 2 build an app with follow build setting optimize be the important part debug minifyenable true proguardfile getdefaultproguardfile proguard android optimize txt proguard rule pro proguard fresco pro 3 boom you can find all the detailed information and system dump here additional information fresco version 1 8 0 platform version android 4 x
facebookfresco
the cpu usage be high when I use webp
Help Wanted
follow be the initialize code final memorycacheparam bitmapcacheparam new memorycacheparam max memory cache size byteconstant mb 512 max memory cache size byteconstant mb integer max value integer max value supplier msuppliermemorycacheparam new supplier override public memorycacheparam get return bitmapcacheparam imagepipelineconfig builder builder imagepipelineconfig newbuilder this setdownsampleenable true setbitmapmemorycacheparamssuppli msuppliermemorycacheparams setmemorytrimmableregistry noopmemorytrimmableregistry getinstance setresizeandrotateenabledfornetwork true fresco initialize this builder build follow be the usage of simpledraweeview public easyholder setwebpimageuri int viewid uri uri int width int height drawable defaultdraw simpledraweeview draweeview getview viewid if defaultdraw null genericdraweehierarchy hierarchy draweeview gethierarchy hierarchy setplaceholderimage defaultdraw scalingutil scaletype center imagerequ request imagerequestbuilder newbuilderwithsource uri setresizeoption new resizeoption width height build draweecontroller controller fresco newdraweecontrollerbuilder setimagerequ request setautoplayanimation true build draweeview setcontroller controller return this
facebookfresco
download error when use self check https
Duplicate
description there be an error load the image in case when the xml certificate be invalid or self sign reproduction try load image from server with self sign certificate additional information fresco version 1 8 0 platform version android n
facebookfresco
fatal exception javabridge java lang illegalstateexception
Help Wanted
description we be try to display the array of image get from a remote html page in a webview the html with a javascript to return the index of image click and the array of image url however it cause the exception full exception fatal exception javabridge process net netrogen hkmlapp pid 7195 java lang illegalstateexception at com facebook common internal precondition checkstate precondition java 158 at com facebook drawee component deferredreleaser ensureonuithread deferredreleaser java 101 at com facebook drawee component deferredreleaser canceldeferredrelease deferredreleaser java 96 at com facebook drawee controller abstractdraweecontroller onattach abstractdraweecontroller java 357 at com facebook drawee view draweeholder attachcontroller draweeholder java 264 at com facebook drawee view draweeholder setcontroller draweeholder java 202 at com facebook drawee view draweeview setcontroller draweeview java 122 at com stfalcon frescoimageviewer imagevieweradapter imageviewholder setcontroller imagevieweradapter java 152 at com stfalcon frescoimageviewer imagevieweradapter imageviewholder bind imagevieweradapter java 122 at com stfalcon frescoimageviewer imagevieweradapter onbindviewholder imagevieweradapter java 62 at com stfalcon frescoimageviewer imagevieweradapter onbindviewholder imagevieweradapter java 27 at com stfalcon frescoimageviewer adapter recyclingpageradapter instantiateitem recyclingpageradapter java 79 at android support v4 view viewpager addnewitem viewpager java 1002 at android support v4 view viewpager populate viewpager java 1150 at android support v4 view viewpager populate viewpager java 1084 at android support v4 view viewpager onmeasure viewpager java 1614 at android view view measure view java 18788 at android view viewgroup measurechildwithmargin viewgroup java 5951 at android widget framelayout onmeasure framelayout java 194 at android view view measure view java 18788 at android widget relativelayout measurechildhorizontal relativelayout java 715 at android widget relativelayout onmeasure relativelayout java 461 at android view view measure view java 18788 at android widget relativelayout measurechildhorizontal relativelayout java 715 at android widget relativelayout onmeasure relativelayout java 461 at android view view measure view java 18788 at android view viewgroup measurechildwithmargin viewgroup java 5951 at android widget framelayout onmeasure framelayout java 194 at android view view measure view java 18788 at android view viewgroup measurechildwithmargin viewgroup java 5951 at android widget framelayout onmeasure framelayout java 194 at android view view measure view java 18788 at android support v7 widget alertdialoglayout tryonmeasure alertdialoglayout java 133 at android support v7 widget alertdialoglayout onmeasure alertdialoglayout java 63 at android view view measure view java 18788 at android view viewgroup measurechildwithmargin viewgroup java 5951 at android widget framelayout onmeasure framelayout java 194 at android support v7 widget contentframelayout onmeasure contentframelayout java 139 at android view view measure view java 18788 at android view viewgroup measurechildwithmargin viewgroup java 5951 at android widget linearlayout measurechildbeforelayout linearlayout java 1465 at android widget linearlayout measurevertical linearlayout java 748 at android widget linearlayout onmeasure linearlayout java 630 at android view view measure view java 18788 at android view viewgroup measurechildwithmargin viewgroup java 5951 at android widget framelayout onmeasure framelayout java 194 at android view view measure view java 18788 at android view viewgroup measurechildwithmargin viewgroup java 5951 at android widget linearlayout measurechildbeforelayout linearlayout java 1465 at android widget linearlayout measurevertical linearlayout java 748 at android widget linearlayout onmeasure linearlayout java 630 at android view view measure view java 18788 at android view viewgroup measurechildwithmargin viewgroup java 5951 at android widget framelayout onmeasure framelayout java 194 at com android internal policy phonewindow decorview onmeasure phone reproduction this call reproduce the exception check that the idx and url parameter be properly pass from the javascript new imageviewer builder mcontext url setstartposition idx show solution don t know how to fix additional information fresco version 1 8 0 platform version android 6 0 don t know whether its specific to this version the creation of the customjavascriptinterface be inside a class that extend asynctask which be to do some async download of external javascript before insert it into the webpage of the webview
facebookfresco
about simpledraweespantextview
Bug
I find a problem if set enableresize true and set fix width and height like this draweespanstringbuilder setimagespan getcontext draweehierarchy controller imageposition 60 60 true draweespan align center if the placeholder picture the width be large 140 60 when word break the text on the line may not be full the acture text be text with an inline image use a dd dd dd dd dd draweespan also work with animate image i2d l3qn t3 apsp4 r
facebookfresco
android oreo can t load some png bitmapfactory bitmap mark for reuse 3944728 byte can t fit new bitmap 7889456 byte
Bug
fresco can t load some png on oreo we ve get the followling warning w bitmapfactory bitmap mark for reuse 3944728 byte can t fit new bitmap 7889456 byte the code to reproduce the bug kotlin override fun oncreate savedinstancestate bundle fresco initialize this super oncreate savedinstancestate setcontentview r layout activity main val uri uri parse val draweeview findviewbyid r i d my image view as simpledraweeview draweeview setimageuri uri this step to reproduce launch the sample code on android nougat 7 1 and before it work launch the sample code on android oreo the png be not load expect result same code should work on oreo and nougat device one plus 5 fresco version 1 7 1
facebookfresco
setprogressiverenderingenable true break png image load from network
Bug
description when upgrade fresco to version 1 3 0 if the imagerequ setprogressiverendingenable to true the png image load from network will not display first other non jpeg image will be affect as well it work well with 1 2 0 as a application user we can not distinguish the url to load be a png jpeg webp or other so we try to turn on progressiverenderingenable for all the request though it just support jpeg it should be handle correctly by the imageloader engine fresco because it can parse and get the right image format and then decide to do it or not reproduction the follow code snippet can be use to reproduce this issue private static final string png imagerequ imagerequ imagerequestbuilder newbuilderwithsource uri parse png setprogressiverenderingenable true build draweecontroller controller fresco newdraweecontrollerbuilder setimagerequest imagerequ setoldcontroller draweeview getcontroller build draweeview setcontroller controller logcat 01 09 20 51 53 699 17818 17818 org lcy iwork home v unknown abstractdraweecontroller controller ba4281e null 0 initialize 01 09 20 51 53 699 17818 17818 org lcy iwork home v unknown abstractdraweecontroller controller ba4281e 0 sethierarchy com facebook drawee generic genericdraweehierarchy e5268ff 01 09 20 51 53 709 17818 17818 org lcy iwork home v unknown abstractdraweecontroller controller ba4281e 0 onattach request need submit 01 09 20 51 53 709 17818 17818 org lcy iwork home v unknown pipelinedraweecontroller controller ba4281e getdatasource 01 09 20 51 53 712 17818 17818 org lcy iwork home v unknown requestlogginglistener time 41282905 onrequestsubmit requestid 0 callercontext null isprefetch false 01 09 20 51 53 712 17818 17818 org lcy iwork home v unknown requestlogginglistener time 41282905 onproducerstart requestid 0 producer bitmapmemorycachegetproducer 01 09 20 51 53 713 17818 17818 org lcy iwork home v unknown requestlogginglistener time 41282906 onproducerfinishwithsuccess requestid 0 producer bitmapmemorycachegetproducer elapsedtime 1 ms extramap cache value find false 01 09 20 51 53 714 17818 17818 org lcy iwork home v unknown requestlogginglistener time 41282906 onproducerstart requestid 0 producer backgroundthreadhandoffproducer 01 09 20 51 53 714 17818 17818 org lcy iwork home v unknown abstractdraweecontroller controller ba4281e 0 submitrequ datasource 6308d15 01 09 20 51 53 716 17818 17866 org lcy iwork home v unknown requestlogginglistener time 41282908 onproducerfinishwithsuccess requestid 0 producer backgroundthreadhandoffproducer elapsedtime 2 ms extramap null 01 09 20 51 53 716 17818 17818 org lcy iwork home d yuan onvisibilitychange android widget listview 3ee961b v ed vc I 0 0 0 0 7f0b0063 app i d listview 01 09 20 51 53 718 17818 17866 org lcy iwork home v unknown requestlogginglistener time 41282911 onproducerstart requestid 0 producer bitmapmemorycacheproducer 01 09 20 51 53 719 17818 17866 org lcy iwork home v unknown requestlogginglistener time 41282912 onproducerfinishwithsuccess requestid 0 producer bitmapmemorycacheproducer elapsedtime 1 ms extramap cache value find false 01 09 20 51 53 722 17818 17866 org lcy iwork home v unknown requestlogginglistener time 41282915 onproducerstart requestid 0 producer encodedmemorycacheproducer 01 09 20 51 53 723 17818 17866 org lcy iwork home v unknown requestlogginglistener time 41282916 onproducerfinishwithsuccess requestid 0 producer encodedmemorycacheproducer elapsedtime 1 ms extramap cache value find false 01 09 20 51 53 723 17818 17866 org lcy iwork home v unknown requestlogginglistener time 41282916 onproducerstart requestid 0 producer diskcacheproducer 01 09 20 51 53 727 17818 17867 org lcy iwork home v unknown buffereddiskcache do not find image for in stage area 01 09 20 51 53 728 17818 17867 org lcy iwork home v unknown buffereddiskcache disk cache read for 01 09 20 51 53 729 17818 17867 org lcy iwork home d unknown dynamicdefaultdiskstorage create cache directory datum user 0 org lcy iwork home cache image cache 01 09 20 51 53 733 17818 17867 org lcy iwork home v unknown buffereddiskcache disk cache miss for 01 09 20 51 53 733 17818 17867 org lcy iwork home v unknown requestlogginglistener time 41282926 onproducerfinishwithsuccess requestid 0 producer diskcacheproducer elapsedtime 10 ms extramap cache value find false 01 09 20 51 53 735 17818 17867 org lcy iwork home v unknown requestlogginglistener time 41282927 onproducerstart requestid 0 producer networkfetchproducer 01 09 20 51 53 786 17818 17868 org lcy iwork home v unknown nativememorychunkpool use 1 262144 free 0 0 01 09 20 51 53 786 17818 17868 org lcy iwork home v unknown nativememorychunkpool get alloc object size 9981282 262144 01 09 20 51 53 787 17818 17836 org lcy iwork home d openglrenderer endallactiveanimator on 0xea692800 rippledrawable with handle 0xb1c83c60 01 09 20 51 53 787 17818 17868 org lcy iwork home v unknown genericbytearraypool use 1 16384 free 0 0 01 09 20 51 53 787 17818 17868 org lcy iwork home v unknown genericbytearraypool get alloc object size defad93 16384 01 09 20 51 53 788 17818 17868 org lcy iwork home v unknown requestlogginglistener time 41282981 onproducerevent requestid 0 stage networkfetchproducer eventname intermediate result elapsedtime 53 ms 01 09 20 51 53 795 17818 17868 org lcy iwork home d skia png error read error 01 09 20 51 53 795 17818 17868 org lcy iwork home d skia skandroidcodec newfromstream return null 01 09 20 51 53 802 17818 17868 org lcy iwork home d skia png error read error 01 09 20 51 53 802 17818 17868 org lcy iwork home d skia skandroidcodec newfromstream return null 01 09 20 51 53 806 17818 17876 org lcy iwork home v unknown requestlogginglistener time 41282999 onproducerstart requestid 0 producer decodeproducer 01 09 20 51 53 813 17818 17876 org lcy iwork home d skia png error read error 01 09 20 51 53 813 17818 17876 org lcy iwork home d skia skandroidcodec newfromstream return null 01 09 20 51 53 814 17818 17876 org lcy iwork home w unknown requestlogginglistener time 41283007 onproducerfinishwithfailure requestid 0 stage decodeproducer elapsedtime 8 ms extramap samplesize 1 hasgoodquality true imageformat png encodedimagesize 1x 1 isfinal false queuetime 2 requestedimagesize unknown throwable java lang illegalargumentexception 01 09 20 51 53 814 17818 17818 org lcy iwork home v unknown abstractdraweecontroller controller ba4281e 0 final fail onfailure failure java lang illegalargumentexception 01 09 20 51 53 815 17818 17876 org lcy iwork home w unknown requestlogginglistener time 41283008 onrequestfailure requestid 0 elapsedtime 103 ms throwable java lang illegalargumentexception 01 09 20 51 53 828 17818 17868 org lcy iwork home v unknown requestlogginglistener time 41283021 onproducerfinishwithsuccess requestid 0 producer networkfetchproducer elapsedtime 94 ms extramap queue time 47 total time 92 fetch time 45 image size 141665 01 09 20 51 53 828 17818 17868 org lcy iwork home v unknown requestlogginglistener time 41283021 onultimateproducerreache requestid 0 producer networkfetchproducer elapsedtime 1 ms success true 01 09 20 51 53 835 17818 17868 org lcy iwork home v unknown stagingarea count 1 01 09 20 51 53 836 17818 17877 org lcy iwork home v unknown buffereddiskcache about to write to disk cache for key 01 09 20 51 53 836 17818 17868 org lcy iwork home v unknown genericbytearraypool release reuse object size defad93 16384 01 09 20 51 53 836 17818 17868 org lcy iwork home v unknown genericbytearraypool use 0 0 free 1 16384 01 09 20 51 53 841 17818 17877 org lcy iwork home v unknown genericbytearraypool use 1 16384 free 0 0 01 09 20 51 53 841 17818 17877 org lcy iwork home v unknown genericbytearraypool get reuse object size defad93 16384 01 09 20 51 53 842 17818 17877 org lcy iwork home v unknown genericbytearraypool release reuse object size defad93 16384 01 09 20 51 53 842 17818 17877 org lcy iwork home v unknown genericbytearraypool use 0 0 free 1 16384 01 09 20 51 53 843 17818 17877 org lcy iwork home v unknown buffereddiskcache successful disk cache write for key 01 09 20 51 53 843 17818 17877 org lcy iwork home v unknown stagingarea count 0 from the log we can see onproducerfinishwithfailure requestid 0 stage decodeproducer elapsedtime 8 ms extramap samplesize 1 hasgoodquality true imageformat png encodedimagesize 1x 1 isfinal false queuetime 2 requestedimagesize unknown throwable java lang illegalargumentexception isfinal false make the decodeproducer fail solution after compare the differece between 1 2 0 and 1 3 0 the change to networkimageprogressdecoder updatedecodejob will modify the behavior for immediate result see code l450 version 1 2 0 if the image be a png or webp the networkimageprogressdecoder updatedecodejob will return false for immediate result only the final result be get dodecode will be call so it work fine version 1 3 0 if the image be a png or webp setprogressiverenderingenable be true the networkimageprogressdecoder updatedecodejob will return true because the super call then dodecode be call to decode partial datum and then fail so I think if the result be not last but immediate result networkimageprogressdecoder updatedecodejob should always return false for non jpeg and ignore the setprogressiverenderingenable config thank
facebookfresco
animate webp rendering be break
Bug
description the animate webp in the showcase sample project be render incorrectly original webp chrome only feat webp fresco 1 7 1 on google pixel 1 8 1 sample animate webp rubix fresco crop scale ignore the color difference the latter be a gif so that the image be show side by side note that webp file that have full size intermediary frame do not seem to be affect such as this one reproduction 1 build and launch the sample project 2 navigate to the webp sample under the image format section in the hamburger menu 3 scroll down to the animate webp and notice the corrupt image additional information fresco version 1 7 1 platform version 8 1
facebookfresco
why dalvikpurgeabledecoder not support region decode
Question
in commit just add region decode to artdecoder why not add to dalvikpurgeabledecoder
facebookfresco
cachekey doesn t contain postprocessor when submit a imagerequ
Bug
description when submit a imagerequ with postprocessor bitmapmemorycacheproducer produceresult should use getpostprocessedbitmapcachekey method otherwise the cache bitmap key be different from the mcachekey of pipelinedraweecontroller class solution use getpostprocessedbitmapcachekey replace getbitmapcachekey in bitmapmemorycacheproducer produceresult
facebookfresco
improve error handling for setfirstavailableimagerequest
Enhancement
description we have find crash on device of old android version I m not sure what I have do wrong can you give I some clue that why it would happen so I can pinpoint the issue thank very much here s the stacktrace fatal exception java lang illegalargumentexception list of supplier be empty at com facebook common internal precondition checkargument precondition java 122 at com facebook datasource firstavailabledatasourcesupplier firstavailabledatasourcesupplier java at com facebook datasource firstavailabledatasourcesupplier create firstavailabledatasourcesupplier java 41 at com facebook drawee controller abstractdraweecontrollerbuilder getfirstavailabledatasourcesupplier abstractdraweecontrollerbuilder java 370 at com facebook drawee controller abstractdraweecontrollerbuilder obtaindatasourcesupplier abstractdraweecontrollerbuilder java 337 at com facebook drawee backend pipeline pipelinedraweecontrollerbuilder obtaincontroller pipelinedraweecontrollerbuilder java 88 at com facebook drawee backend pipeline pipelinedraweecontrollerbuilder obtaincontroller pipelinedraweecontrollerbuilder java 37 at com facebook drawee controller abstractdraweecontrollerbuilder buildcontroller abstractdraweecontrollerbuilder java 311 at com facebook drawee controller abstractdraweecontrollerbuilder build abstractdraweecontrollerbuilder java 295 at com ss android application app image frescoloader getcontroller frescoloader java 773 at com ss android application app image frescoloader access 000 frescoloader java 105 at com ss android application app image frescoloader 6 onpredraw frescoloader java 347 at android view viewtreeobserver dispatchonpredraw viewtreeobserver java 680 at android view viewrootimpl performtraversal viewrootimpl java 1848 at android view viewrootimpl dotraversal viewrootimpl java 990 at android view viewrootimpl traversalrunnable run viewrootimpl java 4359 at android view choreographer callbackrecord run choreographer java 749 at android view choreographer docallback choreographer java 562 at android view choreographer doframe choreographer java 532 at android view choreographer framedisplayeventreceiver run choreographer java 735 at android os handler handlecallback handler java 725 at android os handler dispatchmessage handler java 92 at android os looper loop looper java 213 at android app activitythread main activitythread java 5092 at java lang reflect method invokenative method java at java lang reflect method invoke method java 511 at com android internal os zygoteinit methodandargscaller run zygoteinit java 797 at com android internal os zygoteinit main zygoteinit java 564 at dalvik system nativestart main nativestart java reproduction can not reproduce it only happen in production additional information fresco version com facebook fresco fresco 1 2 0 platform version most of the crash xperia z1f htc j butterfly android 4 2 2 and 4 1 1
facebookfresco
resizeoption be not work in fresco 1 7 1
Bug
description excuse I I can not confirm this be a bug but when I update fresco version to 1 7 1 resizeoption be not work but it work normally in version 1 5 0 please help I to test this function thx reproduction this be my code java public static void loadimgbyfile commonimageview imageview string path if imageview null textutil isempty path file file new file path if size too large then resize if file exist bitmapfactory option option new bitmapfactory option option injustdecodebound true bitmapfactory decodefile path option int imageheight option outheight int imagewidth option outwidth int maxsize getglestexturemaxsize log e texture test imageheight imageheight imagewidth imagewidth maxsize maxsize if maxsize imageheight maxsize imagewidth imagerequ request imagerequestbuilder newbuilderwithsource uri fromfile file setresizeoption new resizeoption maxsize 2 maxsize 2 maxsize build draweecontroller controller fresco newdraweecontrollerbuilder setimagerequ request setoldcontroller imageview getcontroller build imageview setcontroller controller log e texture test controller controller return imageview setimageuri uri parse file path java private static int opengl max size 0 private static int getglestexturemaxsize if opengl max size 0 return opengl max size egl10 egl egl10 eglcontext getegl egldisplay dpy egl eglgetdisplay egl10 egl default display int ver new int 2 egl eglinitialize dpy ver int configattr egl10 egl color buffer type egl10 egl rgb buffer egl10 egl level 0 egl10 egl surface type egl10 egl pbuffer bit egl10 egl none eglconfig config new eglconfig 1 int numconfig new int 1 egl eglchooseconfig dpy configattr config 1 numconfig if numconfig 0 0 trouble no config find eglconfig config config 0 int surfattr egl10 egl width 64 egl10 egl height 64 egl10 egl none eglsurface surf egl eglcreatepbuffersurface dpy config surfattr final int egl context client version 0x3098 miss in egl10 int ctxattrib egl context client version 1 egl10 egl none eglcontext ctx egl eglcreatecontext dpy config egl10 egl no context ctxattrib egl eglmakecurrent dpy surf surf ctx int maxsize new int 1 gles10 glgetintegerv gles10 gl max texture size maxsize 0 egl eglmakecurrent dpy egl10 egl no surface egl10 egl no surface egl10 egl no context egl egldestroysurface dpy surf egl egldestroycontext dpy ctx egl eglterminate dpy opengl max size maxsize 0 return opengl max size when I run they in fresco 1 7 1 the logcat show image the resizeoption be not work simpledraweeview show blank I think it be because that openglrenderer can t load the jpeg image when the height or width of the jpeg image be too large draweecontroller should have load the resizeoption which I set but it upload the original image to openglrenderer instead when I run they in fresco 1 5 0 the logcat show image the resizeoption be work normally simpledraweeview can show picture just a guess I notice in the page image region decode support be add in this version this commit bd249fa change artdecoder I can not confirm the problem because of this commit some device parameter device model huawei p9 huawei eva al00 platform android 7 0 api level 24 screen resolution 1080 1920 cpu hisilicon kirin 955 ram 3 0 gb
facebookfresco
how to cache resize local image
Enhancement
hi in our app we be list local photo but the problem be fresco doesn t cache the local file when I scroll a recyclerview during every data bind library be attempt to resize the raw photo on this behavior there be a lag in scroll also eat too much system resource how to handle this any help would be appreciate
facebookfresco
java lang unsatisfiedlinkerror
Bug
description I meet a bug on sumsung and zte phone the descirption java lang noclassdeffounderror com facebook imagepipeline memory nativememorychunk url url 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 sumsung and zte phone 4 0 66 7 0 33
facebookfresco
bitmap limit be hardcode to 384
Enhancement
hi I m use fresco to load a lot of sticker until version number 14 there be no any problem in 14 and above always on pre lollipop version this exception happen and app crash I set maximum number of cache in fresco configuration com facebook imagepipeline common toomanybitmapsexception
facebookfresco
image be not get load in release apk by use fresco
Question
while building release apk get follow warn warning com facebook imagepipeline memory bitmapcounterprovider can t find reference class com facebook infer annotation threadsafe I supresse it by use progard rule dontwarn com facebook infer annotation threadsafe do this issue concern with image loading in release apk
facebookfresco
issue loading image when imagepath contain special char like
Duplicate
description imagepath for my image be storage emulate 0 picture ogq richard walker stairway to heaven 3f ykfgr2rz jpg try loading image with above url but it fail because it contain as special char in path otherwise work fine additional information fresco version 1 5 0 platform version android all version on all device
facebookfresco
canvas try to draw too large bitmap how to point this crash
Question
fatal exception java lang runtimeexception canvas try to draw too large 214622500byte bitmap at android view displaylistcanvas throwifcannotdraw displaylistcanvas java 260 at android graphic canvas drawbitmap canvas java 1420 at android graphic drawable bitmapdrawable draw bitmapdrawable java 545 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 3306 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 1268 at android view view draw view java 18394 at android view view updatedisplaylistifdirty view java 17372 at android view viewgroup recreatechilddisplaylist viewgroup java 3953 at android view viewgroup dispatchgetdisplaylist viewgroup java 3933 at android view view updatedisplaylistifdirty view java 17335 at android view view draw view java 18156 at android view viewgroup drawchild viewgroup java 3969 at android support v7 widget recyclerview drawchild recyclerview java 4485 at android view viewgroup dispatchdraw viewgroup java 3755 at android view view draw view java 18397 at android support v7 widget recyclerview draw recyclerview java 3892 at android view view updatedisplaylistifdirty view java 17372 at android view viewgroup recreatechilddisplaylist viewgroup java 3953 at android view viewgroup dispatchgetdisplaylist viewgroup java 3933 at android view view updatedisplaylistifdirty view java 17335 at android view viewgroup recreatechilddisplaylist viewgroup java 3953 at android view viewgroup dispatchgetdisplaylist viewgroup java 3933 at android view view updatedisplaylistifdirty view java 17335 at android view viewgroup recreatechilddisplaylist viewgroup java 3953 at android view viewgroup dispatchgetdisplaylist viewgroup java 3933 at android view view updatedisplaylistifdirty view java 17335 at android view viewgroup recreatechilddisplaylist viewgroup java 3953 at android view viewgroup dispatchgetdisplaylist viewgroup java 3933 at android view view updatedisplaylistifdirty view java 17335 at android view viewgroup recreatechilddisplaylist viewgroup java 3953 at android view viewgroup dispatchgetdisplaylist viewgroup java 3933 at android view view updatedisplaylistifdirty view java 17335 at android view viewgroup recreatechilddisplaylist viewgroup java 3953 at android view viewgroup dispatchgetdisplaylist viewgroup java 3933 at android view view updatedisplaylistifdirty view java 17335 at android view viewgroup recreatechilddisplaylist viewgroup java 3953 at android view viewgroup dispatchgetdisplaylist viewgroup java 3933 at android view view updatedisplaylistifdirty view java 17335 at android view viewgroup recreatechilddisplaylist viewgroup java 3953 at android view viewgroup dispatchgetdisplaylist viewgroup java 3933 at android view view updatedisplaylistifdirty view java 17335 at android view viewgroup recreatechilddisplaylist viewgroup java 3953 at android view viewgroup dispatchgetdisplaylist viewgroup java 3933 at android view view updatedisplaylistifdirty view java 17335 at android view threadedrenderer updateviewtreedisplaylist threadedrenderer java 722 at android view threadedrenderer updaterootdisplaylist threadedrenderer java 728 at android view threadedrenderer draw threadedrenderer java 836 at android view viewrootimpl draw viewrootimpl java 3181 at android view viewrootimpl performdraw viewrootimpl java 2977 at android view viewrootimpl performtraversal viewrootimpl java 2565 at android view viewrootimpl dotraversal viewrootimpl java 1550 at android view viewrootimpl traversalrunnable run viewrootimpl java 7189 at android view choreographer callbackrecord run choreographer java 959 at android view choreographer docallback choreographer java 734 at android view choreographer doframe choreographer java 670 at android view choreographer framedisplayeventreceiver run choreographer java 945 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 6776 at java lang reflect method invoke method java at com android internal os zygoteinit methodandargscaller run zygoteinit java 1520 at com android internal os zygoteinit main zygoteinit java 1410
facebookfresco
thumbnail of video from android document provider do not show
Bug
description video thumbnail can not be render via simpledraweeview setimageuri if the content uri be like content com android provider medium document document video 3a160 reproduction my app allow user to choose a file from android document provider the intent be construct by this way java public static intent getchoosemediaintent string type intent intent new intent intent action get content mediastore video medium external content uri intent settype type type be video here return intent the return uri be content com android provider medium document document video 3a160 however when I use simpledraweeview setimageuri to render the video thumbnail it should blank solution the root cause as I find out be within localvideothumbnailproducer getlocalfilepath for the uri content com android provider medium document document video 3a160 this method will return null I ve send a pr 1970 additional information fresco version 1 5 0 platform version android 7 1 1 on oneplus 5 android 7 1 2 on xiaomi 5c device 2017 11 16 171253
facebookfresco
get bitmap cache with datasource fail
Duplicate
description get bitmap cache with datasource fail reproduction mportraitpath datum user 0 xxx xxx jpg the local picture have bean show in the simpledraweeview successfully imagerequ imagerequ imagerequ fromfile new file mportraitpath imagepipeline imagepipeline fresco getimagepipeline datasource datasource imagepipeline fetchimagefrombitmapcache imagerequ this datasource subscribe new basebitmapdatasubscriber override protect void onnewresultimpl bitmap bitmap error bitmap always null here override protect void onfailureimpl datasource datasource uithreadimmediateexecutorservice getinstance
facebookfresco
bad performance in fresco with recycler view possibly due to kotlin
Enhancement
reproduction my app currently have a main page with 60 image with a small text that be display use a recycler view and I would expect fresco to handle fine since it should only be load a few at a time however I frequently get a pool size violation I m not entirely sure if this be a fault on my side or on fresco s so I m decide to include snippet of my code note it s mostly in kotlin however I m reluctant to say this be the problem since most of the interaction with fresco be do through java however I haven t find any other fault kotlin override fun oncreateviewholder parent viewgroup viewtype int recyclerviewadapter viewholder val v layoutinflat from parent context inflate r layout list parent false return viewholder v this method be bind the datum on the list override fun onbindviewholder holder recyclerviewadapter viewholder position int holder binditem list position this method be give the size of the list override fun getitemcount int return list size class viewholder view view recyclerview viewholder view fun binditem data mydata val imageview simpledraweeview itemview findviewbyid r i d imageview imageview setonclicklistener log e click datum imageurl call a java method to set image in drawee require function setpicture imageview datum imageurl set the onclick listener for the singlt list item itemview setonclicklistener log e itemclicke datum text and here s my reference setpicture function java public static void setpicture simpledraweeview img string img location imagerequ request imagerequestbuilder newbuilderwithsource uri parse img location setresizeoption new resizeoption 100 100 build draweecontroller controller fresco newdraweecontrollerbuilder setoldcontroller img getcontroller setimagerequ request build img setcontroller controller extra information I m on fresco 1 5 0 and I ve try this out on my nexus 6 and an s4 on the nexus 6 the image load but upon scroll I get the error above and the s4 crash upon boot up even though the picture be resize to 100x100 thank for help solution I m not really sure about this but my guess be since my recycler view be entirely do in kotlin there be an incompatibility when detect if a item be off the screen lead to the image never be take out of memory additional information fresco version fresco 1 5 0 platform version not specific to any android version or device to my knowledge
facebookfresco
abstractdraweecontrollerbuilder setdatasourcesupplier should return builder
Enhancement
description abstractdraweecontrollerbuilder setdatasourcesuppli should return builder fresco newdraweecontrollerbuilder setdatasourcesuppli supplier build solution change abstractdraweecontrollerbuilder setdatasourcesuppli to return builder additional information fresco version 1 5
facebookfresco
crash when play some animate webp
Bug
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 it can render a few frame but crash later reproduction play the webp solution additional information I get some log output for help 10 27 16 05 41 425 29538 31483 xx a art art runtime java vm ext cc 410 jni detect error in application jni monitorenter call with pende exception java lang illegalstateexception fail to decode frame 10 27 16 05 41 425 29538 31483 xx a art art runtime java vm ext cc 410 at void com facebook animate webp webpframe nativerenderframe int int android graphic bitmap webpframe java 2 10 27 16 05 41 425 29538 31483 xx a art art runtime java vm ext cc 410 at void com facebook animate webp webpframe renderframe int int android graphic bitmap webpframe java 50 10 27 16 05 41 425 29538 31483 xx a art art runtime java vm ext cc 410 at void com facebook imagepipeline animate impl animateddrawablebackendimpl renderimagesupportsscale android graphic canvas com facebook imagepipeline animate base animatedimageframe animateddrawablebackendimpl java 203 10 27 16 05 41 425 29538 31483 xx a art art runtime java vm ext cc 410 at void com facebook imagepipeline animate impl animateddrawablebackendimpl renderframe int android graphic canvas animateddrawablebackendimpl java 177 10 27 16 05 41 425 29538 31483 xx a art art runtime java vm ext cc 410 at void com facebook imagepipeline animate impl animatedimagecompositor renderframe int android graphic bitmap animatedimagecompositor java 120 10 27 16 05 41 425 29538 31483 xx a art art runtime java vm ext cc 410 at boolean com facebook fresco animation bitmap wrapper animateddrawablebackendframerenderer renderframe int android graphic bitmap animateddrawablebackendframerenderer java 74 10 27 16 05 41 425 29538 31483 xx a art art runtime java vm ext cc 410 at boolean com facebook fresco animation bitmap preparation defaultbitmapframepreparer framedecoderunnable renderframeandcache int com facebook common reference closeablereference int defaultbitmapframepreparer java 175 10 27 16 05 41 425 29538 31483 xx a art art runtime java vm ext cc 410 at boolean com facebook fresco animation bitmap preparation defaultbitmapframepreparer framedecoderunnable prepareframeandcache int int defaultbitmapframepreparer java 154 10 27 16 05 41 425 29538 31483 xx a art art runtime java vm ext cc 410 at boolean com facebook fresco animation bitmap preparation defaultbitmapframepreparer framedecoderunnable prepareframeandcache int int defaultbitmapframepreparer java 162 10 27 16 05 41 425 29538 31483 xx a art art runtime java vm ext cc 410 at void com facebook fresco animation bitmap preparation defaultbitmapframepreparer framedecoderunnable run defaultbitmapframepreparer java 112 10 27 16 05 41 425 29538 31483 xx a art art runtime java vm ext cc 410 at void com facebook common executor constrainedexecutorservice worker run constrainedexecutorservice java 177 10 27 16 05 41 425 29538 31483 xx a art art runtime java vm ext cc 410 at void java util concurrent threadpoolexecutor runworker java util concurrent threadpoolexecutor worker threadpoolexecutor java 1113 10 27 16 05 41 425 29538 31483 xx a art art runtime java vm ext cc 410 at void java util concurrent threadpoolexecutor worker run threadpoolexecutor java 588 10 27 16 05 41 425 29538 31483 xx a art art runtime java vm ext cc 410 at void com facebook imagepipeline core prioritythreadfactory 1 run prioritythreadfactory java 42 10 27 16 05 41 425 29538 31483 xx a art art runtime java vm ext cc 410 at void java lang thread run thread java 818 10 27 16 05 41 425 29538 31483 xx a art art runtime java vm ext cc 410 10 27 16 05 41 425 29538 31483 xx a art art runtime java vm ext cc 410 in call to monitorenter 10 27 16 05 41 425 29538 31483 xx a art art runtime java vm ext cc 410 from void com facebook animate webp webpframe nativerenderframe int int android graphic bitmap 10 27 16 05 41 425 29538 31483 xx a art art runtime java vm ext cc 410 thread 7809 prio 5 tid 86 runnable 10 27 16 05 41 425 29538 31483 xx a art art runtime java vm ext cc 410 group main scount 0 dscount 0 obj 0x33d2c100 self 0xd7724e00 10 27 16 05 41 425 29538 31483 xx a art art runtime java vm ext cc 410 systid 31483 nice 10 cgrp bg non interactive sche 0 0 handle 0xc7f7f930 10 27 16 05 41 425 29538 31483 xx a art art runtime java vm ext cc 410 state r schedstat 118803164 71801828 135 utm 11 stm 0 core 0 hz 100 10 27 16 05 41 425 29538 31483 xx a art art runtime java vm ext cc 410 stack 0xc7e7d000 0xc7e7f000 stacksize 1038 kb 10 27 16 05 41 425 29538 31483 xx a art art runtime java vm ext cc 410 hold mutexe mutator lock share hold 10 27 16 05 41 425 29538 31483 xx a art art runtime java vm ext cc 410 native 00 pc 0035cd85 system lib libart so zn3art15dumpnativestackernst3 113basic ostreamicns0 11char traitsiceeeeipkcpns 9artmethodepv 116 10 27 16 05 41 425 29538 31483 xx a art art runtime java vm ext cc 410 native 01 pc 0033d753 system lib libart so znk3art6thread4dumpernst3 113basic ostreamicns1 11char traitsiceeee 138 10 27 16 05 41 425 29538 31483 xx a art art runtime java vm ext cc 410 native 02 pc 0024f8f9 system lib libart so zn3art9javavmext8jniabortepkcs2 760 10 27 16 05 41 425 29538 31483 xx a art art runtime java vm ext cc 410 native 03 pc 0024ff97 system lib libart so zn3art9javavmext9jniabortvepkcs2 st9 va list 54 10 27 16 05 41 425 29538 31483 xx a art art runtime java vm ext cc 410 native 04 pc 000fc033 system lib libart so zn3art11scopedcheck6abortfepkcz 30 10 27 16 05 41 425 29538 31483 xx a art art runtime java vm ext cc 410 native 05 pc 00100f0f system lib libart so zn3art11scopedcheck5checkern 18scopedobjectaccessebpkcpns 12jnivaluetypee constprop 95 5054 10 27 16 05 41 425 29538 31483 xx a art art runtime java vm ext cc 410 native 06 pc 0010cac3 system lib libart so zn3art8checkjni12monitorenterep7 jnienvp8 jobject 370 10 27 16 05 41 425 29538 31483 xx a art art runtime java vm ext cc 410 native 07 pc 000089cb datum app com sohu qianfan 1 lib arm libstatic webp so 10 27 16 05 41 425 29538 31483 xx a art art runtime java vm ext cc 410 native 08 pc 00008b91 data app com sohu qianfan 1 lib arm libstatic webp so 10 27 16 05 41 425 29538 31483 xx a art art runtime java vm ext cc 410 native 09 pc 000ea8c9 system lib libart so art quick generic jni trampoline 40 10 27 16 05 41 425 29538 31483 xx a art art runtime java vm ext cc 410 native 10 pc 000e61d1 system lib libart so art quick invoke stub internal 64 10 27 16 05 41 425 29538 31483 xx a art art runtime java vm ext cc 410 native 11 pc 003eb9e3 system lib libart so art quick invoke stub 170 10 27 16 05 41 425 29538 31483 xx a art art runtime java vm ext cc 410 native 12 pc 000ff3a4 stack 31483 10 27 16 05 41 425 29538 31483 xx a art art runtime java vm ext cc 410 at com facebook animate webp webpframe nativerenderframe native method 10 27 16 05 41 425 29538 31483 xx a art art runtime java vm ext cc 410 at com facebook animate webp webpframe renderframe webpframe java 50 10 27 16 05 41 425 29538 31483 xx a art art runtime java vm ext cc 410 at com facebook imagepipeline animate impl animateddrawablebackendimpl renderimagesupportsscale animateddrawablebackendimpl java 203 10 27 16 05 41 425 29538 31483 xx a art art runtime java vm ext cc 410 lock 0x09d071be a com facebook imagepipeline animate impl animateddrawablebackendimpl 10 27 16 05 41 425 29538 31483 xx a art art runtime java vm ext cc 410 at com facebook imagepipeline animate impl animateddrawablebackendimpl renderframe animateddrawablebackendimpl java 177 10 27 16 05 41 425 29538 31483 xx a art art runtime java vm ext cc 410 at com facebook imagepipeline animate impl animatedimagecompositor renderframe animatedimagecompositor java 120 10 27 16 05 41 425 29538 31483 xx a art art runtime java vm ext cc 410 at com facebook fresco animation bitmap wrapper animateddrawablebackendframerenderer renderframe animateddrawablebackendframerenderer java 74 10 27 16 05 41 425 29538 31483 xx a art art runtime java vm ext cc 410 at com facebook fresco animation bitmap preparation defaultbitmapframepreparer framedecoderunnable renderframeandcache defaultbitmapframepreparer java 175 10 27 16 05 41 425 29538 31483 xx a art art runtime java vm ext cc 410 at com facebook fresco animation bitmap preparation defaultbitmapframepreparer framedecoderunnable prepareframeandcache defaultbitmapframepreparer java 154 10 27 16 05 41 425 29538 31483 xx a art art runtime java vm ext cc 410 at com facebook fresco animation bitmap preparation defaultbitmapframepreparer framedecoderunnable prepareframeandcache defaultbitmapframepreparer java 162 10 27 16 05 41 425 29538 31483 xx a art art runtime java vm ext cc 410 at com facebook fresco animation bitmap preparation defaultbitmapframepreparer framedecoderunnable run defaultbitmapframepreparer java 112 10 27 16 05 41 425 29538 31483 xx a art art runtime java vm ext cc 410 at com facebook common executor constrainedexecutorservice worker run constrainedexecutorservice java 177 10 27 16 05 41 425 29538 31483 xx a art art runtime java vm ext cc 410 at java util concurrent threadpoolexecutor runworker threadpoolexecutor java 1113 10 27 16 05 41 425 29538 31483 xx a art art runtime java vm ext cc 410 at java util concurrent threadpoolexecutor worker run threadpoolexecutor java 588 10 27 16 05 41 425 29538 31483 xx a art art runtime java vm ext cc 410 at com facebook imagepipeline core prioritythreadfactory 1 run prioritythreadfactory java 42 10 27 16 05 41 425 29538 31483 xx a art art runtime java vm ext cc 410 at java lang thread run thread java 818 fresco version 1 5 0 platform version all device
facebookfresco
how can I get gif total frame count and duration
Question
I need to get the total frame count and the total duration of the gif fresco version 1 5 0
facebookfresco
load webp animation picture be success but wait a minute crash
Duplicate
load webp animation picture be success but wait a minute crash android version be 4 4 4 device be meitu m4 fatal exception thread 860 process com duowan mobile pid 13315 java lang runtimeexception fail to pin bitmap at com facebook imagepipeline nativecode bitmap nativepinbitmap native method at com facebook imagepipeline nativecode bitmap pinbitmap bitmap java 41 at com facebook imagepipeline platform dalvikpurgeabledecoder pinbitmap dalvikpurgeabledecoder java 156 at com facebook imagepipeline platform kitkatpurgeabledecoder pinbitmap kitkatpurgeabledecoder java 30 at com facebook imagepipeline platform dalvikpurgeabledecoder decodejpegfromencodedimage dalvikpurgeabledecoder java 91 at com facebook imagepipeline platform kitkatpurgeabledecoder decodejpegfromencodedimage kitkatpurgeabledecoder java 30 at com facebook imagepipeline bitmaps honeycombbitmapfactory createbitmapinternal honeycombbitmapfactory java 63 at com facebook imagepipeline bitmap platformbitmapfactory createbitmap platformbitmapfactory java 76 at com facebook imagepipeline bitmap platformbitmapfactory createbitmap platformbitmapfactory java 43 at com facebook fresco animation bitmap preparation defaultbitmapframepreparer framedecoderunnable prepareframeandcache defaultbitmapframepreparer java 144 at com facebook fresco animation bitmap preparation defaultbitmapframepreparer framedecoderunnable prepareframeandcache defaultbitmapframepreparer java 162 at com facebook fresco animation bitmap preparation defaultbitmapframepreparer framedecoderunnable run defaultbitmapframepreparer java 112 at com facebook common executor constrainedexecutorservice worker run constrainedexecutorservice java 177 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 42 at java lang thread run th 10 24 14 39 25 952 27469 27469 com duowan mobile e viewrootimpl could not lock surface java lang illegalargumentexception at android view surface nativelockcanvas native method at android view surface lockcanvas surface java 243 at android view viewrootimpl drawsoftware viewrootimpl java 2973 at android view viewrootimpl draw viewrootimpl java 2943 at android view viewrootimpl performdraw viewrootimpl java 2780 at android view viewrootimpl performtraversal viewrootimpl java 2390 at android view viewrootimpl dotraversal viewrootimpl java 1262 at android view viewrootimpl traversalrunnable run viewrootimpl java 6408 at android view choreographer callbackrecord run choreographer java 788 at android view choreographer docallback choreographer java 591 at android view choreographer doframe choreographer java 560 at android view choreographer framedisplayeventreceiver run choreographer java 774 at android os handler handlecallback handler java 808 at android os handler dispatchmessage handler java 103 at android os looper loop looper java 193 at android app activitythread main activitythread java 5509 at java lang reflect method invokenative native method at java lang reflect method invoke method java 515 at com android internal os zygoteinit methodandargscaller run zygoteinit java 835 at com android internal os zygoteinit main zygoteinit java 651 at dalvik system nativestart main native method