readme.txt

来自「Jasper jpeg2000 from delphi」· 文本 代码 · 共 30 行

TXT
30
字号
  Jasper library binding for Delphi.

The Jasper library page:
http://www.ece.uvic.ca/~mdadams/jasper/

Original idea from BorJas (wrapper for C++ Builder), Dmitry Fedorov
http://www.dimin.net/software/sources.html

The C library has a lot of changes to make it compatible with Delphi RTL, but I think it's 99% ok.

I included support for reading these formats: JP2, JPC, PNM, RAS, MIS. The real goal was jpeg2000, the rest I left them if they didn't make trouble.
I specifically removed jpeg support, because it's already available in Delphi (with some extra capabilities in my implementation found on CodeCentral:
http://codecentral.borland.com/codecentral/ccweb.exe/author?authorid=162258).

The decoder I implemented is able to read (convert) non uniform geometry and YCbCr files. I found at least one file which is not read by IrfanView (included for test).
The library is not very fast, but that's not depending on me (I think I included all optimizations).

Saving is supported (and tested) for JP2, JPC and PNM (binary and text).
Other formats could work; some are not supported by the library(read only). 

The save function passes test parameters to encoder routines. Read jasper docs for details.
I included one property, CompressionRate, which is automatically passed as parameter to jp2 codec.

Now compiled for Delphi 5-7, C++ Builder 5-6.

Enjoy.

Gabriel Corneanu
gabrielcorneanu(AT)yahoo(DOT)com

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?