Split an image into 3 Javascript

1

I am trying to divide an image in three equal columns with Javascript but I do not know how to generate the 3 images and that they are kept in the same directory where the original is, some idea or manual to do it, I can only see examples of puzzle and I do not know how to adapt it, thank you very much:)

    
asked by Silvia 28.02.2018 в 11:14
source

1 answer

1

The truth is that for this I would use java, c #, php, nodejs ..... If you want to do it anyway via javascript I leave you a link link

But you have to transform them into base64. The bad thing that you can not save them, you would have to download them. With javascript you can not write to the machine that runs it (for security ..)

If you really like javascript, try NodeJs and this library to work with the images.

link

Greetings.

    
answered by 28.02.2018 в 11:20