<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>potisan</author_name>
  <author_url>https://blog.hatena.ne.jp/potisan/</author_url>
  <blog_title>potisanのプログラミングメモ</blog_title>
  <blog_url>https://potisan-programming-memo.hatenablog.jp/</blog_url>
  <categories>
    <anon>C#</anon>
    <anon>Windows</anon>
  </categories>
  <description>2026/2/17追記：++C++;様で紹介されているUnsafeAccessorを使うとPropertyItemのinternalコンストラクタを直接呼び出せます。内部変更で壊れるデメリットは変わらないままActivatorを経由しない分コードが高速かつ簡潔になります。謝辞を記載すると共に以下のコードはUnsafeAccessor版に書き換えています。 C#14から拡張メンバー(extension)が追加されました。拡張メソッドの機能に加えてプロパティや演算子も追加できるようになったので、ImageとPropertyItemで試した結果をそのまま記載します。 ImageProperty.cs…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fpotisan-programming-memo.hatenablog.jp%2Fentry%2F2026%2F01%2F03%2F071156&quot; title=&quot;C#14 ImageのPropertyItemやJPEGサムネイルを拡張メンバーで扱う - potisanのプログラミングメモ&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>2026-01-03 07:11:56</published>
  <title>C#14 ImageのPropertyItemやJPEGサムネイルを拡張メンバーで扱う</title>
  <type>rich</type>
  <url>https://potisan-programming-memo.hatenablog.jp/entry/2026/01/03/071156</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
