Company logo
  • Empleos
  • Bootcamp
  • Acerca de nosotros
  • Para profesionales
    • Inicio
    • Empleos
    • Cursos y retos
    • Preguntas
    • Profesores
    • Bootcamp
  • Para empresas
    • Inicio
    • Nuestro proceso
    • Planes
    • Pruebas
    • Nómina
    • Blog
    • Comercial
    • Calculadora

0

127
Vistas
How to convert a pdf to image in Unity/C# using Javascript?

I'm working on a Unity project which requires me to show PDFs within the project. To do this I need to convert it to an image first and then display that (the only way to show a PDF is to buy an asset on the store it seems). However, this seems quite difficult to do in C#. I've tried a number of libraries but have had no luck. However this conversion seems extremely easy to do in Javascript. Is there any way to execute Javascript code from within a C# program? So for example, I download my PDF with an API call on my C# program, then execute some Javascript code to open up the PDF in the background and save the canvas element as a png/jpeg for me to use back in my C# program?

7 months ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

For your question "Using javascript inside Unity" You can review this page

But there is a way to view pdf files that I used from a long time ago and it was fine the package

7 months ago · Juan Pablo Isaza Denunciar
Responde la pregunta
Encuentra empleos remotos