<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ema_hiro</author_name>
  <author_url>https://blog.hatena.ne.jp/ema_hiro/</author_url>
  <blog_title>emahiro/b.log</blog_title>
  <blog_url>https://ema-hiro.hatenablog.com/</blog_url>
  <categories>
    <anon>Go</anon>
  </categories>
  <description>Overview 画像の拡張子を操作する 拡張子を変換する。 拡張子を判別する http.DetectContentType で拡張子を判定する 画像を作成する Encode/Decode する base64 Overview 業務において Go で画像を操作する方法を調べたので備忘録。Go の標準パッケージにある image package は必要最低限の機能を十分に備えてて便利だなと思いました。 画像の拡張子を操作する 拡張子を変換する。 同僚のブログが参考になりました。 rennnosukesann.hatenablog.com 拡張子を判別する import ( // blank im…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fema-hiro.hatenablog.com%2Fentry%2F2022%2F02%2F24%2F031250&quot; title=&quot;Go で画像を操作する - emahiro/b.log&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2022-02-24 03:12:50</published>
  <title>Go で画像を操作する</title>
  <type>rich</type>
  <url>https://ema-hiro.hatenablog.com/entry/2022/02/24/031250</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
