Article View: comp.os.ms-windows.programmer.win32
Article #2115Re: JPEG file internal structure
From: Marco Schmidt
Date: Tue, 04 Sep 2007 08:03
Date: Tue, 04 Sep 2007 08:03
21 lines
2094 bytes
2094 bytes
fup2 r.p.d; best group is probably comp.compression, though kbhat@kaxy.com: >> I am looking for some information on the internal structure of a JPEG >> file. I was playing with a handful of bits in a JPEG file as part of >> a steganagraphy experiment and I saw something remarkable. I am able >> to cause a lateral shifting in the file. It is as if someone has torn >> the right quarter of the picture and pasted it on the extreme left. I >> was certainly expecting loss of clarity in the picture, but seeing >> such a remarkable phenomenon has left me completely dumbstruck. Any >> suggestions what might be causing this? If part of the bitstream is corrupted, the decoder takes up decoding at the next restart marker or wherever the bitstream makes sense to it again. Decoding resumes at an incorrect position because the decoder does not know how many pixels (MCUs) it skipped over. Hence, everything is shifted. Regards, Marco
Technical Details
Message-ID:
<5k4hptF2386lU1@mid.dfncis.de>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!fu-berlin.de!uni-berlin.de!news.dfncis.de!not-for-mailReferences:
<1188573561.983094.44030@57g2000hsv.googlegroups.com> <1188828042.692539.97850@19g2000hsx.googlegroups.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 113dfb,ee6ba7d0bb2bbdd2 X-Google-Thread: 106b4a,ee6ba7d0bb2bbdd2 X-Google-Thread: 102786,b0460dd3ba0dead4 X-Google-Thread: 109590,b0460dd3ba0dead4 X-Google-Thread: fdc2a,b0460dd3ba0dead4 X-Google-Attributes: gid113dfb,gid106b4a,gid102786,gid109590,gidfdc2a,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!fu-berlin.de!uni-berlin.de!news.dfncis.de!not-for-mail From: Marco Schmidt <marcoschmidt@geocities.com> Newsgroups: comp.os.ms-windows.programmer.win32,comp.sources.d,rec.photo.digital,adobe.photoshop.windows,comp.graphics.algorithms Subject: Re: JPEG file internal structure Followup-To: rec.photo.digital Date: Tue, 04 Sep 2007 10:03:24 +0200 Lines: 21 Message-ID: <5k4hptF2386lU1@mid.dfncis.de> References: <1188573561.983094.44030@57g2000hsv.googlegroups.com> <1188828042.692539.97850@19g2000hsx.googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: news.dfncis.de s4qqiYK4Hq8D8zF39uIuQQgJMf5jMsozmCQEZEwO6Zv6JPGZ/hi20YvQA= Cancel-Lock: sha1:xwICnCEbp074Ue5IsgVkuouhnJs=