getting part of an image with javascript
Posted
by Alper
on Stack Overflow
See other posts from Stack Overflow
or by Alper
Published on 2010-04-04T14:37:34Z
Indexed on
2010/04/04
14:43 UTC
Read the original article
Hit count: 358
JavaScript
|image
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..
© Stack Overflow or respective owner