📄 readme.txt
字号:
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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -