On Sun, Mar 2, 2008 at 11:59 PM, Huji huji.huji@gmail.com wrote:
I applied what was requested on https://bugzilla.wikimedia.org/show_bug.cgi?id=13214 having read (as far as I could) the discussions taken place previously about this feature (and the vice versa).
just my 2 cents
From what can I see the previous bug referenced, the 3499, is about
rescaling in up of svg image.
SVG images are actually rather different from png or jpg images in this respect. First they actually scale up at least relatively well (and in most of the case very well). Second I think that who write svg images (unless he/she already know where the image will go and what the size of the images displayed will be) tend to consider the size in a relative way.
In the page Help:SVG on Commons in the Frequently Asked Questions section ( http://commons.wikimedia.org/wiki/Help:SVG#Frequently_Asked_Questions ), at the question
How large should my SVG images be?
the answer starts with
The absolute size of the document does not matter much.
So the two cases (bug 13214 and bug 3499) are actually quite different.
And so how the decision to blow up or not to blow up the image could be based on the fact that the image will terrible loose its quality or not (depending on the file type).
Moreover a parameter of gallery could be implemented so that gallery is forced not to blow up image in any case if this parameter is set (or if the default is to never blow up, a parameter could force the blow up). And moreover a parameter could be passed to force a dimension of a single image (until it is lower than than the default value).
AnyFile