TImage is a VCL component that allows one to output images.
Questions tagged [timage]
126 questions
0
votes
0 answers
Delphi XE3 Firemonkey Scrollable TImage
I have multiple GIFs I need to display at the same time. Current plan unless anyone can point me to a 'Gallery' type control is to place the TImages onto a scrollbox. However, I can't get the scroll box to scroll either vertically (for the multiple…
![](../../users/profiles/1885069.webp)
Martin Moore
- 691
- 2
- 6
- 20
0
votes
2 answers
How do load an image into a 2D array element?
I'm currently doing my A-Level Computing project for which I am making my own version of the classic game Space Invaders.
To create the wave of space invaders I want to use a 2D array of images, where the images are loaded from a disk and then…
![](../../users/profiles/2180030.webp)
user2180030
- 17
- 5
0
votes
1 answer
TImage width / height anchor not working
I've got a TForm which has an Event FormResize, within that function I want to draw something within my TImage.
My FormResize function looks like below
void __fastcall TForm1::FormResize(TObject *Sender)
{
// Teken de blokjes
…
![](../../users/profiles/1041948.webp)
Niels
- 44,106
- 4
- 55
- 78
0
votes
2 answers
Delphi TBitmap code to Python PIL
I am trying to convert some Delphi code to Python PIL. The problem is two pronged. First, I'm not a Delphi programmer. Second, I haven't used PIL before today so I may have problems in either area.
case PixelFormat of
pf32bit: PixSize:=4;
…
![](../../users/profiles/1641230.webp)
user1641230
- 71
- 8
0
votes
1 answer
C++ access violation: TImage.Picture is null
I recently made some minor changes within my c++-builder-project-settings to distribute a built application, however now some kind of initialisation seems to be missing.
Before I was using this (worked properly):
TPngImage *img=new…
![](../../users/profiles/1590265.webp)
Julian
- 493
- 3
- 20
0
votes
3 answers
Delphi - Want an automated way of maintaining the link between a "source" image file and images in my project
One thing I find Delphi doesn't manage well is the link between image "source" files and the image components in my project (D2006 here but I'm assuming it applies to all versions).
Say I have various static images in my project - backgrounds,…
![](../../users/profiles/89691.webp)
rossmcm
- 5,184
- 7
- 51
- 108
-1
votes
2 answers
Overcome TImage Control limitations
I am using TImage control inside TScrollBox control in Delphi 4. Here i am populating data in TImage control by increasing the height accordingly.
My functionality is based on the mousedown event where i am using X, Y parameters to do some…
![](../../users/profiles/790871.webp)
Dev
- 619
- 2
- 9
- 23
-1
votes
1 answer
How load a base64 encrypted url in a TWebBrowser or TImage?
I have this url encrypted in base64 that is a animated QRCode.
How i can load it in a TWebBrowser (or TImage)? Thanks in advance.
Edit:
Here was my attempt, but without success:
uses
IdHTTP, IdSSLOpenSSL, GIFImg, ClipBrd;
type
TForm1 =…
![](../../users/profiles/9708179.webp)
BrowJr
- 415
- 5
- 20
-1
votes
1 answer
Lazarus: stacking images, paint order
I want to design a simple game (lazarus 1.8.4) with an image as playing field and some figures (transparent images) over it, created on runtime. So typically more than one images are at the same position. How can I make sure, that the figures are…
![](../../users/profiles/7029724.webp)
am2
- 385
- 5
- 17
-1
votes
1 answer
How detect if i'm moving mouse to left, right, top or bottom inside TImage component on mousemove event?
I want know how detect to what side i'm moving mouse: to left, right, top, bottom inside TImage component on mousemove event?
Thank you.
user9672569
-1
votes
1 answer
Fill in color of TImage content
I'm using Borland C++Builder 6.
I would like to use the TImage component and just fill its content in a specific color (assume, black) - how can I do that?
![](../../users/profiles/687459.webp)
user687459
- 123
- 3
- 16
-1
votes
1 answer
Load images from the web to a TImage component
I have a TImage component in a XE7 FMX Android form. I would like to load images from the web onto it. I found this article, but unfortunately it seems to work only in Delphi XE5. I could use the Indy components to perform such task, but I would…
![](../../users/profiles/4576758.webp)
André Murta
- 131
- 1
- 8
-1
votes
2 answers
How to create a OnClick procedure for array of images?
My procedure for creating and loading picture into these images, but how do I create an OnClick procedure and determine which on I am clicking on?
unit Unit1;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls,…
![](../../users/profiles/1923889.webp)
Simon Davy
- 1
- 1
- 2
-2
votes
0 answers
Firemonkey Timage.bitmap.LoadFromStream Fails
I'm developing an app with firemonkey.
We are trying to send images through a JSON encoded with Base64 encodign.
We cant make it work.
We use a TImage to display the images and we use a Image.Bitmap.LoadFromStream to load the image.
Just to test we…
![](../../users/profiles/5115249.webp)
Eduardo
- 37
- 4
-2
votes
1 answer
Second unit does not find TImage
so I have some work to do using lazarus and one of my procedures is written in a second unit but also used in the first.
The problem is, I want to give the procedure a TImage from the Form connected to unit 1, but unit 2 can't find an identifier…
![](../../users/profiles/8255692.webp)
Neubauer
- 21
- 5