getting part of an image with javascript
- by Alper
Hi all, i want to ask that, is it possible to show any part of image in img tag (with pixels) via Javascript.
I mean, i'll prepare a big image (e.g. 32x320 pixels) and i'll define starting position (X,Y , e.g. 0,32) and width/height (e.g. 32,32), so script will show second (32x32 pixel) part of main image..
I hope i can explain.
Thanks right now..