Re^3: CAS-5A jpg trick?2023年03月06日 17時49分

Hello!  KSS (Kiss) files are a very common format that many applications can
take as input or write as output. I searched online for some documentation,
but it's such an old format that I am not finding much.  One overview is at:

http://www.ax25.net/kiss.aspx

... but that is talking more about using the KSS format to communicate with
hardware TNCs. That is not what we're talking about here.  A KSS file has a
certain format, so you need software (GNU Radio or DK3WN KissDump+) to pull
out only the hex bytes without the extra characters that are used in KSS files.

All of my how-to commands are for a linux system. 'cat' is a very common
command in linux; so is 'xxd'.  'cat' simply lists out a file.

The command to remove line feeds is shown below that comment... when you pipe
a file's contents (with the cat command) to the 'tr' command, you can remove
any characters you wish.  The escape code ' \n ' is a line feed.
You may wish to Google all these commands to get familiar with them & to see
examples. That is what I do!

So in summary, the original binary file is in the KSS format. That is converted
to a binary hex file, and then to TEXT to make editing easier. When you have all
the packets, convert back to binary hex to create the JPG file. If you are not
familiar with working with files this way, I know that sounds very complicated
and difficult, but it's not. Just need to learn the tools.

I hope that is helpful!
K4KDR, Scott

Re:Re^3: CAS-5A jpg trick?2023年03月06日 20時52分

(訳)
KSS (Kiss) ファイルは、多くのアプリケーションが入力として取り込んだり、
出力として書き込んだりすることができる非常に一般的な形式です。いくつかの
ドキュメントをオンラインで検索しましたが、形式が古いためあまり見つかりま
せん。 一つの概要は次のとおりです。

http://www.ax25.net/kiss.aspx

...しかし、それはハードウェアTNCと通信するために KSSフォーマットを使用す
ることで知られています。ここではそういう話ではないのです。 KSSファイルに
は特定の形式があるために、KSS ファイルで使用されている余分な文字を除いて
16進数バイトのみを引き出すソフトウェア(GNU Radio または DK3WN KissDump+)
が必要です。

私の how-toコマンドはすべて Linuxシステム用で、'cat' はLinuxで非常に一般
的なコマンドです。'xxd' も同様です。 'cat' は単にファイルをリストします。

改行を削除するコマンドは、そのコメントの下に示されています。..ファイルの
内容を (cat コマンドを使って) 'tr'コマンドにパイプ(pipe)すると、望む任意
の文字を削除できます。エスケープ コード '\n' が改行です。 これらすべての
コマンドを Google で検索してそれらに慣れ、例を確認することをお勧めします。
これが私にできることです!

つまり、元のバイナリファイルは KSS形式です。それを バイナリhexファイルに
変換してから、編集を容易にするためにTEXTに変換します。すべてのパケットが
揃ったら、バイナリhexに変換して JPGファイルを作成します。この方法で ファ
イルを操作することに慣れていない場合は、とても複雑で難しいように聞こえる
かもしれませんが、そうではありません。ツールを学ぶだけです。
お役に立てば幸いです。