Giter VIP home page Giter VIP logo

Comments (9)

muaz-khan avatar muaz-khan commented on August 18, 2024

You can use javascript libraries (search-on-google) to convert PDF into images, and then import single or multiple images (DataURIs or Blobs) into the tool using image-tool methods (reuse button-click event to pass DataURI instead of selecting from system).

(pdf-based) JS libraries may generate Canvas object. You can use canvas.toDataURL() to get images.

from canvas-designer.

sanpangzi avatar sanpangzi commented on August 18, 2024

Ok, thank you, Muaz, I will try it.

from canvas-designer.

jonatap2chat avatar jonatap2chat commented on August 18, 2024

Hi guys, Did you manage to allow for import and export to pdf? I am just looking at it myself and be interested to hear if you made any progress. By the way Muaz-khan loving all your webrtc projects, awesome :) Jon

from canvas-designer.

sanpangzi avatar sanpangzi commented on August 18, 2024

I use php libraries imagick convert pdf to png,and use canvas.toDataURL() put them to canvas.

from canvas-designer.

jonatap2chat avatar jonatap2chat commented on August 18, 2024

from canvas-designer.

sanpangzi avatar sanpangzi commented on August 18, 2024

First install the php library on your server, and use the follow code convert:
_20180718094058
and you can see the results on server as follow:
222
second on canvas, you can get these image according to path, as follow:
https://uploadt.dz101.com/uploadfiles/weiXinO2OpdfCourseware/2018/07/18/pdf749891531878335/1.png
333
third import the image by url as follow:
444
666
777

from canvas-designer.

jonatap2chat avatar jonatap2chat commented on August 18, 2024

from canvas-designer.

ph4t0o0o0om avatar ph4t0o0o0om commented on August 18, 2024

@sanpangzi hi i saw you comment . Now is your canvas support upload pdf function and sync in to other users and can draw on presentation? Please help me

from canvas-designer.

ph4t0o0o0om avatar ph4t0o0o0om commented on August 18, 2024

Please help me :(

from canvas-designer.

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.