topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Saturday December 14, 2024, 4:12 pm
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: Best way to crop an image with uneven boundarys  (Read 9399 times)

xbeatle

  • Participant
  • Joined in 2009
  • *
  • default avatar
  • Posts: 20
    • View Profile
    • Donate to Member
Best way to crop an image with uneven boundarys
« on: March 30, 2014, 09:33 AM »
Hi, so I'm looking to utilize Screenshot Captor in a way that I ordinarily dont..that is, to crop out the uneven white boundary around an image that was included in my original capture.

As you can see in the attachment, the image is a blank Scroll(that I plan on adding text to).

I'm aware of the "cropping" options and sense that this involves either the "lasso" or one of the "Magic Wand" selections.

The Lasso one is more or less impossible for me to do as clean a crop as I'd like.

The Global Magic Wand option seems to automatically delineate the Scroll from the white region of the outer boundary(this looks to be the right choice) but when I utilize it, it deletes the Scroll part and just leaves me with it's shadow now on a white background.

Would welcome anyone's input who has done this before.....

Thanks in advance.

Jonathan
« Last Edit: April 27, 2014, 12:23 PM by xbeatle »

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,914
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Best way to crop an image with uneven boundarys
« Reply #1 on: March 30, 2014, 09:57 AM »
Well, you almost figured it out.

  • Use Magic Wand to select the background white area (either Magic Wand Flood Fill or Global Magic Wand).
  • This will select the background area as you point out.
  • Then in the Edit menu, choose Select -> Invert Selection (or just hit Ctrl+I).  That will select the scroll itself.
  • Now you can use the crop command/button to delete the background, as you want.



Having said this -- remember that SC is not meant to be a full featured paint/photo manipulation program, and you will find more powerful features in the big image editing tools (like the Gimp, Paint.net, RealWorld Paint, etc.), and remember that SC is very happy to let you configure it to invoke them to do editing on an image, and will automatically reload files after they are changed by an image editor -- so it makes it really easy to use in conjunction with such tools.  And if you do a lot of background removal, there are special tools for that too (i think there is a thread on that as well).

xbeatle

  • Participant
  • Joined in 2009
  • *
  • default avatar
  • Posts: 20
    • View Profile
    • Donate to Member
Re: Best way to crop an image with uneven boundarys
« Reply #2 on: March 30, 2014, 01:10 PM »
Yup..

Hey Mouser, thanks so much for both the speedy reply and helping me to solve this mystery..lol

As I'm aware of how to use some of GIMP's functionality, I hope to learn how to use it in conjunction with SC..

Thanks again,

Jonathan

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,914
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Best way to crop an image with uneven boundarys
« Reply #3 on: March 30, 2014, 01:21 PM »
I hope to learn how to use it in conjunction with SC..

Just go into Screenshot Captor preferences, then go to the External Tools tab near the bottom, and set the GIMP as your "Ext. Image Editor".

After that you can open any screenshot in the gimp by pressing the "Launch Graphic Editor" button on the Screenshot Captor toolbar (it's two down from the print button).

xbeatle

  • Participant
  • Joined in 2009
  • *
  • default avatar
  • Posts: 20
    • View Profile
    • Donate to Member
Re: Best way to crop an image with uneven boundarys
« Reply #4 on: March 30, 2014, 02:35 PM »
Thanks again..saved me a lot of time.

Btw, you wouldn't happen to have success using the "Grab Windows Object or Scrolling Window" feature?.

Seems like every time I try to use that one, the scrolling part works but I get an overlap in the middle of the captured image..just comes out very buggy.

Anyway, perhaps we'll leave that one for another time and place..

Thanks again,

Jonathan

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,914
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Best way to crop an image with uneven boundarys
« Reply #5 on: March 30, 2014, 03:57 PM »
See this page for some videos showing how to make scrolling capture work well:
https://www.donation....msg277095#msg277095

xbeatle

  • Participant
  • Joined in 2009
  • *
  • default avatar
  • Posts: 20
    • View Profile
    • Donate to Member
Re: Best way to crop an image with uneven boundarys
« Reply #6 on: April 26, 2014, 03:42 PM »
Hi mouser, so I was able to separate the attached scroll from it's white bordered background after doing your suggested procedure.

I was able to just get the scroll with it's jagged boundaries..the ideal scenario.

But now, when I go to save it to a file in my computer, it saves with a white frame(boundary) around it..which is what I wanted to get rid of from the beginning.

I want to save exactly what I'm presently looking at inside the Screenshot Captor main window..the scroll with the jagged boundary that after your process, no longer has a white frame/boundary..

Is there an additional step to Save my newly defined image?

Thanks so much in advance.

Jonathan

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,914
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Best way to crop an image with uneven boundarys
« Reply #7 on: April 26, 2014, 03:49 PM »
what file format are you using? as long as you are using PNG, ScreenshotCaptor should preserve true transparency.
if you save to a format that does not support transparency (bmp, jpg), then SC has no choice.

xbeatle

  • Participant
  • Joined in 2009
  • *
  • default avatar
  • Posts: 20
    • View Profile
    • Donate to Member
Re: Best way to crop an image with uneven boundarys
« Reply #8 on: April 27, 2014, 12:27 PM »
So, I've attached a screenshot of my Main Window with the Scroll exactly as I'd like to save it..most recent attachment.

Unfortunately, after removing the unwanted border, when trying to save it to my computer, it appears back as the first attachment..regardless of whether or not I save it with the .png format..like the latest attachment.

It's not the end of the world but I'd love to provide just the scroll w/o background to my members...

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,914
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Best way to crop an image with uneven boundarys
« Reply #9 on: April 27, 2014, 01:50 PM »
dont see anything attached.

SC is quite happy to preserve background transparency so there is no reason it shouldnt work.

xbeatle

  • Participant
  • Joined in 2009
  • *
  • default avatar
  • Posts: 20
    • View Profile
    • Donate to Member
Re: Best way to crop an image with uneven boundarys
« Reply #10 on: April 27, 2014, 06:26 PM »
Hey Mouser, so I've attached the .png file made from the jagged edged scroll that I was able to create via your timely instructions.

As you can see, the problem is it's adding back the white border when I save it from SC.

Any thoughts?

Thanks so much,

Jonathan

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,914
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Best way to crop an image with uneven boundarys
« Reply #11 on: April 27, 2014, 10:49 PM »
Well you are right, the background is no longer transparent.

Now the question is why..

Can you go back to the point where you deleted the background and it was transparent in SC.

Then go look at these options:
Screenshot - 4_27_2014 , 10_47_56 PM.png

The flattening is what you want to avoid.  So if you are doing a SaveAs, you'll have to UNCHECK that option that says to flatten when doing a SaveAs.



xbeatle

  • Participant
  • Joined in 2009
  • *
  • default avatar
  • Posts: 20
    • View Profile
    • Donate to Member
Re: Best way to crop an image with uneven boundarys
« Reply #12 on: April 28, 2014, 10:25 AM »
Ah yes, that would of been my next guess  8)

Thanks again for the quick replies mouser..

All good..

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,914
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Best way to crop an image with uneven boundarys
« Reply #13 on: April 28, 2014, 10:35 AM »
I probably should disable that and not make it default.

xbeatle

  • Participant
  • Joined in 2009
  • *
  • default avatar
  • Posts: 20
    • View Profile
    • Donate to Member
Re: Best way to crop an image with uneven boundarys
« Reply #14 on: April 28, 2014, 11:05 AM »
makes sense...