TImage - Delphi Usage Examples, Tips and Tricks
Delphi's image component, TImage, displays a graphical image, like a bitmap, icon, or metafile. Properties and methods of can be used for such things as loading an image from file, clearing the image in the TImage, and assigning an image for another control. Learn how to use the image control in Delphi programs.
How to Clear the Graphics in a TImage control
If you need to clear the image contained in the TImage control, at run time, you'll find that *no* method exist for such a simple task. Of course, this is not 100% true.
If you need to clear the image contained in the TImage control, at run time, you'll find that *no* method exist for such a simple task. Of course, this is not 100% true.
Drop Images from Windows Explorer to a TImage control
Let's say you need to "open" you application to the Windows - allowing it to accept files dragged from the Windows Explorer. Here's how to accept dragging (and dropping) an image file onto a TImage...
Let's say you need to "open" you application to the Windows - allowing it to accept files dragged from the Windows Explorer. Here's how to accept dragging (and dropping) an image file onto a TImage...
Apply Custom Transparent Color for the TImage Delphi Control
If you do not want the color of the bottom-left pixel to specify which image color should be "transparent" - you can set the TransparentColor property programmatically.
If you do not want the color of the bottom-left pixel to specify which image color should be "transparent" - you can set the TransparentColor property programmatically.
Is there an Image in the TImage control?
In most situations you assign an image for the TImage at design-time, by setting the Picture property using the Object Inspector. If you want to clear the TImage (at run-time), you asign NIL to the Picture property
In most situations you assign an image for the TImage at design-time, by setting the Picture property using the Object Inspector. If you want to clear the TImage (at run-time), you asign NIL to the Picture property
Fading a Bitmap in a TImage Control
How to fade out an image by decreasing the RGB value for each pixel...
How to fade out an image by decreasing the RGB value for each pixel...
TPictureClip - Custom Component with Source Code
Extract portions of a matrix of pictures and assign the "cell picture" ...
Extract portions of a matrix of pictures and assign the "cell picture" ...
How to "Pan" an Image in a TImage inside a ScrollBox
"Panning" (in computer terms) refers to being able to move an object both horizontally and vertically by holding down a given mouse button and then moving the mouse.
"Panning" (in computer terms) refers to being able to move an object both horizontally and vertically by holding down a given mouse button and then moving the mouse.
Display a Screen Capture in a TImage
Need to take a screen shoot from code? No problem ... here's how to capture any type of a window image into a TBitmap object - and more.
Need to take a screen shoot from code? No problem ... here's how to capture any type of a window image into a TBitmap object - and more.
