{"image_url":"https://cdn.blog.st-hatena.com/images/theme/og-image-1500.png","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fni4muraano.hatenablog.com%2Fentry%2F2017%2F11%2F20%2F190000\" title=\"\u3010C#\u3011 JPEG\u306e\u54c1\u8cea\u3092\u5909\u66f4\u3059\u308b - \u65c5\u884c\u597d\u304d\u306a\u30bd\u30d5\u30c8\u30a8\u30f3\u30b8\u30cb\u30a2\u306e\u5099\u5fd8\u9332\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","published":"2017-11-20 19:00:00","type":"rich","categories":["C#","OpenCvSharp"],"author_url":"https://blog.hatena.ne.jp/ni4muraano/","version":"1.0","description":"OpenCVSharp\u306eImWrite\u3092\u4f7f\u3046\u3053\u3068\u3067\u753b\u50cf\u3092\u4fdd\u5b58\u3067\u304d\u307e\u3059\u304c\u3001\u54c1\u8cea\u30ec\u30d9\u30eb\uff08\u30c7\u30d5\u30a9\u30eb\u30c8\u502495\uff09\u3092\u5909\u3048\u305f\u3044\u6642\u3069\u3046\u3059\u308c\u3070\u826f\u3044\u306e\u304b\u8abf\u3079\u307e\u3057\u305f\u3002 \u4e0b\u8a18\u306e\u3088\u3046\u306b\u30a8\u30f3\u30b3\u30fc\u30c9\u21d2\u30c7\u30b3\u30fc\u30c9\u21d2ImWrite\u3068\u3044\u3046\u624b\u9806\u3067\u826f\u3044\u3088\u3046\u3067\u3059\u3002 // \u753b\u50cf\u306e\u8aad\u307f\u8fbc\u307f Mat image = Cv2.ImRead(\"lenna.png\"); // \u54c1\u8cea50\u3067\u30a8\u30f3\u30b3\u30fc\u30c9\u3059\u308b var buffer = new byte[image.Rows * image.Cols * image.Channels()]; var param = new ImageEncodingParam(ImwriteFlags.JpegQualit\u2026","title":"\u3010C#\u3011 JPEG\u306e\u54c1\u8cea\u3092\u5909\u66f4\u3059\u308b","provider_name":"Hatena Blog","width":"100%","author_name":"ni4muraano","url":"https://ni4muraano.hatenablog.com/entry/2017/11/20/190000","provider_url":"https://hatena.blog","blog_title":"\u65c5\u884c\u597d\u304d\u306a\u30bd\u30d5\u30c8\u30a8\u30f3\u30b8\u30cb\u30a2\u306e\u5099\u5fd8\u9332","blog_url":"https://ni4muraano.hatenablog.com/","height":"190"}