Jump to content

Resize Bitmap / Image

Recommended Posts

The users of this app I am trying to make have tendency to uploadf massive images 7000x4000 etc


I can load the image but I would like to resize the actual image to a smaller size (i.e., less date)


    LBitmap := TBitmap.Create;
    LBitmap.Allocate(W3Image2.PixelWidth, w3image2.PixelHeight);

    LRect := TRect.Create(0, 0, LBitmap.width-1, LBitmap.Height-1);


I have the whole image in w3image2 but I would like LBitmap to be much smaller but I cannot see any way to do this.


Help towards a slution much appreciated

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...