{"id":174,"date":"2009-12-12T15:43:11","date_gmt":"2009-12-12T22:43:11","guid":{"rendered":"http:\/\/www.giassa.net\/?page_id=174"},"modified":"2025-08-24T08:03:52","modified_gmt":"2025-08-24T15:03:52","slug":"1-downsampling","status":"publish","type":"page","link":"https:\/\/www.giassa.net\/?page_id=174","title":{"rendered":"1 &#8211; Downsampling"},"content":{"rendered":"<p>Ever wondered how to resize an image? Simple &#8211; throw away data. When &#8220;shrinking&#8221; an image&#8217;s dimensions (note: this is NOT the same as image compression, which will be covered much later), you are essentially throwing away image information.<\/p>\n<p>Suppose you have an image with dimensions AxB, and you want to shrink it to the dimensions of CxD, assuming that A&gt;C and B&gt;D. The most straightforward way to do this is to discard entire columns\/rows of data. How do we know which ones to discard though?<\/p>\n<p>Well, in case you haven&#8217;t guessed already, there should be some sort of pattern and reason to this. One naive way is to simply discard pixels at the edges of the image. For the sample image shown below, we delete the first (A-C) columns, and the first (B-D) rows. The result is less than desirable. We&#8217;ve effectively cropped out a large portion of the original image.<\/p>\n<div id=\"attachment_176\" style=\"width: 310px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/www.giassa.net\/wp-content\/uploads\/2009\/12\/00-standard.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-176\" class=\"size-medium wp-image-176\" title=\"00-standard\" src=\"https:\/\/www.giassa.net\/wp-content\/uploads\/2009\/12\/00-standard-300x225.png\" alt=\"Standard Image\" width=\"300\" height=\"225\" srcset=\"https:\/\/www.giassa.net\/wp-content\/uploads\/2009\/12\/00-standard-300x225.png 300w, https:\/\/www.giassa.net\/wp-content\/uploads\/2009\/12\/00-standard.png 600w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><p id=\"caption-attachment-176\" class=\"wp-caption-text\">Standard Image<\/p><\/div>\n<div id=\"attachment_175\" style=\"width: 310px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/www.giassa.net\/wp-content\/uploads\/2009\/12\/01-cropped.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-175\" class=\"size-medium wp-image-175\" title=\"01-cropped\" src=\"https:\/\/www.giassa.net\/wp-content\/uploads\/2009\/12\/01-cropped-300x225.png\" alt=\"Cropped Image\" width=\"300\" height=\"225\" srcset=\"https:\/\/www.giassa.net\/wp-content\/uploads\/2009\/12\/01-cropped-300x225.png 300w, https:\/\/www.giassa.net\/wp-content\/uploads\/2009\/12\/01-cropped.png 600w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><p id=\"caption-attachment-175\" class=\"wp-caption-text\">Cropped Image<\/p><\/div>\n<p>So, what approach should we take? Simple! First, calculate the number of columns you will need to discard, k. Since the original number of columns is A, and the new number of columns is C, it only makes sense that we need to discard (A-C) columns. So, assuming we have a sample image, I, and an output image buffer, J, we can create our new, downsampled image in J using the following pseudo-code:<\/p>\n<pre class=\"lang:default decode:true \">FOR(counter1 = 1 to C) LOOP\r\nJ(column(counter1)) = I(column(FLOOR(counter1*A\/C)))\r\nEND LOOP<\/pre>\n<p>&nbsp;<\/p>\n<p>The same code can be changed readily to downsample the rows as well. The columns and rows marked for deletion are represented with white lines, as shown below:<\/p>\n<div id=\"attachment_181\" style=\"width: 310px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/www.giassa.net\/wp-content\/uploads\/2009\/12\/02-chopped.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-181\" class=\"size-medium wp-image-181\" title=\"02-chopped\" src=\"https:\/\/www.giassa.net\/wp-content\/uploads\/2009\/12\/02-chopped-300x225.png\" alt=\"Columns\/rows Marked for Deletion\" width=\"300\" height=\"225\" srcset=\"https:\/\/www.giassa.net\/wp-content\/uploads\/2009\/12\/02-chopped-300x225.png 300w, https:\/\/www.giassa.net\/wp-content\/uploads\/2009\/12\/02-chopped.png 600w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><p id=\"caption-attachment-181\" class=\"wp-caption-text\">Columns\/rows Marked for Deletion<\/p><\/div>\n<p>Once we&#8217;ve processed\/generated the final output image, we get the following:<\/p>\n<div id=\"attachment_180\" style=\"width: 310px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/www.giassa.net\/wp-content\/uploads\/2009\/12\/03-shrunk.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-180\" class=\"size-medium wp-image-180\" title=\"03-shrunk\" src=\"https:\/\/www.giassa.net\/wp-content\/uploads\/2009\/12\/03-shrunk-300x225.png\" alt=\"Downsampled Image\" width=\"300\" height=\"225\" srcset=\"https:\/\/www.giassa.net\/wp-content\/uploads\/2009\/12\/03-shrunk-300x225.png 300w, https:\/\/www.giassa.net\/wp-content\/uploads\/2009\/12\/03-shrunk.png 600w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><p id=\"caption-attachment-180\" class=\"wp-caption-text\">Downsampled Image<\/p><\/div>\n<p>Just to drive the point home, I must again emphasize that image data has been permanently lost, which should make sense, as we&#8217;ve deleted entire columns\/rows. Taking the downsampled image from above, I have &#8220;zoomed in&#8221; on it to demonstrate this point, as can be seen by the &#8220;blocky&#8221; lower-quality image.<\/p>\n<div id=\"attachment_182\" style=\"width: 310px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/www.giassa.net\/wp-content\/uploads\/2009\/12\/03-downsampled.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-182\" class=\"size-medium wp-image-182\" title=\"03-downsampled\" src=\"https:\/\/www.giassa.net\/wp-content\/uploads\/2009\/12\/03-downsampled-300x225.png\" alt=\"Downsampled Image (Zoomed-In)\" width=\"300\" height=\"225\" srcset=\"https:\/\/www.giassa.net\/wp-content\/uploads\/2009\/12\/03-downsampled-300x225.png 300w, https:\/\/www.giassa.net\/wp-content\/uploads\/2009\/12\/03-downsampled.png 600w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><p id=\"caption-attachment-182\" class=\"wp-caption-text\">Downsampled Image (Zoomed-In)<\/p><\/div>\n<p>Finally, included below is a sample application written in MATLAB to demonstrate how to do this kind of operation without relying too much on existing packages and libraries. A final set of sample images are shown side-by-side, demonstrating what happens when we downsample by a large ratio. In the case of the image below, the width was downsampled by a factor of 7, and the height by a factor of 5. Zoomed-in, we can see a considerable loss of quality.<\/p>\n<div id=\"attachment_196\" style=\"width: 310px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/www.giassa.net\/wp-content\/uploads\/2009\/12\/scaled.PNG\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-196\" class=\"size-medium wp-image-196\" title=\"scaled\" src=\"https:\/\/www.giassa.net\/wp-content\/uploads\/2009\/12\/scaled-300x212.PNG\" alt=\"Downsampled Image - Before and After\" width=\"300\" height=\"212\" srcset=\"https:\/\/www.giassa.net\/wp-content\/uploads\/2009\/12\/scaled-300x212.PNG 300w, https:\/\/www.giassa.net\/wp-content\/uploads\/2009\/12\/scaled-1024x726.PNG 1024w, https:\/\/www.giassa.net\/wp-content\/uploads\/2009\/12\/scaled.PNG 1280w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><p id=\"caption-attachment-196\" class=\"wp-caption-text\">Downsampled Image &#8211; Before and After<\/p><\/div>\n<pre class=\"lang:matlab decode:true \">%Import my original picture file\r\nI = imread('trees.jpg','jpg');\r\n%Convert image to grayscale (intensity) values for simplicity (for now)\r\nI = rgb2gray(I);\r\n\r\n%Determine the dimensions of the source image\r\n%Note that we will have three values - width, height, and the number\r\n%of color vectors, 3\r\n[j k] = size(I)\r\n\r\n%Specify the new image dimensions we want for our smaller output image\r\n%In this case we will downsample the image by a fixed ratio\r\n%Since the ratios are different, the image will appear distored\r\n%We can also set x_new and y_new to arbitrary values, but it will not work\r\n%if they are larger than j and k. That would be upsampling\/interpolation,\r\n%and will be covered in a future tutorial.\r\nx_new = j.\/7;\r\ny_new = k.\/5;\r\n\r\n%Determine the ratio of the old dimensions compared to the new dimensions\r\nx_scale = j.\/x_new;\r\ny_scale = k.\/y_new;\r\n\r\n%Declare and initialize an output image buffer\r\nM = zeros(x_new,y_new);\r\n\r\n%Generate the output image\r\nfor count1 = 1:x_new\r\n for count2 = 1:y_new\r\n M(count1,count2) = I(count1.*x_scale,count2.*y_scale);\r\n end\r\nend\r\n\r\n%Display the two images side-by-side for a few seconds, then close\r\nsubplot(1,2,1); imagesc(I);colormap gray; axis tight;\r\nsubplot(1,2,2); imagesc(M);colormap gray; axis tight;\r\npause(4);\r\nclose all;<\/pre>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Ever wondered how to resize an image? Simple &#8211; throw away data. When &#8220;shrinking&#8221; an image&#8217;s dimensions (note: this is NOT the same as image compression, which will be covered much later), you are essentially throwing away image information. Suppose &hellip; <a href=\"https:\/\/www.giassa.net\/?page_id=174\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":118,"menu_order":1,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-174","page","type-page","status-publish","hentry"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.10 - aioseo.com -->\n\t<meta name=\"description\" content=\"A tutorial on downsampling (ie: shrinking) an image.\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<link rel=\"canonical\" href=\"https:\/\/www.giassa.net\/?page_id=174\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.10\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"GIASSA.NET | Engineering, DIY, and Everything Else\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"Image Processing - Downsampling | GIASSA.NET\" \/>\n\t\t<meta property=\"og:description\" content=\"A tutorial on downsampling (ie: shrinking) an image.\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/www.giassa.net\/?page_id=174\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2009-12-12T22:43:11+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2025-08-24T15:03:52+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Image Processing - Downsampling | GIASSA.NET\" \/>\n\t\t<meta name=\"twitter:description\" content=\"A tutorial on downsampling (ie: shrinking) an image.\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.giassa.net\\\/?page_id=174#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.giassa.net#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.giassa.net\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.giassa.net\\\/?page_id=865#listItem\",\"name\":\"Projects\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.giassa.net\\\/?page_id=865#listItem\",\"position\":2,\"name\":\"Projects\",\"item\":\"https:\\\/\\\/www.giassa.net\\\/?page_id=865\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.giassa.net\\\/?page_id=118#listItem\",\"name\":\"Image Processing Tutorials\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.giassa.net#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.giassa.net\\\/?page_id=118#listItem\",\"position\":3,\"name\":\"Image Processing Tutorials\",\"item\":\"https:\\\/\\\/www.giassa.net\\\/?page_id=118\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.giassa.net\\\/?page_id=174#listItem\",\"name\":\"1 &#8211; Downsampling\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.giassa.net\\\/?page_id=865#listItem\",\"name\":\"Projects\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.giassa.net\\\/?page_id=174#listItem\",\"position\":4,\"name\":\"1 &#8211; Downsampling\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.giassa.net\\\/?page_id=118#listItem\",\"name\":\"Image Processing Tutorials\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.giassa.net\\\/#organization\",\"name\":\"GIASSA.NET\",\"description\":\"Engineering, DIY, and Everything Else\",\"url\":\"https:\\\/\\\/www.giassa.net\\\/\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.giassa.net\\\/?page_id=174#webpage\",\"url\":\"https:\\\/\\\/www.giassa.net\\\/?page_id=174\",\"name\":\"Image Processing - Downsampling | GIASSA.NET\",\"description\":\"A tutorial on downsampling (ie: shrinking) an image.\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.giassa.net\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.giassa.net\\\/?page_id=174#breadcrumblist\"},\"datePublished\":\"2009-12-12T15:43:11-07:00\",\"dateModified\":\"2025-08-24T08:03:52-07:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.giassa.net\\\/#website\",\"url\":\"https:\\\/\\\/www.giassa.net\\\/\",\"name\":\"GIASSA.NET\",\"description\":\"Engineering, DIY, and Everything Else\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.giassa.net\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Image Processing - Downsampling | GIASSA.NET","description":"A tutorial on downsampling (ie: shrinking) an image.","canonical_url":"https:\/\/www.giassa.net\/?page_id=174","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"BreadcrumbList","@id":"https:\/\/www.giassa.net\/?page_id=174#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/www.giassa.net#listItem","position":1,"name":"Home","item":"https:\/\/www.giassa.net","nextItem":{"@type":"ListItem","@id":"https:\/\/www.giassa.net\/?page_id=865#listItem","name":"Projects"}},{"@type":"ListItem","@id":"https:\/\/www.giassa.net\/?page_id=865#listItem","position":2,"name":"Projects","item":"https:\/\/www.giassa.net\/?page_id=865","nextItem":{"@type":"ListItem","@id":"https:\/\/www.giassa.net\/?page_id=118#listItem","name":"Image Processing Tutorials"},"previousItem":{"@type":"ListItem","@id":"https:\/\/www.giassa.net#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/www.giassa.net\/?page_id=118#listItem","position":3,"name":"Image Processing Tutorials","item":"https:\/\/www.giassa.net\/?page_id=118","nextItem":{"@type":"ListItem","@id":"https:\/\/www.giassa.net\/?page_id=174#listItem","name":"1 &#8211; Downsampling"},"previousItem":{"@type":"ListItem","@id":"https:\/\/www.giassa.net\/?page_id=865#listItem","name":"Projects"}},{"@type":"ListItem","@id":"https:\/\/www.giassa.net\/?page_id=174#listItem","position":4,"name":"1 &#8211; Downsampling","previousItem":{"@type":"ListItem","@id":"https:\/\/www.giassa.net\/?page_id=118#listItem","name":"Image Processing Tutorials"}}]},{"@type":"Organization","@id":"https:\/\/www.giassa.net\/#organization","name":"GIASSA.NET","description":"Engineering, DIY, and Everything Else","url":"https:\/\/www.giassa.net\/"},{"@type":"WebPage","@id":"https:\/\/www.giassa.net\/?page_id=174#webpage","url":"https:\/\/www.giassa.net\/?page_id=174","name":"Image Processing - Downsampling | GIASSA.NET","description":"A tutorial on downsampling (ie: shrinking) an image.","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/www.giassa.net\/#website"},"breadcrumb":{"@id":"https:\/\/www.giassa.net\/?page_id=174#breadcrumblist"},"datePublished":"2009-12-12T15:43:11-07:00","dateModified":"2025-08-24T08:03:52-07:00"},{"@type":"WebSite","@id":"https:\/\/www.giassa.net\/#website","url":"https:\/\/www.giassa.net\/","name":"GIASSA.NET","description":"Engineering, DIY, and Everything Else","inLanguage":"en-US","publisher":{"@id":"https:\/\/www.giassa.net\/#organization"}}]},"og:locale":"en_US","og:site_name":"GIASSA.NET | Engineering, DIY, and Everything Else","og:type":"article","og:title":"Image Processing - Downsampling | GIASSA.NET","og:description":"A tutorial on downsampling (ie: shrinking) an image.","og:url":"https:\/\/www.giassa.net\/?page_id=174","article:published_time":"2009-12-12T22:43:11+00:00","article:modified_time":"2025-08-24T15:03:52+00:00","twitter:card":"summary","twitter:title":"Image Processing - Downsampling | GIASSA.NET","twitter:description":"A tutorial on downsampling (ie: shrinking) an image."},"aioseo_meta_data":{"post_id":"174","title":"Image Processing - Downsampling | #site_title","description":"A tutorial on downsampling (ie: shrinking) an image.","keywords":[{"label":"image processing","value":"image processing"},{"label":"MATLAB","value":"MATLAB"},{"label":"downsampling","value":"downsampling"},{"label":"resizing","value":"resizing"},{"label":"shrinking","value":"shrinking"},{"label":"MRI","value":"MRI"},{"label":"giassa","value":"giassa"},{"label":"matthew","value":"matthew"},{"label":"sfu","value":"sfu"},{"label":"engineering","value":"engineering"}],"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"WebPage","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2021-04-22 01:27:25","updated":"2025-08-24 15:22:54","seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.giassa.net\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.giassa.net\/?page_id=865\" title=\"Projects\">Projects<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.giassa.net\/?page_id=118\" title=\"Image Processing Tutorials\">Image Processing Tutorials<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t1 \u2013 Downsampling\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/www.giassa.net"},{"label":"Projects","link":"https:\/\/www.giassa.net\/?page_id=865"},{"label":"Image Processing Tutorials","link":"https:\/\/www.giassa.net\/?page_id=118"},{"label":"1 &#8211; Downsampling","link":"https:\/\/www.giassa.net\/?page_id=174"}],"_links":{"self":[{"href":"https:\/\/www.giassa.net\/index.php?rest_route=\/wp\/v2\/pages\/174","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.giassa.net\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.giassa.net\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.giassa.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.giassa.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=174"}],"version-history":[{"count":20,"href":"https:\/\/www.giassa.net\/index.php?rest_route=\/wp\/v2\/pages\/174\/revisions"}],"predecessor-version":[{"id":1091,"href":"https:\/\/www.giassa.net\/index.php?rest_route=\/wp\/v2\/pages\/174\/revisions\/1091"}],"up":[{"embeddable":true,"href":"https:\/\/www.giassa.net\/index.php?rest_route=\/wp\/v2\/pages\/118"}],"wp:attachment":[{"href":"https:\/\/www.giassa.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=174"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}