Y
Y
yvetrov2019-07-28 22:15:09
JavaScript
yvetrov, 2019-07-28 22:15:09

Is it possible to write a jpeg to jpeg converter in JS?

There was a need for a web application to make a PNG or other formats converter to JPEG. I haven’t encountered this before, therefore, the question arises: is it possible to write a JPEG converter in JavaScript?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexey Chipiga, 2019-07-28
@yvetrov

Walked around for you and found a question regarding this topic on StackOverflow:
https://stackoverflow.com/questions/20744628/how-t...
Judging by what is written there, you can convert any image format that fits into the canvas to jpegs.

H
hzzzzl, 2019-07-28
@hzzzzl

yes, as they wrote from above - through canvas
https://codepen.io/anon/pen/GVrJXy?editors=1010

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question