• Welcome to Vampyre Imaging Library Forum. Please login or sign up.
 

Canvas resize on TMultiImage?

Started by GunSmoker, 16 July 2009, 10:19:41

Previous topic - Next topic

GunSmoker

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?

Galfar

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

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.

Quick Reply

With Quick-Reply you can write a post when viewing a topic without loading a new page. You can still use bulletin board code and smileys as you would in a normal post.

Name:
Email:

Shortcuts: ALT+S save/post or ALT+P preview

SMF spam blocked by CleanTalk