New Version 3.15.5 (2013.11.18)
What is the Clarion FreeImage Project?
Due to lack of participation this site is suspended.
The Clarion FreeImage Project is a set of classes and a template that implement the FreeImage library in Clarion 6.x, 7, 8, and 9. FreeImage is an open source raster image processing library. The base class wraps the FreeImage DLL and includes methods to load, save, transform, rescale, create thumbnails, color correct, change bit depth, alpha blend and more. You can contribute to the project by helping with any of the tasks listed on What's Next?.
Built on the base class is an image control that you can use on your windows like the Clarion image control. It supports flicker free, resampled zooming and scrolling. The image control is 100% Clarion source code. Since you have the source code, you can recompile it as new versions of Clarion are released.
Here's an example of how you can use the image control in the Clarion FreeImage Project Example program. It is placed on an MDI window, and the width and height are set to "full" so it automatically resizes with the window.
You may also use the FreeImage base class without the image control for those times when you don't need to display the image. For example, it works perfectly to create thumbnails of all images in a folder.
The following code is all that's required to load an image and create a thumbnail 64 pixels wide using a BSpline resampling filter, and then save it in a different file.
Here are some of the other operations that the base class supports: