GithubHelp home page GithubHelp logo

gif support? about bigimageviewer HOT 13 CLOSED

piasy avatar piasy commented on July 18, 2024
gif support?

from bigimageviewer.

Comments (13)

Piasy avatar Piasy commented on July 18, 2024 1

可以考虑作为一个 feature,但如果播放 gif,就不能缩放了。

from bigimageviewer.

XXiaoQing avatar XXiaoQing commented on July 18, 2024

目前我是这样使用的,先判断是不是长图,是长图就使用 BigImageView 加载,不是长图就使用 PhotoDraweeView 加载,这样就可以加载 gif 而且 可以缩放

from bigimageviewer.

Piasy avatar Piasy commented on July 18, 2024

@yayaxiong 你应该检查是不是大图,也就是尺寸。photo drawee view加载大图内存占用很高,很卡。

from bigimageviewer.

XXiaoQing avatar XXiaoQing commented on July 18, 2024

@Piasy photo drawee view的确是占用内存,目前我请求图片的时候都是带上宽高进行resize,控制还比较好,最好的还是你的 bigView

from bigimageviewer.

Piasy avatar Piasy commented on July 18, 2024

@yayaxiong 嗯,如果不需要支持缩放和移动,利用服务端的图片处理服务,直接请求小图+fresco 就够了。但如果要支持缩放和移动,那还是 SSIV 更省内存。

from bigimageviewer.

umeitime avatar umeitime commented on July 18, 2024

GIF图片就正常加载 不缩放好了。

from bigimageviewer.

Paul1121 avatar Paul1121 commented on July 18, 2024

请问用FrescoImageLoader应该可以显示gif动态图吧,具体怎么做?

from bigimageviewer.

Piasy avatar Piasy commented on July 18, 2024

FrescoImageLoader 只负责加载,并不负责显示,现在显示都是 SSIV

from bigimageviewer.

ervinod avatar ervinod commented on July 18, 2024

Hello....
Have you added gif picture support ? or this enhancement is still pending....

from bigimageviewer.

Piasy avatar Piasy commented on July 18, 2024

Still pending :(

from bigimageviewer.

ervinod avatar ervinod commented on July 18, 2024

can you please suggest any alternative to display gif image ......

from bigimageviewer.

ParkerK avatar ParkerK commented on July 18, 2024

@ervinod SSIV doesn't support animated GIFs, and this library uses SSIV

from bigimageviewer.

Piasy avatar Piasy commented on July 18, 2024

Gif support is added since v1.5.0, check it out 🍻🍻🍻

from bigimageviewer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.