diff options
Diffstat (limited to 'docs/posts/2020-01-14-Converting-between-PIL-NumPy.html')
-rw-r--r-- | docs/posts/2020-01-14-Converting-between-PIL-NumPy.html | 29 |
1 files changed, 17 insertions, 12 deletions
diff --git a/docs/posts/2020-01-14-Converting-between-PIL-NumPy.html b/docs/posts/2020-01-14-Converting-between-PIL-NumPy.html index bd265ce..e8b802f 100644 --- a/docs/posts/2020-01-14-Converting-between-PIL-NumPy.html +++ b/docs/posts/2020-01-14-Converting-between-PIL-NumPy.html @@ -6,25 +6,27 @@ <link rel="stylesheet" href="/assets/sakura.css" /> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> - <title>Hey - Post</title> + <title>Hey - Post - Converting between image and NumPy array</title> <meta name="og:site_name" content="Navan Chauhan" /> - <link rel="canonical" href="https://navanchauhan.github.io/" /> - <meta name="twitter:url" content="https://navanchauhan.github.io/" /> - <meta name="og:url" content="https://navanchauhan.github.io/" /> - <meta name="twitter:title" content="Hey" /> - <meta name="og:title" content="Hey" /> - <meta name="description" content="Welcome to my personal fragment of the internet." /> - <meta name="twitter:description" content="Welcome to my personal fragment of the internet. Majority of the posts should be complete." /> - <meta name="og:description" content="Welcome to my personal fragment of the internet." /> - <meta name="twitter:card" content="summary" /> + <link rel="canonical" href="https://web.navan.dev/" /> + <meta name="twitter:url" content="https://web.navan.dev/" /> + <meta name="og:url" content="https://web.navan.dev/" /> + <meta name="twitter:title" content="Hey - Post - Converting between image and NumPy array" /> + <meta name="og:title" content="Hey - Post - Converting between image and NumPy array" /> + <meta name="description" content=" Short code snippet for converting between PIL image and NumPy arrays. " /> + <meta name="twitter:description" content=" Short code snippet for converting between PIL image and NumPy arrays. " /> + <meta name="og:description" content=" Short code snippet for converting between PIL image and NumPy arrays. " /> + <meta name="twitter:card" content=" Short code snippet for converting between PIL image and NumPy arrays. " /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <link rel="shortcut icon" href="/images/favicon.png" type="image/png" /> <link rel="alternate" href="/feed.rss" type="application/rss+xml" title="Subscribe to Navan Chauhan" /> - <meta name="twitter:image" content="https://navanchauhan.github.io/images/logo.png" /> - <meta name="og:image" content="https://navanchauhan.github.io/images/logo.png" /> + <meta name="twitter:image" content="https://web.navan.dev/images/logo.png" /> + <meta name="og:image" content="https://web.navan.dev/images/logo.png" /> <link rel="manifest" href="manifest.json" /> <meta name="google-site-verification" content="LVeSZxz-QskhbEjHxOi7-BM5dDxTg53x2TwrjFxfL0k" /> <script async src="//gc.zgo.at/count.js" data-goatcounter="https://navanchauhan.goatcounter.com/count"></script> + <script defer data-domain="web.navan.dev" src="https://plausible.io/js/plausible.js"></script> + <script defer data-domain="web.navan.dev" src="https://plausible.navan.dev/js/plausible.js"></script> </head> <body> @@ -61,6 +63,9 @@ <span class="n">img</span><span class="o">.</span><span class="n">save</span><span class="p">(</span><span class="n">destination</span><span class="p">,</span> <span class="s2">"JPEG"</span><span class="p">,</span> <span class="n">quality</span><span class="o">=</span><span class="mi">80</span><span class="p">,</span> <span class="n">optimize</span><span class="o">=</span><span class="kc">True</span><span class="p">,</span> <span class="n">progressive</span><span class="o">=</span><span class="kc">True</span><span class="p">)</span> </code></pre></div> + <div class="commentbox"></div> + <script src="https://unpkg.com/commentbox.io/dist/commentBox.min.js"></script> + <script>commentBox('5650347917836288-proj')</script> </main> |