2014-03-02 :-)
_ 午後
1200 flickr がどうのこうの
_ 買い物
iTunes Store
- 歌組雪月花 夜々(CV:原田ひとみ)、いろり(CV:茅野愛衣)、小紫(CV:小倉唯)「回レ!雪月花」 - EP」 機巧少女は傷つかない ED
- μ's「僕らは今のなかで - Single」 ラブライブ! OP
- μ's「きっと青春が聞こえる - Single」 ラブライブ! ED
_ [ImageMagick][convert][CR2][JPEG][EXIF]ImageMagick convert で Canon CR2 を JPEG へ変換すると EXIF が削除される
ていうかそもそも CR2 の EXIF を読めなかった。
CR2 にたいして ImageMagick identify してみる。EXIF 読めない。
>identify.exe -verbose IMG_3918.CR2 Image: C:/Users/rin/AppData/Local/Temp/magick-22248C1DzaQgxZbes.ppm Base filename: IMG_3918.CR2 Format: CR2 (Canon Digital Camera Raw Image Format) Class: DirectClass Geometry: 3476x5208+0+0 Units: Undefined Type: TrueColor Endianess: Undefined Colorspace: sRGB Depth: 16-bit Channel depth: red: 16-bit green: 16-bit blue: 16-bit Channel statistics: Red: min: 0 (0) max: 65535 (1) mean: 37069.3 (0.565642) standard deviation: 16520.9 (0.252093) kurtosis: -1.00056 skewness: -0.34734 Green: min: 0 (0) max: 65535 (1) mean: 33527.9 (0.511602) standard deviation: 17422.9 (0.265856) kurtosis: -1.31278 skewness: 0.0767113 Blue: min: 0 (0) max: 65535 (1) mean: 34218.2 (0.522136) standard deviation: 17568.7 (0.268081) kurtosis: -1.27989 skewness: 0.0758846 Image statistics: Overall: min: 0 (0) max: 65535 (1) mean: 34938.5 (0.533127) standard deviation: 17177.1 (0.262106) kurtosis: -1.2252 skewness: -0.0624338 Rendering intent: Perceptual Gamma: 0.454545 Chromaticity: red primary: (0.64,0.33) green primary: (0.3,0.6) blue primary: (0.15,0.06) white point: (0.3127,0.329) Background color: white Border color: srgb(223,223,223) Matte color: grey74 Transparent color: black Interlace: None Intensity: Undefined Compose: Over Page geometry: 3476x5208+0+0 Dispose: Undefined Iterations: 0 Compression: Undefined Orientation: Undefined Properties: date:create: 2014-03-02T19:21:53+09:00 date:modify: 2014-03-02T19:21:53+09:00 signature: 22e8eafb4e6212136605cdb3d959a240425cc2b5a24d5a9b7c732a9363ce092c Artifacts: filename: C:\Users\rin\Pictures\2014_03_01\IMG_3918.CR2 verbose: true Tainted: False Filesize: 108.6MB Number pixels: 18.1M Pixels per second: 134.1MB User time: 0.140u Elapsed time: 0:01.135 Version: ImageMagick 6.8.8-7 Q16 x64 2014-02-13 http://www.imagemagick.org
Canon Digital Photo Professional( Canon カメラ付属の純正ソフト )で変換した JPEG には当然 EXIF が書かれたままである。この JPEG の EXIF を読むことは出来る。
>identify.exe -verbose IMG_3918.JPG Image: C:\home\m\e\IMG_3918.JPG Format: JPEG (Joint Photographic Experts Group JFIF format) Mime type: image/jpeg Class: DirectClass Geometry: 3456x5184+0+0 Resolution: 350x350 Print size: 9.87429x14.8114 Units: PixelsPerInch Type: TrueColor Endianess: Undefined Colorspace: sRGB Depth: 8-bit Channel depth: red: 8-bit green: 8-bit blue: 8-bit Channel statistics: Red: min: 0 (0) max: 255 (1) mean: 111.34 (0.436629) standard deviation: 56.4439 (0.221349) kurtosis: -1.52451 skewness: -0.265137 Green: min: 0 (0) max: 255 (1) mean: 99.2759 (0.389317) standard deviation: 62.1108 (0.243572) kurtosis: -1.55043 skewness: 0.0627816 Blue: min: 0 (0) max: 255 (1) mean: 100.427 (0.393833) standard deviation: 63.64 (0.249569) kurtosis: -1.54339 skewness: 0.116621 Image statistics: Overall: min: 0 (0) max: 255 (1) mean: 103.681 (0.406593) standard deviation: 60.8104 (0.238472) kurtosis: -1.53361 skewness: -0.0289972 Rendering intent: Perceptual Gamma: 0.454545 Chromaticity: red primary: (0.64,0.33) green primary: (0.3,0.6) blue primary: (0.15,0.06) white point: (0.3127,0.329) Background color: white Border color: srgb(223,223,223) Matte color: grey74 Transparent color: black Interlace: None Intensity: Undefined Compose: Over Page geometry: 3456x5184+0+0 Dispose: Undefined Iterations: 0 Compression: JPEG Quality: 100 Orientation: TopLeft Properties: date:create: 2014-03-01T16:51:28+09:00 date:modify: 2014-03-01T16:51:28+09:00 exif:ApertureValue: 286720/65536 exif:Artist: exif:ColorSpace: 1 exif:ComponentsConfiguration: 1, 2, 3, 0 exif:Compression: 6 exif:Copyright: exif:CustomRendered: 0 exif:DateTime: 2014:03:01 16:49:40 exif:DateTimeDigitized: 2014:03:01 16:49:40 exif:DateTimeOriginal: 2014:03:01 16:49:40 exif:ExifImageLength: 5184 exif:ExifImageWidth: 3456 exif:ExifOffset: 276 exif:ExifVersion: 48, 50, 51, 48 exif:ExposureBiasValue: 0/1 exif:ExposureMode: 0 exif:ExposureTime: 1/60 exif:Flash: 16 exif:FlashPixVersion: 48, 49, 48, 48 exif:FNumber: 45/10 exif:FocalLength: 32/1 exif:FocalPlaneResolutionUnit: 2 exif:FocalPlaneXResolution: 5184000/894 exif:FocalPlaneYResolution: 3456000/597 exif:GPSInfo: 5864 exif:GPSVersionID: 2, 3, 0, 0 exif:InteroperabilityIndex: R98 exif:InteroperabilityOffset: 5570 exif:InteroperabilityVersion: 48, 49, 48, 48 exif:ISOSpeedRatings: 2000 exif:JPEGInterchangeFormat: 5976 exif:JPEGInterchangeFormatLength: 13565 exif:Make: Canon exif:MakerNote: 28, 0, 1, 0, 3, 0, 47, 0, 0, 0, 72, 4, 0, 0, 2, 0, 3, 0, 4, 0, 0, 0, 166, 4, 0, 0, 4, 0, 3, 0, 33, 0 , 0, 0, 174, 4, 0, 0, 6, 0, 2, 0, 32, 0, 0, 0, 240, 4, 0, 0, 7, 0, 2, 0, 32, 0, 0, 0, 16, 5, 0, 0, 8, 0, 4, 0, 1, 0, 0, 0, 0, 0, 0, 0, 9, 0, 2, 0, 32, 0, 0, 0, 48, 5, 0, 0, 16, 0, 4, 0, 1, 0, 0, 0, 49, 3, 0, 128, 25, 0, 3, 0, 1, 0, 0, 0, 1, 0, 0, 0, 38, 0, 3, 0, 18, 0, 0, 0, 80, 5, 0, 0, 147, 0, 3, 0, 32, 0, 0, 0, 116, 5, 0, 0, 149, 0, 2, 0, 128, 0, 0, 0, 18 0, 5, 0, 0, 150, 0, 2, 0, 16, 0, 0, 0, 52, 6, 0, 0, 153, 0, 4, 0, 35, 0, 0, 0, 68, 6, 0, 0, 160, 0, 3, 0, 14, 0, 0, 0, 2 08, 6, 0, 0, 170, 0, 3, 0, 6, 0, 0, 0, 236, 6, 0, 0, 180, 0, 3, 0, 1, 0, 0, 0, 1, 0, 0, 0, 224, 0, 3, 0, 17, 0, 0, 0, 24 8, 6, 0, 0, 1, 64, 3, 0, 32, 5, 0, 0, 26, 7, 0, 0, 8, 64, 3, 0, 3, 0, 0, 0, 90, 17, 0, 0, 9, 64, 3, 0, 3, 0, 0, 0, 96, 1 7, 0, 0, 16, 64, 2, 0, 32, 0, 0, 0, 102, 17, 0, 0, 17, 64, 7, 0, 252, 0, 0, 0, 134, 17, 0, 0, 18, 64, 2, 0, 32, 0, 0, 0, 130, 18, 0, 0, 19, 64, 4, 0, 5, 0, 0, 0, 162, 18, 0, 0, 21, 64, 7, 0, 196, 1, 0, 0, 182, 18, 0, 0, 24, 64, 4, 0, 7, 0, 0, 0, 122, 20, 0, 0, 32, 64, 4, 0, 7, 0, 0, 0, 150, 20, 0, 0, 0, 0, 0, 0, 94, 0, 2, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, 0, 1, 255, 255, 255, 255, 0, 0, 1, 0, 255, 255, 0, 0, 0, 0, 255, 127, 15, 0, 3, 0, 2, 0, 0, 0, 1, 0, 255, 255, 47, 16, 55, 0, 18, 0, 1, 0, 140, 0, 56, 1, 255, 255, 0, 0, 0, 0, 0, 0, 255, 255, 255, 255, 255, 255, 0, 0, 0, 0, 0, 0, 0, 0, 255, 25 5, 255, 255, 0, 0, 0, 0, 255, 127, 255, 255, 255, 255, 0, 0, 0, 0, 32, 0, 111, 247, 10, 85, 66, 0, 0, 0, 128, 255, 0, 0, 139, 0, 189, 0, 0, 0, 0, 0, 3, 0, 0, 0, 8, 0, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 140, 0, 188, 0, 0, 0, 0, 0, 0, 0, 0, 0, 255, 255, 255, 255, 255, 255, 0, 0, 0, 0, 0, 0, 67, 97, 110, 111, 110, 32, 69, 79, 83, 32, 77 , 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 70, 105, 114, 109, 119, 97, 114, 101, 32, 86, 101, 114, 115, 105, 111, 110, 32, 50, 46, 48, 46, 50, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 36, 0, 13, 0, 1, 0, 1, 0, 128, 13, 64, 20, 128, 13, 64, 20, 176, 2, 4 , 2, 162, 255, 36, 0, 1, 0, 0, 0, 0, 0, 255, 255, 0, 0, 160, 140, 64, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 255, 255, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 255, 255, 255, 255, 235, 0, 255, 255, 1, 0, 1, 0, 42, 0, 39, 0, 0, 0, 0, 0, 0, 0, 0, 0, 255, 255, 0, 0, 35, 0, 63, 0, 19, 0, 31, 0, 69, 70, 45, 77, 49, 56, 45, 53, 53, 109, 109, 32, 102, 47, 51, 46, 53, 45 , 53, 46, 54, 32, 73, 83, 32, 83, 84, 77, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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, 69, 4, 239, 4, 163, 8, 161, 8, 154, 1, 36, 6, 123, 13, 122 , 13, 40, 8, 114, 2, 191, 0, 190, 0, 28, 0, 82, 0, 81, 2, 82, 2, 70, 4, 35, 5, 228, 8, 232, 8, 171, 1, 123, 8, 0, 4, 0, 4, 175, 6, 92, 20, 123, 8, 0, 4 exif:Model: Canon EOS M exif:Orientation: 1 exif:RelatedImageLength: 3456 exif:RelatedImageWidth: 5184 exif:ResolutionUnit: 2 exif:SceneCaptureType: 0 exif:ShutterSpeedValue: 393216/65536 exif:Software: Digital Photo Professional exif:UserComment: 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 exif:WhiteBalance: 0 exif:XResolution: 350/1 exif:YCbCrPositioning: 1 exif:YResolution: 350/1 icc:copyright: Copyright (c) 2003, Canon Inc. All rights reserved. icc:description: sRGB v1.31 (Canon) icc:manufacturer: Canon Inc. icc:model: sRGB v1.31 (Canon) jpeg:colorspace: 2 jpeg:sampling-factor: 2x1,1x1,1x1 signature: 9778bfcb585116257556ffa35d057de1a0de29200d5a7e0eb888cb4cb2a1bf4e unknown: 2 xmp:Rating: 0 Profiles: Profile-exif: 19549 bytes Profile-icc: 3140 bytes Profile-xmp: 8192 bytes Artifacts: filename: C:\home\m\e\IMG_3918.JPG verbose: true Tainted: False Filesize: 13.3MB Number pixels: 17.92M Pixels per second: 49.77MB User time: 0.359u Elapsed time: 0:01.360 Version: ImageMagick 6.8.8-7 Q16 x64 2014-02-13 http://www.imagemagick.org
_ [irfanview][convert][CR2][JPEG][EXIF]irfanview で Canon CR2 を JPEG へ変換すると EXIF が保持される
変換
i_view32.exe IMG_3918.CR2 /resize=(25p,25p) /convert=hoge.jpg
そのファイルにたいして identify してみる。EXIF あるで
>identify.exe -verbose hoge.jpg Image: C:\home\m\e\s\hoge.jpg Format: JPEG (Joint Photographic Experts Group JFIF format) Mime type: image/jpeg Class: DirectClass Geometry: 864x1296+0+0 Resolution: 72x72 Print size: 12x18 Units: PixelsPerInch Type: TrueColor Endianess: Undefined Colorspace: sRGB Depth: 8-bit Channel depth: red: 8-bit green: 8-bit blue: 8-bit Channel statistics: Red: min: 0 (0) max: 255 (1) mean: 110.476 (0.433239) standard deviation: 56.635 (0.222098) kurtosis: -1.47489 skewness: -0.204906 Green: min: 0 (0) max: 255 (1) mean: 99.554 (0.390408) standard deviation: 60.9476 (0.23901) kurtosis: -1.53972 skewness: 0.0668336 Blue: min: 0 (0) max: 255 (1) mean: 100.259 (0.393173) standard deviation: 62.7497 (0.246077) kurtosis: -1.5159 skewness: 0.121408 Image statistics: Overall: min: 0 (0) max: 255 (1) mean: 103.43 (0.405607) standard deviation: 60.1655 (0.235943) kurtosis: -1.50636 skewness: -0.00715419 Rendering intent: Perceptual Gamma: 0.454545 Chromaticity: red primary: (0.64,0.33) green primary: (0.3,0.6) blue primary: (0.15,0.06) white point: (0.3127,0.329) Background color: white Border color: srgb(223,223,223) Matte color: grey74 Transparent color: black Interlace: None Intensity: Undefined Compose: Over Page geometry: 864x1296+0+0 Dispose: Undefined Iterations: 0 Compression: JPEG Quality: 80 Orientation: TopLeft Properties: date:create: 2014-03-02T19:03:13+09:00 date:modify: 2014-03-02T19:31:38+09:00 exif:ApertureValue: 286720/65536 exif:Artist: exif:BitsPerSample: 8, 8, 8 exif:ColorSpace: 1 exif:ComponentsConfiguration: 1, 2, 3, 0 exif:Compression: 6 exif:Copyright: exif:DateTime: 2014:03:01 16:49:40 exif:DateTimeDigitized: 2014:03:01 16:49:40 exif:DateTimeOriginal: 2014:03:01 16:49:40 exif:ExifImageLength: 1296 exif:ExifImageWidth: 864 exif:ExifOffset: 446 exif:ExifVersion: 48, 50, 51, 48 exif:ExposureBiasValue: 0/1 exif:ExposureProgram: 2 exif:ExposureTime: 1/60 exif:Flash: 16 exif:FlashPixVersion: 48, 49, 48, 48 exif:FNumber: 45/10 exif:FocalLength: 32/1 exif:GPSInfo: 69784 exif:ImageLength: 3456 exif:ImageWidth: 5184 exif:InteroperabilityOffset: 69556 exif:ISOSpeedRatings: 2000 exif:Make: Canon exif:MeteringMode: 5 exif:Model: Canon EOS M exif:Orientation: 1 exif:ResolutionUnit: 2 exif:ShutterSpeedValue: 393216/65536 exif:StripByteCounts: 3372628 exif:StripOffsets: 102020 exif:SubSecTime: 84 exif:SubSecTimeDigitized: 84 exif:SubSecTimeOriginal: 84 exif:XResolution: 72/1 exif:YResolution: 72/1 jpeg:colorspace: 2 jpeg:sampling-factor: 2x2,1x1,1x1 signature: 833a20aacf3b6860c051d1e3cd4ca5a66ab49d8e09383ab26275e2e26a1231d5 unknown: 2 Profiles: Profile-exif: 65533 bytes Artifacts: filename: C:\home\m\e\s\hoge.jpg verbose: true Tainted: False Filesize: 341KB Number pixels: 1.12M Pixels per second: 55.99MB User time: 0.016u Elapsed time: 0:01.019 Version: ImageMagick 6.8.8-7 Q16 x64 2014-02-13 http://www.imagemagick.org
_ [ImageMagick][.NET]Magick.NET - Home
Microsoft Visual Studio Express 2013 for Windows Desktop
Visual Studio で作成したプロジェクトのターゲットがデフォルトで Any CPU なので AMD64 を新規作成しようとしたら「サポートしてないぬ」と言われた。x64 の DLL ではなく x86 の DLL を使い、ターゲットを x86 にしても同じことを言われた。なぜ AMD ...
型 'System.BadImageFormatException' のハンドルされていない例外が ImageMagick0.exe で発生しました
追加情報:ファイルまたはアセンブリ 'Magick.NET-x64, Version=6.0.0.0, Culture=neutral, PublicKeyToken=2004825badfa91ec'、またはその依存関係の 1 つが読み込めませんでした。間違ったフォーマットのプログラムを読み込もうとしました。
警告 2 構築されているプロジェクトのプロセッサ アーキテクチャ "MSIL" と、参照 "Magick.NET-x64, Version=6.0.0.0, Culture=neutral, PublicKeyToken=2004825badfa91ec, processorArchitecture=AMD64" のプロセッサ アーキテクチャ "AMD64" の間には不一致がありました。この不一致は、ランタイム エラーを発生させる可能性があります。プロジェクトと参照の間でプロセッサ アーキテクチャが一致するように、構成マネージャーを使用してターゲットとするプロジェクトのプロセッサ アーキテクチャを変更するか、ターゲットとするプロジェクトのプロセッサ アーキテクチャに一致するプロジェクト アーキテクチャとの依存関係を参照で設定することを検討してください。 ImageMagick0
15.5cm三連装機銃なんてあったっけ?
25mmと混ざったぽい。cmクラスの機銃があったら使うわ