Rosetta Code:Village Pump/Image uploads: Difference between revisions

From Rosetta Code
Content added Content deleted
(pngout)
mNo edit summary
Line 12: Line 12:


::::: I haven't done anything yet, but yes, PNG + pngout (via Irfanview) is what I have in mind. -- [[User:Eriksiers|Erik Siers]] 19:42, 17 May 2010 (UTC)
::::: I haven't done anything yet, but yes, PNG + pngout (via Irfanview) is what I have in mind. -- [[User:Eriksiers|Erik Siers]] 19:42, 17 May 2010 (UTC)

::::: While we're at it. Ideas for a naming convention? For the first task I did in Piet (so far the only one – [[:File:Piet A+B.png]]) I used ''Piet «task name»''. If that needs work, it can surely be renamed. Better ideas maybe? —[[User:Hypftier|Johannes Rössel]] 20:21, 17 May 2010 (UTC)

Revision as of 20:21, 17 May 2010

I enabled image uploads yesterday, for all logged in users. Please try to limit uploads to original and/or programmatically-generated material. If you feel it necessary to upload an image retrieved from elsewhere, please ensure that uploading it here does not violate the original copyright. I'm not going to depend on Fair Use to get around more restrictive licenses, because I don't have the legal resources to defend against an infringement claim. --Short Circuit 23:50, 3 February 2009 (UTC)

I'm a little late with this, I suppose, but I've been dinking around with Piet (Esolangs entry) over the past few days, and its programs are entirely images. (From the Piet page: "Piet is a programming language in which programs look like abstract paintings.") I like the language (as a toy), but it's possible (although somewhat unlikely) that the images could get... big. (Biggest one known so far: [Image:http://www.dangermouse.net/esoteric/piet/pietquest.png])
So... What's the upper limit on images? Not "what will Mediawiki support", but "what do you consider too big?" -- Erik Siers 17:11, 17 May 2010 (UTC)
I think for such images a codel size of 1 should be mandatory but apart from that it's not that large. There are certainly longer examples in other languages, even non-esoteric ones. If they get too large you can do the same as for other languages: Put it on a separate subpage. —Johannes Rössel 18:43, 17 May 2010 (UTC)
My concern isn't the on-screen dimensions of the image, but rather the file size limits that Short Circuit wants to stick to. The image upload page says "Maximum file size: 10 MB", but if I upload a 10MB file for each example on the site, disk space and bandwidth would likely be adversely affected. -- Erik Siers 18:54, 17 May 2010 (UTC)
Let me keep an eye on disk and bandwidth usage. If it becomes a problem, I'll kick, curse, swear, and then finally put up a donate link. :) --Michael Mol 19:32, 17 May 2010 (UTC)
Piet being a graphical programming language, I would expect that it requires lossless image file formats. I recommend trying both GIF and PNG+pngcrush, and uploading whichever file winds up being smaller. --Michael Mol 19:35, 17 May 2010 (UTC)
I haven't done anything yet, but yes, PNG + pngout (via Irfanview) is what I have in mind. -- Erik Siers 19:42, 17 May 2010 (UTC)
While we're at it. Ideas for a naming convention? For the first task I did in Piet (so far the only one – File:Piet A+B.png) I used Piet «task name». If that needs work, it can surely be renamed. Better ideas maybe? —Johannes Rössel 20:21, 17 May 2010 (UTC)