Lazarus
Programming => Graphics => Graphics and Multimedia => BGRABitmap and LazPaint => Topic started by: CM630 on December 08, 2019, 01:07:42 pm
-
I am doing the following in LazPaint:
1. Open a image, to be used a background.
2. Open an image "as a layer".
3. I want to resize the layer only.. But I cannot find such an option (as expected Image/Resize resizes both the background image and the layer) :'(
Is it doable?
-
Show us some compilable code, else we only can guess what you're doing.
A solution can be loading the image into a separate bitmap and resample that.
-
In the layer window, you have a series of tool buttons. One of them is to zoom in/out a layer.
Otherwise with latest version, you can use the Edit shape tool. Then click the layer content and you can transform it.
-
Thanks, boths solutions works, but IMHO the word Zoom is misleading.
It would be nice if Edit Shape Tool could rotate, too.
-
You can rotate using the ALT key or Right click on the corners.
-
Thanks,
I coud not make it work with Alt+Mouse, but right mouse on the corners worked for me.
It would be nice if there was some tooltip.
-
I think there is one hmmm something to check.