Author Topic: Canvas resize on TMultiImage?  (Read 1060 times)

GunSmoker

  • Guest
Canvas resize on TMultiImage?
« on: 16 July 2009, 10:19:41 »
Hi,

How can I resize canvas of the image?
Changing Width or Height seems resize image instead of clipping or extending canvas itself.
Should I create new image and use CopyTo method?

Offline Galfar

  • Administrator
  • Imaging User
  • *****
  • Posts: 312
    • View Profile
    • Galfar's Homepage
Re: Canvas resize on TMultiImage?
« Reply #1 on: 16 July 2009, 11:34:37 »
Create new image and copy pixels from desired clip rect is the only way now.
Method in TMultiImage for this would basically just do the same thing. 

GunSmoker

  • Guest
Re: Canvas resize on TMultiImage?
« Reply #2 on: 16 July 2009, 15:16:43 »
Ok, thanks.

I just thought that may be I'm missing something, because TMultiImage's Width/Height behaviour is inconsistent with usual TImage's Width/Height.