Convert a pattern to an image with RLE2PNG
Convert a pattern to an image with RLE2PNG
Here's a free tool: https://golhobby.com/tools/rle2png.htm
Enter an rle in the textarea. Click a button. Get a png file to save.
Enter an rle in the textarea. Click a button. Get a png file to save.
Phil Bookman
Re: Convert a pattern to an image with RLE2PNG
Why not SVG?
User:HotdogPi/My discoveries
Periods discovered:
All evens ≤128 except 52,58,78,82,92,94,98,104,118,122
5-15,㉕-㉛,㉟㊺,51,63,65,73,75
1㊳㊵㊹㊼㊽,54,56,72,74,80,90,92
217,240,300,486,576
Guns: 20,21,32,54,55,57,114,117,124,126
SKOPs: 32,74,76,102,196
Periods discovered:
All evens ≤128 except 52,58,78,82,92,94,98,104,118,122
5-15,㉕-㉛,㉟㊺,51,63,65,73,75
1㊳㊵㊹㊼㊽,54,56,72,74,80,90,92
217,240,300,486,576
Guns: 20,21,32,54,55,57,114,117,124,126
SKOPs: 32,74,76,102,196
Re: Convert a pattern to an image with RLE2PNG
This is a tool primarily designed to make it quick and easy to get the static image for a pattern infobox in the wiki. The wiki likes PNG files.
Phil Bookman
- 77551enpassant
- Posts: 55
- Joined: February 18th, 2022, 9:06 pm
- Location: Portland, Oregon
Re: Convert a pattern to an image with RLE2PNG
Is there a tool to do this with bigger image sizes? It only goes up to 512x512 and I just want a quick way to convert an RLE into a PNG file.
Remember to keep your rhetorical weapons of pure logic holstered safely.
Re: Convert a pattern to an image with RLE2PNG
To be clear, the max. image size is 512x512, not the bounding box.77551enpassant wrote: ↑March 9th, 2022, 9:26 pmIs there a tool to do this with bigger image sizes? It only goes up to 512x512 and I just want a quick way to convert an RLE into a PNG file.
I didn't want to have larger images to avoid them being uploaded to the wiki.
Phil Bookman
- yujh
- Posts: 3153
- Joined: February 27th, 2020, 11:23 pm
- Location: I'm not sure where I am, so please tell me if you know
- Contact:
Re: Convert a pattern to an image with RLE2PNG
You might want to try giffer.pay or giffer.lua. They support arbitrarily large gifs(can be stationary, so you can convert them to png)
Rule modifier
B34kz5e7c8/S23-a4ityz5k
b2n3-q5y6cn7s23-k4c8
B3-kq6cn8/S2-i3-a4ciyz8
B3-kq4z5e7c8/S2-ci3-a4ciq5ek6eik7
Bored of Conway's Game of Life? Try Pedestrian Life -- not pedestrian at all!
B34kz5e7c8/S23-a4ityz5k
b2n3-q5y6cn7s23-k4c8
B3-kq6cn8/S2-i3-a4ciyz8
B3-kq4z5e7c8/S2-ci3-a4ciq5ek6eik7
Bored of Conway's Game of Life? Try Pedestrian Life -- not pedestrian at all!
Re: Convert a pattern to an image with RLE2PNG
You can also do similar in LifeViewer:
Use Settings->Pattern->Save Image (hotkey O).
Code: Select all
x = 8, y = 12, rule = B3/S23
b2o2b2o$3b2o$3b2o$obo2bobo$o6bo2$o6bo$b2o2b2o$2b4o2$3b2o$3b2o!
[[ THEME Inverse GRID GRIDMAJOR 0 AUTOFIT ]]
LifeViewer https://lazyslug.com/lifeviewer
Re: Convert a pattern to an image with RLE2PNG
Hey Wonderful Persons -
Thank You for all the great
Image Handling Software !
Cheer Up !
Thank You for all the great
Image Handling Software !
Cheer Up !
"One picture is worth 1000 words; but one thousand words, carefully crafted, can paint an infinite number of pictures."
- autonomic writing
forFUN : http://gol.jct.onl
ArtGallery : http://cgolart.onfav.net
VideoWS : http://conway.life
- autonomic writing
forFUN : http://gol.jct.onl
ArtGallery : http://cgolart.onfav.net
VideoWS : http://conway.life
Re: Convert a pattern to an image with RLE2PNG
Book wrote: ↑December 28th, 2021, 3:12 pmHere's a free tool: https://golhobby.com/tools/rle2png.htm
Enter an rle in the textarea. Click a button. Get a png file to save.
This appears to be an issue stemming from RLE2PNG. Each on cell is placed one pixel too high, so it overlaps part of the border while leaving a white line at the bottom of the cell.
Also, the grid lines are slightly darker where the horizontal and vertical lines overlap. This isn't really a problem, but I personally prefer solid-color grid lines.
-Matthias Merzenich
Re: Convert a pattern to an image with RLE2PNG
Should be fixed now. Walrus img has been redone and uploaded.
Phil Bookman
Re: Convert a pattern to an image with RLE2PNG
The question came up on Discord this morning, as to what the best way to produce LifeWiki-compatible images.
On September 7 I tried emailing Book to see if golhobby.com might be coming back online at some point -- but didn't hear anything back.
Someone could certainly go through and rescue the source code from golhobby.com via the Internet Archive -- looks like it's probably all out there -- and get it hosted in some new location. In the absence of that happening, it looks like maybe LifeViewer is currently the best bet for easy standardized PNG generation.
Cliff notes: go to conwaylife.com and click Show Advanced Options, paste in your RLE, click Update LifeViewer, add a line like this
then probably replace the "AUTOFIT" above with an appropriate exact integer zoom , like
Then choose Settings->Pattern->Save Image -- hotkey o (lowercase, not uppercase!).
If you don't like the image dimensions, try using the LifeViewer below to get a square popup window --
-- or to make adjustments to the dimensions, reply to this email (without actually posting anything), change the settings above and hit Preview. 480 is the minimum width for me, but it's possible your mileage may vary -- there are some dependencies on hardware and browser settings, but the details escape me at the moment.
It all adds up to being a little bit awkward, so I hope someone does rescue the golhobby tools at some point!
On September 7 I tried emailing Book to see if golhobby.com might be coming back online at some point -- but didn't hear anything back.
Someone could certainly go through and rescue the source code from golhobby.com via the Internet Archive -- looks like it's probably all out there -- and get it hosted in some new location. In the absence of that happening, it looks like maybe LifeViewer is currently the best bet for easy standardized PNG generation.
Cliff notes: go to conwaylife.com and click Show Advanced Options, paste in your RLE, click Update LifeViewer, add a line like this
Code: Select all
[[ THEME Inverse GRID GRIDMAJOR 0 AUTOFIT ]]Code: Select all
x = 8, y = 12, rule = B3/S23
b2o2b2o$3b2o$3b2o$obo2bobo$o6bo2$o6bo$b2o2b2o$2b4o2$3b2o$3b2o!
[[ THEME Inverse GRID GRIDMAJOR 0 Z 36 ]]If you don't like the image dimensions, try using the LifeViewer below to get a square popup window --
Code: Select all
x = 8, y = 12, rule = B3/S23
b2o2b2o$3b2o$3b2o$obo2bobo$o6bo2$o6bo$b2o2b2o$2b4o2$3b2o$3b2o!
[[ THEME Inverse GRID GRIDMAJOR 0 Z 36 POPUPWIDTH 480 POPUPHEIGHT 480 ]]It all adds up to being a little bit awkward, so I hope someone does rescue the golhobby tools at some point!
Re: Convert a pattern to an image with RLE2PNG
From LifeViewer build 1205 pressing the ; (semi-colon) key will take a screenshot with the following properties:
- Inverse Theme
- Grid lines on with no major grid lines
- Integer zoom
LifeViewer https://lazyslug.com/lifeviewer