Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

JPEG Error #42

749 views
Skip to first unread message

Brian Baley

unread,
Apr 23, 2003, 2:58:52 PM4/23/03
to
Anyone know what JPEG Error #42 - an EJPEG exception reported by
TJPEGImage - means?

I could find no reference to the error in question.

it happens here:
Image2.Picture.Bitmap.Assign(jpg);

D7
Thanks
Brian

Brian Baley

unread,
Apr 23, 2003, 4:13:04 PM4/23/03
to
still don't know what error is - but seems to be due to invalid JPEG data in
stream...

"Brian Baley" <bba...@peak-power.net> wrote in message
news:3ea6e26b$1...@newsgroups.borland.com...

Charles Hacker

unread,
Apr 23, 2003, 7:14:52 PM4/23/03
to

JPEG Error #42 = JERR_INPUT_EOF: Premature end of input file

An error in the (original) JPG file?

--
Charles Hacker
Lecturer in Electronics and Computing
School of Engineering
Griffith University - Gold Coast
Australia

David J Taylor

unread,
Apr 24, 2003, 4:35:05 AM4/24/03
to
"Charles Hacker" <repl...@borland.newsgroups> wrote in message
news:3EA71E6C...@borland.newsgroups...
> Brian Baley wrote:
[]

> JPEG Error #42 = JERR_INPUT_EOF: Premature end of input file
>
> An error in the (original) JPG file?

Or using streams and forgetting to rewind the stream?

David


Maynard Philbrook

unread,
Apr 27, 2003, 2:53:59 PM4/27/03
to
Simple reset the stream pointer back to 0.

Michael Koop

unread,
May 6, 2003, 1:56:45 PM5/6/03
to
Take a look on the following site...a list of all jpeg errors...
http://homepages.borland.com/efg2lab/Library/Delphi/Graphics/JpegErrors.txt

best regards
Michael Koop

Brian Baley schrieb:

0 new messages