JPEGフッター 「FFD9」2023年03月31日 15時08分

(#12 補足)

Photo No.9 は、受信率(@SatNOGS)100%で、フレームサイズは 1031(hex0407) で
あることを確認していたが、"30330ng9.hex"を Geanyエディタで開くと1030行で
あと1行足りていないことに気付いた。Geanyで一番下を見ると、JPEGフッターの
「FFD9」 を含むべき最終行の 1031行目が無い。その理由は不明だがここから先は
手作業で、 「hex0407」 と 「FFD9」 を根拠に、大元の SatNOGS_csv ファイルから、
その最終の1行を探し出し、それが 84589行目に存在していることを突き止めた。
それを手作業で行頭の 42(=10+19+13)bytesをカットし、"30330ng9-less-27.txt"
最終1031行目に追加しシェルスクリプトを再実行し、No.9_100%地球画像を得た。

(#12 Complement)

Photo No.9 was confirmed to have 100% reception(@SatNOGS) and its frame
size was '1031(hex0407)', but when I opened "30330ng9.hex" with Geany
editor, I noticed that it was 1030 lines, one more line is missing.
Looking at the bottom in Geany, the final line 1031, which should
contain the JPEG footer 'FFD9', is missing. The reason is unknown,
and I manually searched for the last line from the original SatNOGS_
csv file based on 'hex0407' and 'FFD9', and I confirmed that it exists
at line 84589. I manually cut 42(=10+19+13) bytes at the beginning of
the line, and I added it to the last line 1031 of "30330ng9-less-27.txt".
I re-executed the shell script. Then No.9_100% earth image was obtained.

コメント

コメントをどうぞ

※メールアドレスとURLの入力は必須ではありません。 入力されたメールアドレスは記事に反映されず、ブログの管理者のみが参照できます。

※なお、送られたコメントはブログの管理者が確認するまで公開されません。

※投稿には管理者が設定した質問に答える必要があります。

名前:
メールアドレス:
URL:
次の質問に答えてください:
Tropical fish?

コメント:

トラックバック