timage Questions

5

Solved

In a TImage's OnClick event, I would like to extract the x,y coordinates of the mouse. I would prefer them in relation to the image, but in relation to the form or window is just as good.
Domingadomingo asked 5/5, 2009 at 21:9

0

So I'm developing a graphic library providing a custom SVG image format which may be used within a TPicture, or any VCL component supporting a graphic image, like e.g a TImage. I wrote and maintain...
Carnelian asked 27/12, 2019 at 16:9

1

Solved

I'm writing a Delphi package, which provides a new custom TGraphic object, allowing to read a new image format in VCL components like TImage. I originally developed this package with RAD Studio XE...
Greta asked 8/6, 2019 at 15:45

2

Solved

I have used a TImage component in my program. At runtime, I add an image to the component by using: Image1.Picture.LoadFromFile('C:\Users\53941\Pictures\eq1.jpg'); Now, I want to run this prog...
Waring asked 25/7, 2017 at 17:7

3

Writing a mobile application - it's pulling images from a secure website, and shown below (the first image) pulls incorrectly (notice web version vs mobile version), the second image shows correctl...
Impending asked 12/1, 2017 at 17:47

1

Solved

I have a form with both a TImage and a TButton control. I noticed the rate of responding to the OnClick event seemed a bit slow for the TImage (rapid clicking!) so I measured it. For 100+ clicks (a...
Colatitude asked 1/6, 2015 at 11:26

1

Solved

I have read here http://delphi.about.com/od/adptips2005/qt/cleartimage.htm that a way to clear an image from a TImage is to assign nil to .Picture, like this: Image1.Picture := nil; I just want ...
Slough asked 2/6, 2014 at 9:57

2

Is it possible to place a TImage on an FMX form for iOS and load image (jpg) from an URL into this TImage to be displayed in the iOS app? I have tried with no success. Any hints or point in the ri...
Keeley asked 11/4, 2012 at 2:34

2

Solved

I want to load a picture (32 bit-depth, transparent) from a TImageList to an TImage. The standard approach would be ImageList.GetBitmap(Index, Image.Picture.Bitmap);. However the GetBitmap method d...
Manor asked 22/7, 2012 at 11:50

1

Solved

I have a TBitmap which contains semi-transparent image with alpha channel (in this example I got it from TPngImage). var SourceBitmap: TBitmap; PngImage: TPngImage; begin PngImage := TPngImage...
Lovel asked 12/7, 2013 at 12:7

1

Solved

I have some image-files stored into one file (some kind of archive). That file looks like this: Well, it's separated into two segments - header and data-segment. Header (green) contains various ...
Thyroxine asked 17/4, 2012 at 22:39

1

Solved

I have written an application that stores photos, keeping the path to the photos in an database. I have encountered a problem. When I click my button to select the picture I want to display in an T...
Shouldst asked 17/4, 2012 at 11:2

1

Solved

I'm using a TImage component to load some png images, but some of them have the .imp extension. I add the Vcl.Imaging.pngimage unit to my code and I'm using this code to load the images if OpenD...
Maladminister asked 4/4, 2012 at 21:37

4

Solved

If I understand it correctly, TImage.LoadFromFile determines the type of picture from the file extension. Is there any way to detect the image type automatically from a TBlobStream with a raw imag...
Vendue asked 6/6, 2011 at 11:42

2

Solved

My program is doing a time consuming task, and I would like to display a TImage in the middle of the application window, but it will not stay on top - my VST is always on top. However, when I use a...
Supporter asked 20/3, 2011 at 16:12

1

Solved

I need to display 16x16 pixel icons for error/warning/information. Unfortunately both LoadIcon(0, IDI_*) and LoadImage(0, OIC_*, IMAGE_ICON, 16, 16, LR_SHARED) always give me the 32x32 version of t...
Bendicta asked 26/11, 2010 at 14:1

4

Solved

I'm using Delphi 2009 and I'd like to scale an image to fit the available space. the image is always displayed smaller than the original. the problem is TImage Stretch property doesn't do a nice jo...
Shawm asked 29/12, 2009 at 18:30
1

© 2022 - 2024 — McMap. All rights reserved.