SCLS Image "Michelangelo"
Imagine combining the power of C++ with the realisation of image. This can be done with our image library : SCLS Image "Michelangelo".Presentation
What is SCLS Image "Michelangelo" ?
Using a terminal for your code, it's good. Using a visual representation with an image, this is better. This is why this library is made for : handle images. It is named after one of the greatest painter of all time : Michelangelo. With this library, the goal is to make the using of images in C++ very simple.
Dependencies
To be used, SCLS Image does not need a lot of others libraries, but some are needed. The first needed library is the very known ZLib library. The second library needed is the Freetype library. The needed informations to download this libraries are avaible on their website. Of course, you will also need the other low-level SCLS libraries SCLS Foundation and SCLS Math.
The default values of thoses libraries path in SCLS are directly in the system include path. However, if you're include are in an other path, you can define a predirective before including the library, to avoid this problem. For SCLS Foundation, the needed macro is SCLS_FOUNDATION_PATH, and it should be the "scls_foundation.h" file of the library. For SCLS Math, the needed macro is SCLS_MATH_PATH, and it should be the "scls_math.h" file of the library. For ZLib, the needed macro is SCLS_ZLIB_PATH, and it should be the "zlib.h" file of the library. For Freetype, the needed macro is SCLS_FREETYPE_PATH, and it should be the "ft2build.h" file of the library.
Download SLCS Image
As this version is still experimental, the only way to downlaod SCLS Image is to use MediaFire. Keep in mind that the current version is header-only, and the headers are stored in a zip file. So, if you browser mind about that, the zip only contains headers, so no security problems. The zip is avaible, at this link.
The core of SCLS Image
The "Image" class
Everything in SCLS Image uses a specific class : the class "Image". It is made to easily handle an image, with image loading and saving, editing... For more information on this very important class, see this page about the class.
Using text with images
Generate any text in an image
Generating text is an action that we all see a lot of time every day. However, it is a more complicated thing that it looks. Fortunately, SCLS Image contains a set of tools, made to easily handle graphic text generation.