Hello Simone Simone Giannecchini a écrit : > This little snippet is trying to crop a very small (1/3 of the pixel > width and height) part of a coverage around the lower left corner. If > you try to run this code you'll getn an exception from the Resample > operation.
So if I'm understanding correctly, the expected result is an image of 1x1 pixel in size? It sound reasonable to allow the code to return such image rather than throwing an exception. I never wrote a check for that because I didn't imagined that this case would occurs. Regards, Martin ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Geotools-devel mailing list Geotools-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geotools-devel