JPEGAction Component version 1.0
by: Ralf Schroedter
Nideggener Stra�e 17
52385 Niedeggen
Germany
eMail:
[email protected]
JPEGAction is a Component which makes several changes on a
Jpeg-Image. It capsules many actions which have been implemented in the
JPEGTran program.
Original: jpegtran.c ; Copyright (C) 1995-1996, Thomas G. Lane.
JPEGAction as well as JPEGImage are based on the work of
NOMSSI NZALI Jacques H. C., author of the PASJPEG library
(
http://www.tu-chemnitz.de/~nomssi/pub/pasjpeg.zip).
(see other readme file for further information.)
Moreover the JPEGImage of Luciano Bajo Eloy
Madrid, Spain
E-mail:
[email protected]
and Andreas Hoerstemeier
Aachen, Germany
E-Mail:
[email protected]
WWW:
http://www.westend.de/~hoerstemeier
was a great help and serveral units where the basic for the JpegAction
component.
Using: Drop the Component on your form an wire a TImage-Component
to the Image property. (The image should contain a JPeg Graphic
in the Picture-Property).
After you call the 'excute' method, all actions subscribed
in the JpegAction component will be done to your image-component.
If a Filename is submitted in the JpegAction-component, the new
Jpeg-Image will be saved to the respective filename.
Actions: The property action subscribes the different kinds of transformation
as discribed in 'JXForm_Code' in the unit TRANSUPP.PAS.
The property ForceGrayScale transfers your colored image to a
grayscale picture.
The OptimizeCoding property optimizes the entropy encoding params
(smaller file, but slow compression)
The Progressive property creates a progressive JPEG file.
The trimm_off_partial_edge_MCUs property trims of any partial
edge MCUs which the transform can't handle.