The Delphi Bug List

Entry No.
682
RTL - JPEG - TJPEGImage
When converting large Bitmaps to jpeg, an EJPEG #36 is thrown.
1.02 2.01 3.0 3.01 3.02 4.0 4.01 4.02 4.03 5.0 5.01 6.0 6.01 6.02 Kylix 1.0
N/AN/AUnknownUnknownExistsExistsExistsExistsExistsExistsExistsExistsExistsUnknownUnknown
Description
Reported by Holger Dors; checked by Jordan Russell
To reproduce the problem:
See code sample, just compile and press "Button 1"

Delphi Version: 5.01
OS: NT4sp6 German

Comments: I've reported this bug to Borland ages ago (02 May 2000), so it has to exist in pre-5 Delphi versions as well. The case reference number is: 436439

User-contributed comments
anonymous
28 Nov 2001  09:10 PM GMT
I do not see this with Delphi 6.01 and Windows 2000 SP1.

FWIW, if it is a bug, then a complaint to the creators of the JPEG support is in support - not Borland.
Si
09 Mar 2002  10:16 AM GMT
I have a problem with this bug in Delphi 3. It is not just image area related, but is dependent on the amount of information in the picture. For example, an image with a plain border 3000 x 2400 px saves to file - fJpeg.SaveToFile(fName) - without error. Saving the same file size with an ornate border throws up Error #36. It is a disk write error, but the disk is not full.

The IJL is an alternative (apparently) but it would require a lot of integrating into my large code base to use. Is there any upgrade/compatible unit to the Borland JPEG unit available?

Any info greatfully received.
Jens Remus
09 Jun 2002  10:58 AM GMT
I tryed the code example with Delphi 6.02 Personal and it did not throw an exeption (clicking on Button1).
Bernhard Geyer
10 Jun 2002  08:22 AM GMT
I didn't get a exception when pressing Button1. File "converted.jpg" is generated correct.

Delphi 6.02 Profession German
OS: Windows 2000 Professional with SP2, German
Edge Tender
08 Sep 2002  11:01 AM GMT
No exceptions, JPG file generated correctly

Delphi 6.02 Enterprise, English
OS:Windows 2000 Sp3, Simplified Chinese
Michael Koop
30 May 2003  05:58 PM GMT
Hello,
does anybody has a solution for this problem,
if I don't want to update to DELPHI 6/7 ?
The JPEG Intel Library is not longer available !
best regards
Michael Koop
michael.koop@planet-interkom.de
Latest update of this entry: 2001-11-15

Post a comment on this bug


Index page
Delphi Bug List home page
The Delphi Bug Lists are presently maintained by Jordan Russell, who has taken over this task from Reinier Sterkenburg since August 2000.
All feedback is appreciated. See also the feedback section of the Delphi Bug List home page.