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
-1
votes
1 answer

Converting string to date using R

How can I convert string"15081947" to a valid date format "1947-08-15" using R?
nikita
  • 9
-1
votes
1 answer

1. Create a sequence of number from 10 and 20 and assign it to variable M. 2.Identify the position of values greater than 13 and less than 20

I have tried below code , but it is showing not accurate answers M = seq(10,20) print(which(M > 13 & M<20))
-1
votes
1 answer

How to crop some part of a view as separate view

I have a SimpleDraweeView (from Fresco) like Imageview in my android app. Its dimensions are match_parent for both height and width. I want to create a separate view which will be showing the bottom 54dp of content of the SimpleDraweeView . The new…
Pardeep Kumar
  • 900
  • 1
  • 14
  • 30
-1
votes
1 answer

Fresco.initialize not working in Fragment

Fresco is not working when I am initializing it in the OnCreate or OnCreateView of the fragment. Is there something I am doing wrong?
Shubham Panda
  • 87
  • 2
  • 4
-1
votes
1 answer

Use SimpleDraweeView to show local image error reporting

When I use SimpleDraweeView to show local images,something went wrong Uri uri = Uri.parse("file://"+data); simpleDraweeView.setImageURI(uri); The error is UncaughtException detected: java.lang.IllegalStateException at…
Puppet
  • 1
  • 1
-1
votes
1 answer

issue loading image using facebook's Fresco image loading library when imagepath contains special chars like %

I am using Fresco to load image in our app but in case where imagepath contains any special symbols or chars like % or #, it doesn't load image. imagepath for my image is : /storage/emulated/0/Pictures/OGQ/Richard Walker_Stairway To…
Ujjwal
  • 346
  • 4
  • 11
-1
votes
1 answer

Is there a way to stop facebook Fresco from loading large images

I have some crash reports related to OutOfMemoryError during playing animated gifs. com.facebook.imagepipeline.animated.impl.AnimatedDrawableCachingBackendImpl.createNewBitmap java.lang.OutOfMemoryError We don't have a control over some of the…
Sergey Dryganets
  • 899
  • 8
  • 18
-1
votes
1 answer

How can I download the image but not display it? Using Fresco

I need to save the encoded image to the external storage, to display it later, even if the device is offline.
-1
votes
1 answer

How to set LinearLayout background image with Fresco in code

Earlier, I thought that Fresco can be used as a complete replacement of Picasso. For example, I can use Picasso to load a Bitmap and set it on any view using solution as suggested on this SO answer. Is this supported with Fresco? To be more specific…
Shubham A.
  • 2,446
  • 4
  • 36
  • 68
-1
votes
2 answers

Fresco: How to get original bitmap size?

I am loading images using Fresco, how can I get the original bitmap size? This is what I been trying so far ImageRequest request = ImageRequestBuilder .newBuilderWithSource(uri) .setImageDecodeOptions(ImageDecodeOptions.newBuilder() …
Ilya Gazman
  • 31,250
  • 24
  • 137
  • 216
-2
votes
1 answer

Fresco with kotlin?

I am trying to display a image popup in Kotlin and for that I am creating a dilog and set image from url using library fresco but I am getting error with syntax how should I do this below is my implementation. I want to set onclick event too how to…
-2
votes
1 answer

Does Android Fresco Library for android API work in DP or PX?

This may seem a simple question, but I am not able to find the answer anywhere. When dealing the APIs of Facebook's Fresco, are the variables related to sizing defined in PX or DP? Regards,
Elio Khattar
  • 320
  • 1
  • 3
  • 16
-2
votes
2 answers

Android display images when offline once downloaded using fresco

I want fresco to download and save images to sd-card when connected to internet. Later when offline and even if cache is cleared, still I need fresco to show saved images. Is this possible? If yes, how? Simply saving images to disk cache doesnt seem…
Ashwin
  • 7,277
  • 1
  • 48
  • 70
-2
votes
1 answer

application crush when fresco run on adt17

when I use Fresco frame and do method Fresco.initialize(this); it crush on android system 4.2.2. it won't crush on other system. 02-24 14:12:59.298 17984-17984/com.example.deti:push E/dalvikvm: Could not find class …
-3
votes
1 answer

How to display bubble to a image use fresco?

I just do a chat app, and want add bubble to every conversation image like this bubble effect , and I use Fresco to download image. How to use Fresco to add image bubble?
lostland
  • 1
  • 1
1 2 3
23
24