{"type":"rich","url":"https://fn7.hatenadiary.org/entry/20091206/1260065263","author_name":"fn7","width":"100%","blog_url":"https://fn7.hatenadiary.org/","image_url":"https://cdn-ak.f.st-hatena.com/images/fotolife/f/fn7/20091206/20091206110502.png","version":"1.0","description":"\u7d50\u8ad6\u304b\u3089\u3044\u3046\u3068\u3001\u307e\u3060\u3067\u304d\u3066\u307e\u305b\u3093\u304cwww \u3068\u308a\u3042\u3048\u305a\u753b\u9762\u3044\u3063\u3071\u3044\u306b\u8a2d\u5b9a\u3057\u305fUIImageView\u306b\u8272\u3092\u8a2d\u5b9a\u3057\u3066\u307f\u308b\u30b3\u30fc\u30c9\u3002 int width = 320; int height = 480; int bytesPerRow = 4 * width; unsigned char pixel[bytesPerRow * height]; int n; unsigned char *ptr = pixel; for(int j=0;j<height;j++){ for(int i=0;i<width;i++){ *ptr++ = 128; //r *ptr++ = 0; //g *ptr++ = \u2026","height":"190","author_url":"https://blog.hatena.ne.jp/fn7/","published":"2009-12-06 11:07:43","blog_title":"fn7\u306e\u65e5\u8a18","provider_url":"https://hatena.blog","provider_name":"Hatena Blog","title":"UIImage\u3067\u30b0\u30e9\u30c7\u30fc\u30b7\u30e7\u30f3\u3057\u305f\u3044(\u305d\u306e1)","categories":["\u52c9\u5f37","\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0","Objective-C","Cocoa"],"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Ffn7.hatenadiary.org%2Fentry%2F20091206%2F1260065263\" title=\"UIImage\u3067\u30b0\u30e9\u30c7\u30fc\u30b7\u30e7\u30f3\u3057\u305f\u3044(\u305d\u306e1) - fn7\u306e\u65e5\u8a18\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>"}