Hello all. I am using the Raster.createChild(int parentX, int parentY, int
width, int height, int childMinX, int childMinY, int bandList[]) method to
return a one-pixel child raster that is just the lower-right corner of its
parent. I am encountering errors with this because parentX (coord of
rightmost pixel) plus width (one) is outside the bounds of the parent
raster. A RasterFormatException is thrown in this case. I feel that
creating this one-pixel child raster should be legal. Am I using this
method wrong?

Thanks,
Meghan

===========================================================================
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".

Reply via email to