Image.read() with Geometry enhancement request...
Posted: 2008-01-27T18:26:58-07:00
...or reality check.
I'd like to be able to specify a geometry value to crop an image during the read process. For example, given a 2048x1536 JPG image, I want to specify a Geometry( "1024x768+512+384" ) for example, to get the read( geometry, filename ) to crop the image during read. It appears the read() ignores the offset and instead scales.
Any thoughs on this? Are there clever ways to use IM to do this that I've missed?
-- Bob
I'd like to be able to specify a geometry value to crop an image during the read process. For example, given a 2048x1536 JPG image, I want to specify a Geometry( "1024x768+512+384" ) for example, to get the read( geometry, filename ) to crop the image during read. It appears the read() ignores the offset and instead scales.
Any thoughs on this? Are there clever ways to use IM to do this that I've missed?
-- Bob