Giter Club home page Giter Club logo

Comments (5)

cesarphernandez avatar cesarphernandez commented on July 21, 2024 2

Off course!

JSFiddle: https://jsfiddle.net/cesarphernandez/rdx1ztew/118/

In this case, I try to render the content of the DOMElement and his Childs, and after this, I generate a url blob to see the result in the browser.
In Google Chrome, not have a problem, but in Safari, is aleatoreously some times it works fine, in other cases fail

Attach our video of evidence: https://share.cleanshot.com/4DvVmS26

As I comment, the problem is random, possible need to try some times to replicate it

from dom-to-image-more.

IDisposable avatar IDisposable commented on July 21, 2024 2

Not sure what you're doing with the URL.createObjectURL stuff, seems to be something jsFiddle offers... but it looks like it's always returning the PNG to me every time... I've tweaked the fiddle... can you try on Safari?
https://jsfiddle.net/7ykfet6c/

from dom-to-image-more.

cesarphernandez avatar cesarphernandez commented on July 21, 2024 1

In. this case I use URL.createObjectURL, to generate a blob Url to use in the same browser, is more to can view more easy the result, but how I showed u, There are cases in where works fine, but not always and we need that works fine always

I was try with your link, but not works in the first generation of Image, attach our video
https://share.cleanshot.com/JYN7cQ2D

I believe that what happens is that not works fine, when div is change or loaded by first time ,In my case is a use library to generate images with many changes in these divs, and I believe that this error is reproduced when div is change

from dom-to-image-more.

IDisposable avatar IDisposable commented on July 21, 2024

Would need a LOT more information to help. Can you get a time when it fails and snag the HTML, CSS, JS and make a jsfiddle

from dom-to-image-more.

cesarphernandez avatar cesarphernandez commented on July 21, 2024

@IDisposable Have u some update at now?

from dom-to-image-more.

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.