I'm looking for something like GD Library but for JavaScript. I read about SVG.
SVG images can be searched, indexed, scripted, and compressed
SVG graphics do NOT lose any quality if they are zoomed or resized
SVG images are scalable
But only images I could see in examples that SVG manipulates with are simple rectangles, circles, polylines and so on. Just children's free-hand drawing images. And I still don't understand is it possible to manipulate real photos with SVG?