Comments (9)
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.
Ok, thank you, Muaz, I will try it.
from canvas-designer.
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.
I use php libraries imagick convert pdf to png,and use canvas.toDataURL() put them to canvas.
from canvas-designer.
from canvas-designer.
First install the php library on your server, and use the follow code convert:
and you can see the results on server as follow:
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
third import the image by url as follow:
from canvas-designer.
from canvas-designer.
@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.
Please help me :(
from canvas-designer.
Related Issues (20)
- I want to change canvas design to canvas text editor(rich html)
- Live Marking
- Can we add eraseall button in Canvas? Or how to delete added pdf by one button (not undo)? HOT 1
- Canvas designer not reponsive. Help me
- canvas designer add extra tools
- How can I get a transparent background? HOT 1
- can't get them to sync?
- Clearing canvas not syncing between peers HOT 2
- How voice send voice send recive?
- Fill with arc
- Failed to execute 'setLocalDescription'
- Can't share session between chrome and firefox
- How to drag and drop an image to canvas HOT 1
- How I can use another language without Google Input Tools?
- Response & mobile friendly
- Can someone help me how to set it up for client js and server js using socket.io
- Mousemove sync
- Default Background Image
- Eraser size
- socket.io connection issue
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from canvas-designer.