question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ImageInfo`s size small then origion pic

See original GitHub issue

When i use: image

when onFinalImageSet exe,the imageinfos size small then origion pic my origion pics size is :8289164 imageinfo size is :1651832

Fresco version:1.5 user this lib to support drag and scale Image:https://github.com/ongakuer/PhotoDraweeView

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:10 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
erikandrecommented, Sep 19, 2017

@wangfaxi1985 - the next release of Fresco should contain support for region decoding of images. That would allow you to only load a part of the image. That does not really solve the problem, but if support for this was added to PhotoDraweeView then you could have a smaller version when zoomed out, and then load a higher resolution version when zooming in.

0reactions
alexmelyoncommented, Oct 17, 2019

@oprisnik have the same issue view.setLayerType(View.LAYER_TYPE_SOFTWARE, null) not working I set setDownsampleEnabled(true), otherwise it doesn’t call onFinalImageSet at all. Image PNG. Fresco 1.5.0 and 1.13.0 And I cannot get original size. Plz help. UPD: I disabled setDownsampleEnabled and still no effect.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Changing image size in Markdown - Stack Overflow
For top image (like repo logo) I just make a "white padding" in original image before export to PNG. – Enrique René. Oct...
Read more >
How to resize an image in HTML? - ImageKit.io
Learn different techniques to resize images in HTML, ... a blurred image as the image can be scaled up to be larger than...
Read more >
Best image sizes for websites in 2022: tools, speed testing ...
The definitive guide on how to optimize your images to increase your site's speed: image sizes, file types, compression tools, ...
Read more >
Image Size, File Size, and Image Resolution Explained
A 10-megapixel photo might "weigh" less than a megabyte on your hard drive. Or it might "weigh" as much as 6 megabytes. The...
Read more >
Image size inside smart object issue - 10896337
The Smart Object Larger object will have a canvas size greater than or smaller than the Image file's canvas size. If you drag...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found