JPEG creating test #122023年03月30日 00時49分

JPEG creation method

Request CAS-5A data to SatNOGS
Rename from long file name to 30330ng9.csv
Find [0407 and FFD8] line in 30330ng9.csv
This file is CAS-5A JPEG image file No_9.
This line can be found on line 86520.
[0407] frame size, [FFD8] jpg header
[0407] hexadecimal = [1031] decimal
hex-dec conversion Site

[ext009.rb]
> for i in 1..0x407
> printf("grep 030407%04X0100160C090B2E32080907 30330ng9.csv | head -1 | cut -c 59- >> 30330ng9.hex\n", i)
> end

$ ruby ext009.rb
$ ruby ext009.rb > 30330ng9.sh
$ sh 30330ng9.sh [---generate "30330ng9.hex" after this command]
$ cat 30330ng9.hex > 30330ng9.txt
$ cut -c 27- 30330ng9.txt > 30330ng9-less-27.txt
$ tr -d '\n' < 30330ng9-less-27.txt > 30330ng9-one-line.txt
$ cat 30330ng9-one-line.txt | xxd -r -p > 30330ng9-completion.jpg

my detailed Site,
https://www.ne.jp/asahi/hamradio/je9pel/cas5ajpg.htm (EN)
https://www.ne.jp/asahi/hamradio/je9pel/cas5atst.htm (JP)


コメント

_ JE1CVL ― 2023年03月30日 09時24分

英文で世界に紹介、素晴らしいです。
今まで読んで来てますので、英文のままで
書いてあること理解出来ます。Very good !

コメントをどうぞ

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

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

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

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

コメント:

トラックバック