Performance – Delphi Fast JPEG library

Delphi’s JPEG library is very slow. How to improve its performance? I am looking for a fast Jpeg library-save and load jpeg images faster.

I only tested Jpeg.TJPEGImage

You can use libJpeg or libJpegTurbo. The latter is definitely very fast.

From the unit:

{
libJPEG Header conversion by Steffen Xonna. (21-03-2008)

http://www.dev-center.de/index.php?cat= header&file=libjpeg


Below you find an copy from the original libJPEG header.

/*
* jpeglib.h
*< br /> * Copyright (C) 1991-1998, Thomas G. Lane.
* This file is part of the Independent JPEG Group's software.
* For conditions of distribution and use, see the accompanying README file .
*
* This file defines the application interface for the JPEG library.
* Most applications using the library need only include this file,
* and perhaps jerror.h if they want to know the exact error codes.
*/
}

Delphi’s JPEG library is very slow. How to improve its performance? I am looking for a fast Jpeg library-save and load jpeg images faster.

I only tested Jpeg.TJPEGImage

You can use libJpeg or libJpegTurbo. The latter is definitely very fast.

From the unit:

{
libJPEG Header conversion by Steffen Xonna. (21-03-2008)

http://www.dev-center.de/index.php?cat=header&file=libjpeg

< br />Below you find an copy from the original libJPEG header.

/*
* jpeglib.h
*
* Copyright (C) 1991-1998, Thomas G. Lane.
* This file is part of the Independent JPEG Group's software.
* For conditions of distribution and use, see the accompanying README file.
*
* This file defines the application interface for the JPEG library.
* Most applications using the library need only include this file,
* and perhaps jerror.h if they want to know the exact error codes.
*/
}

Leave a Comment

Your email address will not be published.