Code Monkey home page Code Monkey logo

Comments (6)

cracker0dks avatar cracker0dks commented on July 26, 2024 2

mmm we would probably need to add the pdf.js lib. Is this really a feature that would be used often so it's worth to implement?
I'll wait for others to comment on this one first :)

from whiteboard.

yrammos avatar yrammos commented on July 26, 2024

Thanks for your consideration. PDFs are ubiquitous and image formats much less common in academic contexts. Converting to PNG is an option, but cumbersome and several clicks away, so I’d end up grabbing a screenshot of the page, producing an unnecessarily large PNG that eats up resources.

from whiteboard.

yrammos avatar yrammos commented on July 26, 2024

(By the way, server-side imagemagick might also be an option, though no idea which one would be simpler.)

from whiteboard.

semencha avatar semencha commented on July 26, 2024

Collaboration with pdf is needed, now we will convert everything into images and place it on canvas. If it’s possible to paint on top of pdf, it will be great.

Regards, Ivan Semencha

from whiteboard.

cracker0dks avatar cracker0dks commented on July 26, 2024

added this function with the last commit. I used pdfjs because you don't need install imagemagick on the serverside and the upload is a lot smaller with one image compaired to the hole pdf.
Please check it if it fits your needs and give feedback.
greetings

from whiteboard.

yrammos avatar yrammos commented on July 26, 2024

@cracker0dks works as promised, and then some. Thank you!

from whiteboard.

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.