danomatika’s portfolio

Packet Image Files

PIF/file2.png

The first version of Port80 stuffed an image file with packet data.

October 19th, 2005


The initial version of Port80 pushed packet information into a Targa TGA file.

It grabbed a specified number of bytes linearly from a specified position in each packet.

(for example, read 10 bytes out of every packet starting at pos = 1/3 of its byte length).

It then repeatedly read bytes until it had filled the image file of size w x h (in pixels).

Each byte was scaled by its unsigned value (0-255) to set the color of each pixel:

  • R: (0-85)
  • B: (86-170)
  • G: (171-255)

Here are images as well as corresponding text files containing the origin of every packet and the specific byte data read.

———————————————————————-

This is my wifi searching for a router, sending identical sounding packets over and over. You can see the repetition as a series of green horizontal lines.

pif1

1400×1050: 100 bytes/packet starting packet_length/5

file.PNG < –> file.txt source (4.27Mb)

Surfing online.

———————————————————————-

pif2

100×100: 100 bytes/packet starting packet_length/20

file2.PNG < –> file2.txt source (36.6Kb)

Surfing online.

———————————————————————-

pif3

100×100: 15 bytes/packet starting packet_length/25

file3.PNG < –> file3.txt source (177Kb)

———————————————————————-

I decided to pursue a more visually active dissemination of the information … aka I thought the pictures were boring and took a different approach with Port80.


Leave a Reply