Delphi的JPEG库非常慢。如何提高其性能?我正在寻找一个快速的Jpeg库 - 更快地保存和加载jpeg图像。
我只测试了Jpeg.TJPEGImage
答案 0 :(得分:1)
您可以使用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.
*/
}
答案 1 :(得分:0)
我们有一个JPEG解压缩器,每秒可以解压缩超过350万像素(如果在代码中重新启动标记,则超过700万像素)。每秒还提取超过3000个缩略图。这不包括将压缩代码读入内存的时间。请访问www.instantimage.com。同样非常可靠,并将解压缩许多JPEG图像,而Microsoft Windows软件则不会。