Need an autocrop tool

Bug #535481 reported by Ryan Thompson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Shutter
Fix Released
Wishlist
Mario Kemper (Romario)

Bug Description

In the common case of selecting a region, there is usually an unwanted solid-color border, which is uneven because it was selected manually. It would be nice to have a tool to automatically crop a screenshot so that there is no solid border.

For example implementations, see Gimp's Autocrop action and ImageMagick's convert -trim option.

Related branches

Revision history for this message
Mario Kemper (Romario) (mario-kemper) wrote :

Would be a useful plugin. Thanks for this idea.

Changed in shutter:
assignee: nobody → Mario Kemper (Romario) (mario-kemper)
importance: Undecided → Wishlist
milestone: none → 0.86.1
status: New → Confirmed
Changed in shutter:
milestone: 0.86.1 → 0.86.3
Changed in shutter:
milestone: 0.86.3 → 0.86.4
Revision history for this message
Mario Kemper (Romario) (mario-kemper) wrote :

How useful is that in reality? Autocrop does only work when the color is solid. Maybe I am simply not getting the point but when would this be needed?

Revision history for this message
Ryan Thompson (rct86) wrote : Re: [Bug 535481] Re: Need an autocrop tool

If you're trying to take a screenshot of something that is on a solid
background, an autocrop tool can automatically crop the picture
exactly to the bounds of the thing that you want. Otherwise, you would
have to manually line everything up on all four sides, which can be
annoying to get pixel-perfect. Grabbing a picture out of a PDF is a
good example.

Maybe this could be called "shrink-wrap crop" or something.

On Fri, Aug 27, 2010 at 3:48 AM, Mario Kemper (Romario)
<email address hidden> wrote:
> How useful is that in reality? Autocrop does only work when the color is
> solid. Maybe I am simply not getting the point but when would this be
> needed?
>
> --
> Need an autocrop tool
> https://bugs.launchpad.net/bugs/535481
> You received this bug notification because you are a direct subscriber
> of the bug.
>

Revision history for this message
Mario Kemper (Romario) (mario-kemper) wrote :

Makes sense. I'll go for it next week.

Changed in shutter:
status: Confirmed → Fix Committed
Revision history for this message
Mario Kemper (Romario) (mario-kemper) wrote :
Changed in shutter:
status: Fix Committed → Fix Released
Revision history for this message
tuxmaniack (tuxmaniack) wrote :

Add +repage option to convert, because timing an then applying Hard Shadow will apply proportions to canvas before crop.

crop image.png -trim +repage image.png

Revision history for this message
tuxmaniack (tuxmaniack) wrote :

Oops, convert image.png -trim +repage image.png

Revision history for this message
Mario Kemper (Romario) (mario-kemper) wrote :

Fixed, thanks.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.