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

no edit summary
No edit summary
No edit summary
Line 58:
:: Small images can be rendered as a wiki table. This is not ideal, since actual image formats are more compact. However, it works around the current restrictions (which we can thank our friendly neighborhood spammers for). For an example of an image rendered this way, see [[Mandelbrot_set/J/Output]]. --[[User:Rdm|Rdm]] ([[User talk:Rdm|talk]]) 22:06, 7 July 2015 (UTC)
:::Thank you, Rdm. It’s certainly feasible for small images, although manual editing is a bit tedious, even for this example(binary digits): [[http://rosettacode.org/wiki/Binary_digits#.7B.7Bheader.7CPiet.7D.7D]] --[[User:Albedo|Albedo]] ([[User talk:Albedo|talk]]) 15:42, 10 July 2015 (UTC)
:::: Yeah, if you were doing a lot of them, I'd suggest starting with a [[Bitmap]] implementation and then whatever other support you want from [[Raster_graphics_operations]] so you can read an image file. Once you have that, you could use imagemagick to convert to your supported file format. Then build a wiki-table renderer and use that for your Piet code. And I guess some of us should also start using one of the [http://www.dangermouse.net/esoteric/piet/tools.html piet interpreters] so we can see your code in action ... --[[User:Rdm|Rdm]] ([[User talk:Rdm|talk]]) 01:47, 11 July 2015 (UTC)
6,951

edits