Log of #ghostscript at irc.freenode.net.

Search:
 <<<Back 1 day (to 2021/12/28)Fwd 1 day (to 2021/12/30) >>>20211229 
artifexirc-bot <moosiey> Hi guys, I have a question and not sure if this is the best place to ask, so please let me know if there's a better place.22:47.47 
  <moosiey> 22:47.47 
  <moosiey> I'm looking to do some operations on PDF files that are generated by an app called Figma. I am creating a plugin for Figma that will allow people to export PDFs with additional settings, and it seems like Ghostscript is the best way to do so. Figma plugins are essentially JS apps that run in an iFrame from within Figma, and for security have limited access to certain things. 22:47.49 
  <moosiey> 22:47.50 
  <moosiey> My first thought was to somehow send the bytes of my PDF to a Node server through an HTTP requests, then process the file using https://www.npmjs.com/package/ghostscript-node22:47.51 
  <moosiey> 22:47.53 
  <moosiey> But - if it's possible to use Ghostscript on the client/browser side of my plugin and avoid having to send this file to my server and back, that would be even better. Is that something that MuJS can do? Do you guys know the best way to use Ghostscript purely with JS, without running on a server?22:47.54 
  <moosiey> I would imagine there is actually a benefit though to running the Ghostscript on my server as it wouldn't need to use the user's resources22:49.26 
 <<<Back 1 day (to 2021/12/28)Forward 1 day (to 2021/12/30)>>> 
ghostscript.com #mupdf
Search: