This is a static archive of our old Q&A Site. Please post any new questions and answers at ask.wireshark.org.

How to open JPEG files directly?

0

Hi All,

I read in the relnotes from version 1.4.0

http://www.wireshark.org/docs/relnotes/wireshark-1.4.0.html

.... You can open JPEG files directly in Wireshark

I opened in a browser http://www.linuxmigration.com/quickref/admin/images/wireshark_capture.jpg and Wireshark runs. With image-jfif i could filter it. But how can i open it directly? The only what i still coild do is follow tcp stream and then save it raw

Regards

asked 14 Sep '10, 09:42

wireshark's gravatar image

wireshark
1111
accept rate: 0%

edited 14 Sep '10, 10:05

Gerald%20Combs's gravatar image

Gerald Combs ♦♦
3.3k92258


One Answer:

3

"Open JPEG files directly" means that you can open them via File→Open. Wireshark will display the JPEG file as a single "packet". You can open and analyze MP3 files in the same way.

If you want to export a JPEG you've captured in an HTTP session you can use File→Export→Objects→HTTP.

answered 14 Sep '10, 10:04

Gerald%20Combs's gravatar image

Gerald Combs ♦♦
3.3k92258
accept rate: 24%

2

Note that "Open JPEG files" means that Wireshark will dissect the JPEG file, not that it'll display it as an image. Wireshark currently includes no code to hand the contents of, for example, an HTTP GET reply to something that can display it in its native format, e.g. displaying a JPEG or GIF or PNG or... as an image. To do that, you'd need to export it, as per Gerald's instructions.

(15 Sep '10, 17:11) Guy Harris ♦♦