image.read(size, file) not working
Posted: 2007-09-23T12:10:05-07:00
I can read images with image.read("test.jpg") without a problem. My problem however is, that when I'm using image.read("50x50", "test.jpg") the first argument (the geometry) is simply ignored. The image still has the same size as without specifing the geometry. Forcing the resize "50x50!" also has no effect.
The second problem is, that without specifing the geometry the image also has a wrong size - no matter how big the image is after reading it I get 512 columns/width by using image.columns();
Am I doing something wrong here?
The second problem is, that without specifing the geometry the image also has a wrong size - no matter how big the image is after reading it I get 512 columns/width by using image.columns();
Am I doing something wrong here?