{"id":16,"date":"2008-12-27T00:20:01","date_gmt":"2008-12-26T23:20:01","guid":{"rendered":"http:\/\/drmccoy.de\/gobsmacked\/?p=16"},"modified":"2009-06-12T01:28:50","modified_gmt":"2009-06-11T23:28:50","slug":"dithering-beauty","status":"publish","type":"post","link":"https:\/\/drmccoy.de\/gobsmacked\/?p=16","title":{"rendered":"Dithering Beauty"},"content":{"rendered":"<p>As a start, I&#8217;d like to talk a bit about dithering.<br \/>\nWhen I found out that Urban Runner&#8217;s VMD use the Indeo 3 codec for video frame data, I was a bit crushed: The resulting frames are in true color (in the YUV colorspace) and ScummVM doesn&#8217;t (yet?) support a true color mode for game graphics &#8212; only paletted 8-bit colors.<\/p>\n<p>So at first, to test the Indeo 3 decoder (copied from the great <a href=\"http:\/\/ffmpeg.mplayerhq.hu\/\">FFmpeg project<\/a>), I just wrote the frame to files. The results looked, after fiddling a bit, like that:<!--more--><\/p>\n<table border=\"0\">\n<tbody>\n<tr>\n<td>\n<figure id=\"attachment_20\" aria-describedby=\"caption-attachment-20\" style=\"width: 224px\" class=\"wp-caption alignleft\"><a href=\"http:\/\/drmccoy.de\/gobsmacked\/wp-content\/uploads\/2008\/12\/urban_10_true.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-20\" title=\"Urban Runner, Frame 10, True color\" src=\"http:\/\/drmccoy.de\/gobsmacked\/wp-content\/uploads\/2008\/12\/urban_10_true.png\" alt=\"Frame 10, true color\" width=\"224\" height=\"98\" srcset=\"https:\/\/drmccoy.de\/gobsmacked\/wp-content\/uploads\/2008\/12\/urban_10_true.png 624w, https:\/\/drmccoy.de\/gobsmacked\/wp-content\/uploads\/2008\/12\/urban_10_true-300x130.png 300w\" sizes=\"(max-width: 224px) 100vw, 224px\" \/><\/a><figcaption id=\"caption-attachment-20\" class=\"wp-caption-text\">Frame 10, true color<\/figcaption><\/figure>\n<p><figure id=\"attachment_22\" aria-describedby=\"caption-attachment-22\" style=\"width: 224px\" class=\"wp-caption alignright\"><a href=\"http:\/\/drmccoy.de\/gobsmacked\/wp-content\/uploads\/2008\/12\/urban_50_true.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-22\" title=\"Urban Runner, Frame 50, True color\" src=\"http:\/\/drmccoy.de\/gobsmacked\/wp-content\/uploads\/2008\/12\/urban_50_true.png\" alt=\"Frame 50, true color\" width=\"224\" height=\"98\" srcset=\"https:\/\/drmccoy.de\/gobsmacked\/wp-content\/uploads\/2008\/12\/urban_50_true.png 624w, https:\/\/drmccoy.de\/gobsmacked\/wp-content\/uploads\/2008\/12\/urban_50_true-300x130.png 300w\" sizes=\"(max-width: 224px) 100vw, 224px\" \/><\/a><figcaption id=\"caption-attachment-22\" class=\"wp-caption-text\">Frame 50, true color<\/figcaption><\/figure><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>Note that the Indeo 3 frames are originally in YUV410, i.e. only the luminance (Y) channel is in full resolution while the two chrominance (U and V) channels are halved horizontally and vertically. Also, many frames are then again down-scaled, to save space.<\/p>\n<p>To get it displayed in ScummVM, my first idea was (ab)using ScummVM&#8217;s overlay (which <em>does<\/em> support 16-bit graphics) for video playing, but that got shot down rather quickly in the IRC channel and I didn&#8217;t really like it either anyway.<\/p>\n<p>Therefore, I looked at what the original did when Windows ran in 256 color mode and saw, that it dithered the images using an ordered dithering algorithm. I read a bit about dithering in the Wikipedia and found that an error distribution algorithm would probably look far better. An error distribution dithering algorithm distributes the errors (the difference between the color wanted and the color that&#8217;s in the palette) on to the surrounding pixels.<\/p>\n<p>One problem: Dithering, no matter which exact algorithm, depends on finding the closed matching color in the palette. A quickly coded linear search in the palette proved to be far too slow for video playback, though. A binary search tree, my next idea, failed because there&#8217;s no meaningful ordering on color values.<\/p>\n<p>After googling a bit, I stumbled upon an octree, a tree with eight children on each node. The basic concept is that you take the upper-most bit of each color component, construct an integer out of these and use that integer as an index in the list of children. Then you continue with the next bits and put the palette index in the final leaf. When looking up, you just do the same with the color you look for and find the index in the leaf. The results were this:<\/p>\n<table border=\"0\">\n<tbody>\n<tr>\n<td>\n<figure id=\"attachment_34\" aria-describedby=\"caption-attachment-34\" style=\"width: 224px\" class=\"wp-caption alignleft\"><a href=\"http:\/\/drmccoy.de\/gobsmacked\/wp-content\/uploads\/2008\/12\/urban_10_nearestoctree.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-34\" title=\"Urban Runner, Frame 10, Nearest Color, Octree\" src=\"http:\/\/drmccoy.de\/gobsmacked\/wp-content\/uploads\/2008\/12\/urban_10_nearestoctree.png\" alt=\"Frame 10, nearest color, octree\" width=\"224\" height=\"98\" srcset=\"https:\/\/drmccoy.de\/gobsmacked\/wp-content\/uploads\/2008\/12\/urban_10_nearestoctree.png 624w, https:\/\/drmccoy.de\/gobsmacked\/wp-content\/uploads\/2008\/12\/urban_10_nearestoctree-300x130.png 300w\" sizes=\"(max-width: 224px) 100vw, 224px\" \/><\/a><figcaption id=\"caption-attachment-34\" class=\"wp-caption-text\">Frame 10, nearest color, octree<\/figcaption><\/figure>\n<p><figure id=\"attachment_35\" aria-describedby=\"caption-attachment-35\" style=\"width: 224px\" class=\"wp-caption alignright\"><a href=\"http:\/\/drmccoy.de\/gobsmacked\/wp-content\/uploads\/2008\/12\/urban_50_nearestoctree.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-35\" title=\"Urban Runner, Frame 50, Nearest Color, Octree\" src=\"http:\/\/drmccoy.de\/gobsmacked\/wp-content\/uploads\/2008\/12\/urban_50_nearestoctree.png\" alt=\"Frame 50, nearest color, octree\" width=\"224\" height=\"98\" srcset=\"https:\/\/drmccoy.de\/gobsmacked\/wp-content\/uploads\/2008\/12\/urban_50_nearestoctree.png 624w, https:\/\/drmccoy.de\/gobsmacked\/wp-content\/uploads\/2008\/12\/urban_50_nearestoctree-300x130.png 300w\" sizes=\"(max-width: 224px) 100vw, 224px\" \/><\/a><figcaption id=\"caption-attachment-35\" class=\"wp-caption-text\">Frame 50, nearest color, octree<\/figcaption><\/figure><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>Still not all that great, but I thought it was because the palette must be still messed up (since the surrounding image was also still a bit wrong).<\/p>\n<p>Then I implemented the dithering, Floyd-Steinberg namely:<\/p>\n<table border=\"0\">\n<tbody>\n<tr>\n<td>\n<figure id=\"attachment_36\" aria-describedby=\"caption-attachment-36\" style=\"width: 224px\" class=\"wp-caption alignleft\"><a href=\"http:\/\/drmccoy.de\/gobsmacked\/wp-content\/uploads\/2008\/12\/urban_10_ditherfloydsteinbergoctree.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-36\" title=\"Urban Runner, Frame 10, Floyd-Steinberg, Octree\" src=\"http:\/\/drmccoy.de\/gobsmacked\/wp-content\/uploads\/2008\/12\/urban_10_ditherfloydsteinbergoctree.png\" alt=\"Frame 10, Floyd-Steinberg, octree\" width=\"224\" height=\"98\" srcset=\"https:\/\/drmccoy.de\/gobsmacked\/wp-content\/uploads\/2008\/12\/urban_10_ditherfloydsteinbergoctree.png 624w, https:\/\/drmccoy.de\/gobsmacked\/wp-content\/uploads\/2008\/12\/urban_10_ditherfloydsteinbergoctree-300x130.png 300w\" sizes=\"(max-width: 224px) 100vw, 224px\" \/><\/a><figcaption id=\"caption-attachment-36\" class=\"wp-caption-text\">Frame 10, Floyd-Steinberg, octree<\/figcaption><\/figure>\n<p><figure id=\"attachment_37\" aria-describedby=\"caption-attachment-37\" style=\"width: 224px\" class=\"wp-caption alignright\"><a href=\"http:\/\/drmccoy.de\/gobsmacked\/wp-content\/uploads\/2008\/12\/urban_50_ditherfloydsteinbergoctree.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-37\" title=\"Urban Runner, Frame 50, Floyd-Steinberg, Octree\" src=\"http:\/\/drmccoy.de\/gobsmacked\/wp-content\/uploads\/2008\/12\/urban_50_ditherfloydsteinbergoctree.png\" alt=\"Frame 50, Floyd-Steinberg, octree\" width=\"224\" height=\"98\" srcset=\"https:\/\/drmccoy.de\/gobsmacked\/wp-content\/uploads\/2008\/12\/urban_50_ditherfloydsteinbergoctree.png 624w, https:\/\/drmccoy.de\/gobsmacked\/wp-content\/uploads\/2008\/12\/urban_50_ditherfloydsteinbergoctree-300x130.png 300w\" sizes=\"(max-width: 224px) 100vw, 224px\" \/><\/a><figcaption id=\"caption-attachment-37\" class=\"wp-caption-text\">Frame 50, Floyd-Steinberg, octree<\/figcaption><\/figure><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>However, a short time later, I found the distribution matrix for the Sierra-2-4A (a.k.a. &#8220;Filter Light&#8221;) algorith, which looks very similar to Floyd-Steinberg but is faster &#8212; it only distributes the error on 4 instead of 5 pixels and all fractions are achievable by shifting. The result looked liked this:<\/p>\n<table border=\"0\">\n<tbody>\n<tr>\n<td>\n<figure id=\"attachment_38\" aria-describedby=\"caption-attachment-38\" style=\"width: 224px\" class=\"wp-caption alignleft\"><a href=\"http:\/\/drmccoy.de\/gobsmacked\/wp-content\/uploads\/2008\/12\/urban_10_dithersierraoctree.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-38\" title=\"Urban Runner, Frame 10, Sierra Light, Octree\" src=\"http:\/\/drmccoy.de\/gobsmacked\/wp-content\/uploads\/2008\/12\/urban_10_dithersierraoctree.png\" alt=\"Frame 10, Sierra Light, octree\" width=\"224\" height=\"98\" srcset=\"https:\/\/drmccoy.de\/gobsmacked\/wp-content\/uploads\/2008\/12\/urban_10_dithersierraoctree.png 624w, https:\/\/drmccoy.de\/gobsmacked\/wp-content\/uploads\/2008\/12\/urban_10_dithersierraoctree-300x130.png 300w\" sizes=\"(max-width: 224px) 100vw, 224px\" \/><\/a><figcaption id=\"caption-attachment-38\" class=\"wp-caption-text\">Frame 10, Sierra Light, octree<\/figcaption><\/figure>\n<p><figure id=\"attachment_39\" aria-describedby=\"caption-attachment-39\" style=\"width: 224px\" class=\"wp-caption alignright\"><a href=\"http:\/\/drmccoy.de\/gobsmacked\/wp-content\/uploads\/2008\/12\/urban_50_dithersierraoctree.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-39\" title=\"Urban Runner, Frame 50, Sierra Light, Octree\" src=\"http:\/\/drmccoy.de\/gobsmacked\/wp-content\/uploads\/2008\/12\/urban_50_dithersierraoctree.png\" alt=\"Frame 50, Sierra Light, octree\" width=\"224\" height=\"98\" srcset=\"https:\/\/drmccoy.de\/gobsmacked\/wp-content\/uploads\/2008\/12\/urban_50_dithersierraoctree.png 624w, https:\/\/drmccoy.de\/gobsmacked\/wp-content\/uploads\/2008\/12\/urban_50_dithersierraoctree-300x130.png 300w\" sizes=\"(max-width: 224px) 100vw, 224px\" \/><\/a><figcaption id=\"caption-attachment-39\" class=\"wp-caption-text\">Frame 50, Sierra Light, octree<\/figcaption><\/figure><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>The very noticeable blobs I thought, as I already said, to be the effect of a broken palette, or of my dithering. However, I couldn&#8217;t find anything wrong with the palette loading and dithering code. Thankfully, eriktorbjorn told me that after changing the octree-lookup to a linear search, the video did look correct (albeit far too slow). When finally tried that as well, I found that he was right. So I fiddled a bit with the octree, then thought about how an octree <em>actually<\/em> works. I came to the conclusion that it wouldn&#8217;t work correctly for finding a nearest matching color, at least not how I understood and implemented it (<strong>if anybody can prove me wrong there, please do<\/strong>).<\/p>\n<p>Hence, I swapped the octree with the only other structure I knew would work for such a task: a lookup table. Using the full 3*8bit color component, leading to a 16MB table, was obviously too much, so I compromised on using only the 6 most significant bits of each color component, like VGA does anyway.<\/p>\n<p>The plain nearest matching color with the lookup table:<\/p>\n<table border=\"0\">\n<tbody>\n<tr>\n<td>\n<figure id=\"attachment_41\" aria-describedby=\"caption-attachment-41\" style=\"width: 224px\" class=\"wp-caption alignleft\"><a href=\"http:\/\/drmccoy.de\/gobsmacked\/wp-content\/uploads\/2008\/12\/urban_10_nearestlut.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-41\" title=\"Urban Runner, Frame 10, Nearest color, LUT\" src=\"http:\/\/drmccoy.de\/gobsmacked\/wp-content\/uploads\/2008\/12\/urban_10_nearestlut.png\" alt=\"Frame 10, Nearest color, LUT\" width=\"224\" height=\"98\" srcset=\"https:\/\/drmccoy.de\/gobsmacked\/wp-content\/uploads\/2008\/12\/urban_10_nearestlut.png 624w, https:\/\/drmccoy.de\/gobsmacked\/wp-content\/uploads\/2008\/12\/urban_10_nearestlut-300x130.png 300w\" sizes=\"(max-width: 224px) 100vw, 224px\" \/><\/a><figcaption id=\"caption-attachment-41\" class=\"wp-caption-text\">Frame 10, Nearest color, LUT<\/figcaption><\/figure>\n<p><figure id=\"attachment_42\" aria-describedby=\"caption-attachment-42\" style=\"width: 224px\" class=\"wp-caption alignright\"><a href=\"http:\/\/drmccoy.de\/gobsmacked\/wp-content\/uploads\/2008\/12\/urban_50_nearestlut.png\"><img decoding=\"async\" class=\"size-full wp-image-42\" title=\"Urban Runner, Frame 50, Nearest color, LUT\" src=\"http:\/\/drmccoy.de\/gobsmacked\/wp-content\/uploads\/2008\/12\/urban_50_nearestlut.png\" alt=\"Frame 50, Nearest color, LUT\" width=\"224\" srcset=\"https:\/\/drmccoy.de\/gobsmacked\/wp-content\/uploads\/2008\/12\/urban_50_nearestlut.png 624w, https:\/\/drmccoy.de\/gobsmacked\/wp-content\/uploads\/2008\/12\/urban_50_nearestlut-300x130.png 300w\" sizes=\"(max-width: 624px) 100vw, 624px\" \/><\/a><figcaption id=\"caption-attachment-42\" class=\"wp-caption-text\">Frame 50, Nearest color, LUT<\/figcaption><\/figure><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>With Floyd-Steinberg dithering:<\/p>\n<table border=\"0\">\n<tbody>\n<tr>\n<td>\n<figure id=\"attachment_43\" aria-describedby=\"caption-attachment-43\" style=\"width: 224px\" class=\"wp-caption alignleft\"><a href=\"http:\/\/drmccoy.de\/gobsmacked\/wp-content\/uploads\/2008\/12\/urban_10_ditherfloydsteinberglut.png\"><img decoding=\"async\" class=\"size-full wp-image-43\" title=\"Urban Runner, Frame 10, Floyd-Steinberg, LUT\" src=\"http:\/\/drmccoy.de\/gobsmacked\/wp-content\/uploads\/2008\/12\/urban_10_ditherfloydsteinberglut.png\" alt=\"Frame 10, Floyd-Steinberg, LUT\" width=\"224\" srcset=\"https:\/\/drmccoy.de\/gobsmacked\/wp-content\/uploads\/2008\/12\/urban_10_ditherfloydsteinberglut.png 624w, https:\/\/drmccoy.de\/gobsmacked\/wp-content\/uploads\/2008\/12\/urban_10_ditherfloydsteinberglut-300x130.png 300w\" sizes=\"(max-width: 624px) 100vw, 624px\" \/><\/a><figcaption id=\"caption-attachment-43\" class=\"wp-caption-text\">Frame 10, Floyd-Steinberg, LUT<\/figcaption><\/figure>\n<p><figure id=\"attachment_44\" aria-describedby=\"caption-attachment-44\" style=\"width: 224px\" class=\"wp-caption alignright\"><a href=\"http:\/\/drmccoy.de\/gobsmacked\/wp-content\/uploads\/2008\/12\/urban_50_ditherfloydsteinberglut.png\"><img decoding=\"async\" class=\"size-full wp-image-44\" title=\"Urban Runner, Frame 50, Floyd-Steinberg, LUT\" src=\"http:\/\/drmccoy.de\/gobsmacked\/wp-content\/uploads\/2008\/12\/urban_50_ditherfloydsteinberglut.png\" alt=\"Frame 50, Floyd-Steinberg, LUT\" width=\"224\" srcset=\"https:\/\/drmccoy.de\/gobsmacked\/wp-content\/uploads\/2008\/12\/urban_50_ditherfloydsteinberglut.png 624w, https:\/\/drmccoy.de\/gobsmacked\/wp-content\/uploads\/2008\/12\/urban_50_ditherfloydsteinberglut-300x130.png 300w\" sizes=\"(max-width: 624px) 100vw, 624px\" \/><\/a><figcaption id=\"caption-attachment-44\" class=\"wp-caption-text\">Frame 50, Floyd-Steinberg, LUT<\/figcaption><\/figure><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>With Sierra-Light dithering:<\/p>\n<table border=\"0\">\n<tbody>\n<tr>\n<td>\n<figure id=\"attachment_45\" aria-describedby=\"caption-attachment-45\" style=\"width: 224px\" class=\"wp-caption alignleft\"><a href=\"http:\/\/drmccoy.de\/gobsmacked\/wp-content\/uploads\/2008\/12\/urban_10_dithersierralut.png\"><img decoding=\"async\" class=\"size-full wp-image-45\" title=\"Urban Runner, Frame 10, Sierra Light, LUT\" src=\"http:\/\/drmccoy.de\/gobsmacked\/wp-content\/uploads\/2008\/12\/urban_10_dithersierralut.png\" alt=\"Frame 10, Sierra Light, LUT\" width=\"224\" srcset=\"https:\/\/drmccoy.de\/gobsmacked\/wp-content\/uploads\/2008\/12\/urban_10_dithersierralut.png 624w, https:\/\/drmccoy.de\/gobsmacked\/wp-content\/uploads\/2008\/12\/urban_10_dithersierralut-300x130.png 300w\" sizes=\"(max-width: 624px) 100vw, 624px\" \/><\/a><figcaption id=\"caption-attachment-45\" class=\"wp-caption-text\">Frame 10, Sierra Light, LUT<\/figcaption><\/figure>\n<p><figure id=\"attachment_46\" aria-describedby=\"caption-attachment-46\" style=\"width: 224px\" class=\"wp-caption alignright\"><a href=\"http:\/\/drmccoy.de\/gobsmacked\/wp-content\/uploads\/2008\/12\/urban_50_dithersierralut.png\"><img decoding=\"async\" class=\"size-full wp-image-46\" title=\"Urban Runner, Frame 50, Sierra Light, LUT\" src=\"http:\/\/drmccoy.de\/gobsmacked\/wp-content\/uploads\/2008\/12\/urban_50_dithersierralut.png\" alt=\"Frame 50, Sierra Light, LUT\" width=\"224\" srcset=\"https:\/\/drmccoy.de\/gobsmacked\/wp-content\/uploads\/2008\/12\/urban_50_dithersierralut.png 624w, https:\/\/drmccoy.de\/gobsmacked\/wp-content\/uploads\/2008\/12\/urban_50_dithersierralut-300x130.png 300w\" sizes=\"(max-width: 624px) 100vw, 624px\" \/><\/a><figcaption id=\"caption-attachment-46\" class=\"wp-caption-text\">Frame 50, Sierra Light, LUT<\/figcaption><\/figure><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>One issue remained: While the palette has a complexity of O(1) in the lookup, building lies in O(n^4) (or O(n * m^3) if you reduce the color depth), which takes even on my 3GHz desktop noticeable time. Fortunately, _sev reminded me that the completely built table could be cached onto disk. Now the table can be loaded quickly after having been built only once.<\/p>\n<p>In closing, it&#8217;s now quite okay. Still, <strong>if somebody knows of a better way to find the nearest matching color in a fixed palette, please let me know<\/strong>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>As a start, I&#8217;d like to talk a bit about dithering. When I found out that Urban Runner&#8217;s VMD use the Indeo 3 codec for video frame data, I was a bit crushed: The resulting frames are in true color (in the YUV colorspace) and ScummVM doesn&#8217;t (yet?) support a true color mode for game [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11,61,12],"tags":[17,19,18,21,62,20,64],"_links":{"self":[{"href":"https:\/\/drmccoy.de\/gobsmacked\/index.php?rest_route=\/wp\/v2\/posts\/16"}],"collection":[{"href":"https:\/\/drmccoy.de\/gobsmacked\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/drmccoy.de\/gobsmacked\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/drmccoy.de\/gobsmacked\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/drmccoy.de\/gobsmacked\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=16"}],"version-history":[{"count":46,"href":"https:\/\/drmccoy.de\/gobsmacked\/index.php?rest_route=\/wp\/v2\/posts\/16\/revisions"}],"predecessor-version":[{"id":217,"href":"https:\/\/drmccoy.de\/gobsmacked\/index.php?rest_route=\/wp\/v2\/posts\/16\/revisions\/217"}],"wp:attachment":[{"href":"https:\/\/drmccoy.de\/gobsmacked\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=16"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/drmccoy.de\/gobsmacked\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=16"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/drmccoy.de\/gobsmacked\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=16"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}