Delphi のデフォルトの JPEG ライブラリは非常に遅いです。そのパフォーマンスを向上させる方法は?jpeg 画像の保存と読み込みを高速化する必要があります。
Jpeg.TJPEGImage のみをテストしました
Delphi のデフォルトの JPEG ライブラリは非常に遅いです。そのパフォーマンスを向上させる方法は?jpeg 画像の保存と読み込みを高速化する必要があります。
Jpeg.TJPEGImage のみをテストしました
libJpeg または libJpegTurbo を使用できます。後者は間違いなく非常に高速です。
ユニットから:
{
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
*
* 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.
*/
}
毎秒350メガピクセル以上(コードでマーカーを再起動した場合は700メガピクセル以上)を解凍するJPEG解凍ツールがあります。また、毎秒3000以上のサムネイルを抽出します。これには、圧縮されたコードをメモリに読み込む時間は含まれていません。www.instantimage.comを見てください。また、非常に安定しており、MicrosoftWindowsソフトウェアでは圧縮されない多くのJPEG画像を解凍します。