T O P I C R E V I E W |
Eric |
Posted - May 20 2012 : 20:25:41 Hi, How ouuld I change the jpeg Image size before I save back to database using ImageEnDBView?
|
1 L A T E S T R E P L I E S (Newest First) |
Edelcom |
Posted - May 21 2012 : 00:55:36 You can resize the image with the Resample proc:
fInternalImage.Proc.Resample(<width>,<height>,<resample filter>);
With the resample filter being one of: TResampleFilter = (rfNone, rfTriangle, rfHermite, rfBell, rfBSpline, rfLanczos3, rfMitchell, rfNearest, rfLinear, rfFastLinear, rfBilinear, rfBicubic, rfProjectBW, rfProjectWB); it's defined in hyiedefs.pas
You can also use the Resize proc, but especially for jpeg images the resample produces better images.
Programmer by choice and profession. |
|
|