DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: Cropping objects on canvas  (Read 3,766 times)

vbmark

  • Participant
  • Joined in 2005
  • *
  • Posts: 44
Cropping objects on canvas
« on: September 24, 2021, 03:21 PM »
I have a canvas with multiple objects on it with one being a small image that was pasted in.  I would like to crop this image object in-place.

Is that possible?

Thank you.

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Re: Cropping objects on canvas
« Reply #1 on: September 25, 2021, 02:06 AM »
If I understand you correctly, you dropped one image onto another and said to add it as an object (that you can move around and rescale and rotate).  And you are asking if you can crop it too?  SC has no function for copping objects on images.  What you could do is select it, choose File -> Save selected region as new file, then delete it.  Then go crop the newly saved file that should be just the object, and re-drop it back on the image.

vbmark

  • Participant
  • Joined in 2005
  • *
  • Posts: 44
Re: Cropping objects on canvas
« Reply #2 on: September 25, 2021, 03:15 AM »
Hi Mouser,

Yes, you understood correctly and yes, it was easy enough to crop with the extra steps but being able to do it right on the canvas would be a nice-to-have.

If you're interested in how I was using it, I started with a blank canvas and was kind of making a diagram to help me think about a problem and I added an image as a reference for a thought.  After I added the image I realized that it had garbage on the edges that I didn't want.

So, it's more than just a screenshot captor to me.

Thanks!

Original address: https://www.donationcoder.com/forum/index.php?topic=51780.0