I'm realizing a small app that get an image from server through $resource get action. The purpouse is to manipulate the obtained images and visualize them in the view.
The response from server is a series of character, which I suppose are the image itself. The response header is:
HTTP/1.1 200 OK
Server: nginx/1.0.15
Date: Sat, 07 Feb 2015 15:23:39 GMT
Content-Type: image/jpeg
Transfer-Encoding: chunked
Connection: keep-alive
So:
- How can I use this character series in order to get something usable?
- Once this is done, which js library I can utilize to edit this image?
Thanks