Giter VIP home page Giter VIP logo

Comments (8)

alexzhirkevich avatar alexzhirkevich commented on June 3, 2024

Gif animation is not supported. You can set 1 frame from gif as a foreground.

from custom-qr-generator.

hardikbhalodi avatar hardikbhalodi commented on June 3, 2024

is it possible to implement with use of gif drawable lib here https://github.com/koral--/android-gif-drawable ?

from custom-qr-generator.

alexzhirkevich avatar alexzhirkevich commented on June 3, 2024

It is technically possible, but what exactly means "foreground of the QR code"?

1st or 2nd? or even something else?

from custom-qr-generator.

hardikbhalodi avatar hardikbhalodi commented on June 3, 2024

Yes the 1st is correct. here is one more example of same, how to achieve that?
gif

from custom-qr-generator.

alexzhirkevich avatar alexzhirkevich commented on June 3, 2024

Tbh, your example looks more like 2nd variant.

You can achieve it like this:

LayerDrawable(
    arrayOf(
        QrCodeDrawable(context, data,options),
        GifDrawable(resources, R.drawable.gif).apply {
            alpha = 125
        }
    )
)

from custom-qr-generator.

hardikbhalodi avatar hardikbhalodi commented on June 3, 2024

Okay thanks but not sure how i can export the GIF qr code now because its layer drawable?
Any chance to implement GIFDrawableSource?

from custom-qr-generator.

hardikbhalodi avatar hardikbhalodi commented on June 3, 2024

How to customise eyes like this, i tried and able to customise with same shape but all the sides are same! how to differentiate left top, right top and left bottom eye side?
unitag_qrcode_standard

from custom-qr-generator.

alexzhirkevich avatar alexzhirkevich commented on June 3, 2024

Please create new issues for different questions

from custom-qr-generator.

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.