...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
Image.read() with Geometry enhancement request...
-
- Posts: 31
- Joined: 2007-11-23T15:34:51-07:00
Re: Image.read() with Geometry enhancement request...
Try the following, instead of specifying a filename of 'image.jpg', use 'image.jpg[1024x768+512+384]'.