Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

Reconstruct JPEG Huffman Table?
The further I get into the study of the JPEG format, the more
questions I have :-)

Let's say I have a JPEG with everything BUT the huffman tables
included (perhaps it got corrupted) is it possible to reconstruct the
huffman tables?

Thanks again!
Jackson

Report this thread to moderator Post Follow-up to this message
Old Post
Jackson
09-28-04 08:55 PM


Re: Reconstruct JPEG Huffman Table?
On 28 Sep 2004, Jackson wrote:

> The further I get into the study of the JPEG format, the more
> questions I have :-)
>
> Let's say I have a JPEG with everything BUT the huffman tables
> included (perhaps it got corrupted) is it possible to reconstruct the
> huffman tables?

I'm not sure but I think there're some default tables defined.
If the JPEG file does not contain any huffman code tables you have to
use the "default tables" (which are defined in the JPEG standard)

I might be wrong, though. It's been a while since I tinkered with
the JPEG specification.


Ghis!
Sebastian

--
PGP-Key-ID (long): 572B1778A4CA0707


Report this thread to moderator Post Follow-up to this message
Old Post
Sebastian Gesemann
10-10-04 02:12 AM


Re: Reconstruct JPEG Huffman Table?
"Jackson" <jsmith193300@yahoo.com> wrote in message
news:680af4.0409280848.60a20c22@posting.google.com...
> Let's say I have a JPEG with everything BUT the huffman tables
> included (perhaps it got corrupted) is it possible to reconstruct the
> huffman tables?

If there was a *fast* way to do it, then the tables probably wouldn't be
included in the first place.  There might be a *slow* way.  Try all possible
tables, look at the picture...

Better yet, attack it like a monoalphabetic cipher...

-- Matt Mahoney




Report this thread to moderator Post Follow-up to this message
Old Post
Matt Mahoney
10-10-04 08:55 PM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

Compression archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 05:34 PM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.