Questions tagged [fresco]

Fresco is an Android library (supports Android 2.3 and above) developed by Facebook and dedicated to image loading. It handles such image operations as downloading, caching, transforming and drawing. Fresco provides useful out of the box features like progressive JPEG streaming and offers a lot of customization.

When handling images on a mobile device, a lot of things can go wrong - from failed network connection up to getting OOM crashes. One may also need to customize an image's appearance for which the Android system provides very few out of the box solutions.

That's basically what Fresco does: loading (network layer), displaying (animated GIF's, circle transformations etc.), handling (memory/disk cache, managing the cache).

Read more:

360 questions
0
votes
1 answer

Facebook Fresco progressive JPEG

try to avoid the loss of image data during a running download from my server via a Fresco ImageRequest. Everything runs perfect, but if the connection fails (interruption of network connectivity), the image is gone. But as I know, some Scans has…
Cirrus
  • 3
  • 2
0
votes
1 answer

Using Fresco library of facebook in eclipse causes class not found exception

I am implementing a test app using fresco library in eclipse as shown in the url but it is not working fine and showing this error NoClassDefFound:Failed resolution of: Lcom/facebook/imagepipeline/core/ImagePipelineFactory; I have followed the same…
0
votes
1 answer

java.lang.NoClassDefFoundError: com.facebook.imagepipeline.producers.HttpUrlConnectionNetworkFetcher

I'm trying to use Fresco but it crashes as soon as I try to initialize it. I use Android Studio and I've been following the instructions located here. In my application class I initialize Fresco just like in the tutorial in the onCreate method like…
DroidT
  • 3,168
  • 3
  • 31
  • 29
0
votes
0 answers

Android error on version 5.1.0

I am getting this error, App is working on other versions and not on only 5.1.0. I am using fresco android image library here. I have support library in place also the setting as correct in setting support library is selected. 09-03 11:01:48.564:…
user3864113
  • 237
  • 1
  • 2
  • 8
0
votes
3 answers

SIze Imageview Placeholders

I am using recyclerview with imageviews in each cell.Each imageview loads images from the web and can be square or with more width than height or more height than width i.e any sizes.I am going to display a placeholder for each image while it loads…
mik dass
  • 49
  • 7
0
votes
2 answers

use xml file in simpleimageview setplaceholderimage

Is there any way to use xml layout into fresco library instead of hierarchy image? I used layout like below : simpledraweeview.getHierarchy().setPlaceholderImage(layout.id); but it didn't work. this error hapend : .Resources$NotFoundException: File…
Morteza
  • 59
  • 2
  • 10
0
votes
1 answer

Fresco: How to add RequestProperty to the ImageRequestBuilder?

The image pipeline uses the HttpURLConnection networking library bundled with Android. HttpURLConnection connection.setRequestProperty("Charset", "utf-8"); Fresco: How to add RequestProperty to the ImageRequestBuilder?
Wrh
  • 1
  • 1
0
votes
1 answer

Import Fresco library to project find speed of gradle compiling slow down a lot

After importing Fresco (Facebook's image awesome product) library to my project, the speed of Android Studio compile project slowed down almost 1 minute. What can I do to speed up? I tried many methods that were metioned to speed up gradle compile…
Walker_Lee
  • 71
  • 4
0
votes
1 answer

SimpleDraweeView rounded inside scrollview

I'm trying to migrate from UIL to Facebook's Fresco lib. So far everything looks fine but when I put a rounded image inside an scrollview I get a weird behaviour: While scrolling to the bottom, the image overlaps the action bar and it keeps there…
Ariel Carbonaro
  • 1,529
  • 1
  • 13
  • 25
0
votes
0 answers

Get bitmap attached to fresco drawee?

I have a serious problem about how to get the bitmap from the fresco's drawee so I can upload it to the server. I have tried the draweeView.getDrawable();but it returns drawable and I don't know what to do next.
Lukas Anda
  • 716
  • 1
  • 9
  • 30
0
votes
2 answers

Replace image without server request using Fresco

I was wondering if there was a way to replace a image in Fresco without reloading it from the server. I have a app where I let the users modify a image and then I upload that new image to the server. However with the way Fresco works I'd need to…
Papajohn000
  • 809
  • 1
  • 16
  • 32
0
votes
1 answer

Rotate & Scale a gif animation using 2 finger gesture in Android using Fresco Library

How to Rotate & Scale a gif animation using 2 finger gesture in Andriod using Fresco Library. Hi I'm trying to perform Translate, Scale and Rotate on View (FrameLayout) in android. In brief, I've a Fresco's SimpleDraweeView inside FrameLayout, as…
prasad
  • 1
  • 1
0
votes
1 answer

Fresco lib supporting inBitmap in Android 4.4

"Android 3.0 (API level 11) introduces the BitmapFactory.Options.inBitmap field. If this option is set, decode methods that take the Options object will attempt to reuse an existing bitmap when loading content. This means that the bitmap's memory is…
Huy Duong Tu
  • 7,798
  • 5
  • 25
  • 46
0
votes
1 answer

Facebook Fresco crashing for pressedStateOverlayImage

When I used pressedStateOverlayImage for my Drawee it is crashing. I used it just as how they've specified here: Using Drawees in XML In layout XML:
Frozen Crayon
  • 5,172
  • 8
  • 36
  • 71
0
votes
1 answer

fresco can't be built by Gradle after imported into Android Studio

We know the Facebook Technology Team open-sourced fresco about 5 days ago. And I git it from Github. And then I imported the whole project, afterwards I tried to build the sample, but AS can't make it. Errors are here: And: And I have changed…
SilentKnight
  • 13,761
  • 19
  • 49
  • 78
1 2 3
23
24