javascript - Image manipulation on the server or client side? -
i'm developing web application based on django , need online image manipulation. want allow user upload images, manipulate them (crop, filters, re-order, etc) , send them server.
my question is: should manage image manipulation on server using or on client-side?
you can example website: printstudio.io
thanks in advance.
i can see need user able manipulate images, more efficient allow them so, client side.
for client-side:
there few javascript libraries available. fabricjs , camanjs use <canvas>
element provide image manipulation capabilities. camanjs should sufficient needs.
it recommended not image processing server-side, here libraries purpose, information's sake.
for server side: use pillow server side, fork of pil - python imaging library.
it 1 of best image manipulation tools, can perform cropping, making thumbnails, etc website requires.
i have used in on server , uploaded s3.
Comments
Post a Comment