Ben,
That sounds great, especially regarding the test images. I don't know
how the image comparison tests work, that's why I kept it very
fundamental.
Thanks!
Jostein.
Den 14:59 17. april 2012 skrev Benjamin Root følgende:
>
>
> On Tue, Apr 17, 2012 at 3:30 AM, Jostein B
Sat, Apr 7, 2012 at 11:25 AM, Jostein Bø Fløystad
> wrote:
>>
>> I've had problems saving MxNx3 (RGB) numpy arrays as images using
>> imsave. It fails with an exception, and the problem seems to be line
>> 1243 in image.py:
>>
>> figsize = [x / fl
I've had problems saving MxNx3 (RGB) numpy arrays as images using
imsave. It fails with an exception, and the problem seems to be line
1243 in image.py:
figsize = [x / float(dpi) for x in arr.shape[::-1]]
The purpose of arr.shape[::-1] seems to be to reorder the height and
width dimensions. It wo