Recent

Author Topic: Resizing picture  (Read 846 times)

Jake012345

  • Sr. Member
  • ****
  • Posts: 270
  • Knowledge is the key
Resizing picture
« on: May 27, 2020, 06:33:25 am »
Hello!

I have a TImage on my form I'm loaded the picture from file and I want to resize it.

How can I do it?

BeanzMaster

  • Sr. Member
  • ****
  • Posts: 268
Re: Resizing picture
« Reply #1 on: May 27, 2020, 07:41:45 am »
Hi

TImage have "Stretch" and "proportionnal" properties for that  :D

Jake012345

  • Sr. Member
  • ****
  • Posts: 270
  • Knowledge is the key
Re: Resizing picture
« Reply #2 on: May 27, 2020, 10:39:24 am »
yeah..

But I don't know what is the

Quote
"proportionnal"

PascalDragon

  • Hero Member
  • *****
  • Posts: 5446
  • Compiler Developer
Re: Resizing picture
« Reply #3 on: May 27, 2020, 11:00:34 am »
With Stretch the image will occupy the whole available space, with Proportional the aspect ratio of the image will be kept (though I don't know right know whether enabling Proportional alone is enough or whether you need to enable Strech as well  :-[ )

Jake012345

  • Sr. Member
  • ****
  • Posts: 270
  • Knowledge is the key
Re: Resizing picture
« Reply #4 on: May 27, 2020, 11:32:45 am »
thanks!

 

TinyPortal © 2005-2018