about summary refs log tree commit diff
path: root/served/colorsquash
diff options
context:
space:
mode:
Diffstat (limited to 'served/colorsquash')
-rw-r--r--served/colorsquash/colorsquash.html94
1 files changed, 94 insertions, 0 deletions
diff --git a/served/colorsquash/colorsquash.html b/served/colorsquash/colorsquash.html
new file mode 100644
index 0000000..982eeb6
--- /dev/null
+++ b/served/colorsquash/colorsquash.html
@@ -0,0 +1,94 @@
+---
+template=post
+title=Colorsquash
+---
+[@paragraphs off]
+
+<style>
+	table {
+		border: none;
+		border-collapse: collapse;
+		border-spacing: 8px;
+	}
+
+	table tr:nth-last-of-type(2n) {
+		background-color: var(--background-alt);
+	}
+
+	table td:first-of-type {
+		padding-right: 8px;
+	}
+
+	table a {
+		padding: 16px;
+	}
+	
+	#images {
+		display: flex;
+		flex-direction: row;
+	}
+
+	#images figure {
+		width: 50%;
+	}
+
+	figure img {
+		width: 100%;
+	}
+
+	figcaption {
+		text-align: center;
+	}
+</style>
+
+<section id="images">
+	<figure>
+		<img src="astro.jpg" alt="a small dog laying on a concrete floor in an industrial building">
+		<figcaption>24bit rgb</figcaption>
+	</figure>
+
+	<figure>
+		<img src="astro_squash.gif" alt="the same image in 256 color. there are some visual differences, but the two images look very similar">
+		<figcaption>256 color indexed</figcaption>
+	</figure>
+</section>
+
+<table style="max-width: 75%; margin: auto; float: right;">
+	<tr>
+		<th>Platform</th>
+		<th>Size</th>
+	</tr>
+	<tr>
+		<td><a href="./v0.1.0/squash-v0.1.0_windows-x64.zip">Windows x64</a></td>
+		<td>295K</td>
+	</tr>
+	<tr>
+		<td><a href="./v0.1.0/squash-v0.1.0_linux-x64.tar.gz">Linux x64</a></td>
+		<td>1.3M</td>
+	</tr>
+	<tr>
+		<td><a href="./v0.1.0/squash-v0.1.0_linux-aarch64.tar.gz">Linux aarch64</a></td>
+		<td>1.3M</td>
+	</tr>
+	<tr>
+		<td><a href="./v0.1.0/squash-v0.1.0_macos-x64.tar.gz">MacOS x64</a></td>
+		<td>444K</td>
+	</tr>
+	<tr>
+		<td><a href="./v0.1.0/squash-v0.1.0_macos-aarch64.tar.gz">MacOS ARM</td>
+		<td>436K</td>
+	</tr>
+</table>
+
+<p>
+	GitHub's alright, but I think it'd be neat to host binaries here, too. They're still generated in GitHub's CI for now however.
+</p>
+
+<!--
+
+Links:
+1. https://stackoverflow.com/a/63868920
+	- https://github.com/herzbube/birthtime_touch
+	- https://www.anmolsarma.in/post/linux-file-creation-time/
+2. https://man7.org/linux/man-pages/man2/statx.2.html
+-->
\ No newline at end of file