Answer the question
In order to leave comments, you need to log in
How to reduce image resolution?
I want to write a small photo editor in JavaScript. How to reduce image resolution? Let's say the resolution is 1280*800, but I want to reduce it to 640*400 and save it to the user's computer. By what algorithm can this be done? I know that there is something similar in PHP, but I need it in Js, i.e. do all the work on the client side. Maybe there are ready-made solutions? If not, how to write such an algorithm? Somehow they make them. I'm probably already tired with such questions, but still, maybe someone knows :)
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question