From e86d0b83a245175fe8b2c0ddde7994a9406844a5 Mon Sep 17 00:00:00 2001
From: Landon Curt Noll
See image spoiler.png for an example spectrogram.
+See image spoiler.png for an example spectrogram.
There is no error checking done when opening files, so expect segfaults if you provide the wrong path to a file.
diff --git a/2018/bellard/README.md b/2018/bellard/README.md index c96ca68a3..bd2da3b38 100644 --- a/2018/bellard/README.md +++ b/2018/bellard/README.md @@ -17,7 +17,7 @@ code](#alternate-code) below. ## Try: -First open [Lenna.png](%%REPO_URL%%/2018/bellard/Lenna.png) in your graphics viewer of choice. Next, after +First open [Lenna.png](Lenna.png) in your graphics viewer of choice. Next, after running the above command (`./prog > lena.ppm`), open `lena.ppm` in your graphics viewer of choice. After that try: @@ -32,7 +32,7 @@ compile and install netpbm for entries that require it?](../../faq.html#netpbm) [FAQ 3.16 - How do I compile and install libjpeg-turbo for entries that require it?](../../faq.html#libjpeg). -NOTE: [Lenna.png](%%REPO_URL%%/2018/bellard/Lenna.png) is from +NOTE: [Lenna.png](Lenna.png) is from ./prog > lena.ppm
First open Lenna.png in your graphics viewer of choice. Next, after +
First open Lenna.png in your graphics viewer of choice. Next, after
running the above command (./prog > lena.ppm), open lena.ppm in your
graphics viewer of choice. After that try:
./try.sh
@@ -412,7 +412,7 @@ versions) and pnmscale come from the netpbm project and cjpeg
compile and install netpbm for entries that require it? and
FAQ 3.16 - How do I compile and install libjpeg-turbo for entries that require
it?.
-NOTE: Lenna.png is from
+
NOTE: Lenna.png is from
https://upload.wikimedia.org/wikipedia/en/7/7d/Lenna_%28test_image%29.png.
Alternate code:
The prog.alt.c is based on the author’s remarks and it should work