Strict Standards: Non-static method XoopsErrorHandler::getInstance() should not be called statically in /home/flynet/www/class/errorhandler.php on line 202

Strict Standards: Non-static method XoopsErrorHandler::getInstance() should not be called statically in /home/flynet/www/class/errorhandler.php on line 202

Strict Standards: Non-static method XoopsErrorHandler::getInstance() should not be called statically in /home/flynet/www/class/errorhandler.php on line 202

Strict Standards: Non-static method XoopsErrorHandler::getInstance() should not be called statically in /home/flynet/www/class/errorhandler.php on line 202

Strict Standards: Non-static method XoopsErrorHandler::getInstance() should not be called statically in /home/flynet/www/class/errorhandler.php on line 202

Strict Standards: Non-static method XoopsErrorHandler::getInstance() should not be called statically in /home/flynet/www/class/errorhandler.php on line 202

Strict Standards: Non-static method XoopsErrorHandler::getInstance() should not be called statically in /home/flynet/www/class/errorhandler.php on line 202

Strict Standards: Non-static method XoopsErrorHandler::getInstance() should not be called statically in /home/flynet/www/class/errorhandler.php on line 202

Strict Standards: Non-static method XoopsErrorHandler::getInstance() should not be called statically in /home/flynet/www/class/errorhandler.php on line 202

Strict Standards: Non-static method XoopsErrorHandler::getInstance() should not be called statically in /home/flynet/www/class/errorhandler.php on line 202

Strict Standards: Non-static method XoopsErrorHandler::getInstance() should not be called statically in /home/flynet/www/class/errorhandler.php on line 202

Strict Standards: Non-static method XoopsErrorHandler::getInstance() should not be called statically in /home/flynet/www/class/errorhandler.php on line 202

Strict Standards: Non-static method XoopsErrorHandler::getInstance() should not be called statically in /home/flynet/www/class/errorhandler.php on line 202
PhotoLog Ktai edition相変わらず、Exifで遊んでいる(06/10 13:23) Page:1
Author : flyman
Category: General

flymanはいいトシである。
旅行先で撮った写真を見直していて、『あれ、これは何処だったっけ?』なんてことは茶飯事である。
そんな時に便利(そう)なのがExifに書かれたGPSロケーション情報だ。
とはいえ、殆どのデジカメはGPSレシーバーが搭載されていない。GPSロガーやスマホと連動してロケーション情報を書き込める機種、機能はあるのだが、flymanはGPSロガーを持っていない。旅先でスマホ連動なんてめんどい事はしたくない(した事がないので、もしかしたら簡単なのかも知れないが)。
そこで、JpegのExifにGPSロケーション情報を書き込めるアプリを作る事にしたわけだ。どうせなら地図を見ながら設定できるのがいい。ついでにコメントなんかも書けたらいい。
で、出来上がりつつあるのが『PosiAdder』(ポジアダー)だ。
下のスクショはGPS情報をいじっている画面だ。内部にブラウザ機能を搭載していて、OpenStreetMapというサイトへつないでいる。Googleナントカはライセンスがメンドイので。

<画像:>

ほぼ動くのだが、まだバグつぶし中ではある。
以前、flymanが愛用している画像処理ソフトPaintShopProがへぼい、と書いた。本来、Jpegファイルの先頭にあるはずのExif情報(APP1セグメント)が後ろに追いやられていたり、拡張子が.JPGのBMPファイルを生成したり。
色々いじっていてさらに判ったのが、本来昇順に並んでいるはずのタグ(IFD)が順不同になっていた。もうどうしていいやら。
ネット上でサンプルになりそうなJpegファイルを探してみると、1バイト文字(ASCII)しか書けない項目に2バイト文字(S-JIS)が書かれているケースも多い。画像処理ソフトは傍若無人らしい。――PosiAdderでは無視するけど――
そういった、Exifの仕様を無視したぶっ壊れたJpegをはき出すアプリが多いせいでバグつぶしに追われるのである。

もう少しで公開できるかな。出来るといいな。


コメントする

次の記事へ >
< 前の記事へ
一覧へ戻る

WP-Ktai ver 0.5.0

Strict Standards: Non-static method XoopsErrorHandler::getInstance() should not be called statically in /home/flynet/www/class/errorhandler.php on line 202