Closed nhathoangfoto closed 1 month ago
@nhathoangfoto there is an option in tools. you need to add them and reload the screen. you will find a "centerSelected" button option which will center all the selected objects in the frame.
initially it will look like this:
after hitting the browser reload it will show the tools. it's done like this as they are experimental.
note: centering requires the current image to be uploaded, if you loose the selection on mouse out it means it was changed, so re-select and then you will be able to use center. I need to bring the tools inside the canvas to avoid this but had no time to do it properly
i hope this helps a bit. if the images are the same size of canvas then they will be perfectly centered
@nhathoangfoto i will close the ticket for now and add new features for precise centering/positioning as feature request
Even though I've resized the background and subject images to the same dimensions with identical width and height, what I need is for them to automatically fit precisely within the blue frame so that the image-to-image processes don't have any deviations in the canny edge or depth. I can move the layers manually, but it's not perfectly accurate.