Seems like the most straightforward way to do this would be to use the drawImage() variant that takes source and dest rectangles, that is: public boolean drawImage(Image, dx1, dy1, dx2, dy2, sx1, sy1, sx2, sy2, ImageObserver) Using this method, you can specify the source rect as the area you want to copy from and the dest rect as the matching area at whatever (xy) location you want. I confused by your desire to start from y=600 and grab an area of height=600 from an image that's only 768 pixels high; I assume that's a typo (or if not you must want the area clipped at that height?) Chet. Rafael wrote: =========================================================================== To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA2D-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help". |
- [JAVA2D] Help with image! Rafael
- Re: [JAVA2D] Help with image! Andrew Brygin
- Re: [JAVA2D] Help with image! Chet Haase