﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
14330	Test failure with get_image_dimensions since [13715]	Gabriel Hurley	Gabriel Hurley	"On my windows xp machine (not on my mac os x box) the file_storage.InconsistentGetImageDimensionsBug fails because PIL is unable to read the data from the already-open ImageFile. The problem is that in the test case the ImageFile is created by calling open() on the file path without an explicit mode. This defaults to mode 'r', and PIL on Windows seems to only parse the data from the ImageFile if the mode is 'rb'.

I've attached a tiny patch that adds the mode flag to the test case, but when dealing with images the mode flag really ought to always be 'rb', right? Maybe there ought to be a larger fix here..."		closed	File uploads/storage	dev		fixed	get_image_dimensions PIL mode		Ready for checkin	1	0	0	0	0	0
