Go back to Richel Bilderbeek's homepage.
Go back to Richel Bilderbeek's C++ page.
VCL code snippets for working with graphics using the STL and VCL library.
For STL and Boost graphics code snippets, go to the STL and Boost graphics code snippet page.
For conversions between VCL data types and STL/Boost data types, see the VCL convert code snippets .
0. Add colored noise, AddColoredNoise
1. AddColoredNoise, add colored noise
2. ASCII art, see the ASCII art page
3. Bleach
4. Calculate the average greyness of a TImage, GetAverageGreyness
5. ColorToRgb, convert TColor to RGB values
6. Convert a color VCL TImage to a grey TImage, ConvertToGrey
7. Convert RGB values to TColor
8. Convert TColor to RGB values
9. ConvertToGrey, convert a color VCL TImage to a grey TImage
11. Darken
12. DoHistogramEqualization, perform a histogram equalization
13. Double buffering
14. Draw a globe
15. Draw a globe with a minus on it
16. Draw a globe with a plus on it
18. Draw text centered on image
20. DrawGlobeMinus, draw a globe with a minus on it
21. DrawGlobePlus, draw a globe with a plus on it
22. DrawLymphocyte, draw a lymphocyte
23. DrawTextCentered, draw text centered on image
24. Enhance the contrast of a grey image, EnhanceContrast
25. EnhanceContrast, enhances the contrast of a grey image
26. Erase a color
28. Get a histogram of color values of an image, GetImageHistogram
31. Get a rainbow-like color gradient
34. Get some pixels' greynesses
35. GetAverageGreyness, calculates the average greyness of a TImage
36. GetFontHeight, get a Font's height
37. GetGreyness, get a pixel's greyness
38. GetGreyness, get some pixels' greynesses
39. GetImageHistogram, get a histogram of an image's grey intensities
40. GetImageHistogram, get a histogram of color values of an image
41. GetPixel, get a pixel's color
42. Histogram equalization, DoHistogramEqualization
43. Histogram of an image's grey intensities, GetImageHistogram
44. Make a screenshot and store it as a bitmap, MakeScreenshot
45. MakeScreenshot, make a screenshot and store it as a bitmap
48. Pixelate
49. Rainbow, get a rainbow-like color gradient
50. Remove a color
51. RemoveColor, erase a color
52. RemoveColor, remove a color
53. RgbGradient, get an RGB gradient
54. RgbToColor, convert RGB values to TColor
55. Rotate an image
59. Set some pixels' greynesses
60. SetGreyness, set a pixel's greyness
61. SetGreyness, set some pixels' greynesses
62. SetPixel, set a pixel's color
64. SurfacePlotterTImage, surfacePlot for TImage
66. TForm, get a TForm in a TForm
67. Threshold Filter
68. TImage, see the TImage page