Post Reply 

crop to selection problem

Oct 7, 2014, 22:02 (This post was last modified: Oct 7, 2014 22:20 by spiridonios.)
Post: #1
crop to selection problem
hello comunity,

i m dealing with a problem that seems kinda dump on first site. i hope i just miss something.
on my way to crop my image, i make my selection with the fuzzy selection tool, choose select--> invert to choose my selection, and then i choose "crop to selection" through image or through layer menu. nothing happens though to my image. i only get a new "crop image" action at the history menu. my selection remains uncroped though.
any ideas?
Find all posts by this user
Quote this message in a reply
Oct 7, 2014, 22:16
Post: #2
RE: crop to selection problem
(Oct 7, 2014 22:02)spiridonios Wrote:  hello comunity,

i m dealing with a problem that seems kinda dump on first site. i hope i just miss something.
on my way to crop my image, i make my selection with the fuzzy selection tool, choose select--> invert to choose my selection, and then i choose "crop to selection" through image or through layer menu. nothing happens though to my image. i only get a new "crop image" action at the history menu. my selection remains uncroped though.
any ideas?
Hi and welcome.

Not quite sure. why you are choosing Select->Invert once you have created a selection with the Fuzzy select tool.
Try Cropping to Selection without doing the Select->Invert.
If that still does not achieve the result you are looking for, attach your .xcf file for further investigations.
Find all posts by this user
Quote this message in a reply
Oct 7, 2014, 22:22
Post: #3
RE: crop to selection problem
sorry for not mentioning. i also tried without select--> invert. it just seems that i have my selection selected throuth the invert option. neither way works.. i attached my xcf file. it's my handcrafts logo.. Smile
Find all posts by this user
Quote this message in a reply
Oct 7, 2014, 22:28 (This post was last modified: Oct 7, 2014 22:57 by fluffybunny2.)
Post: #4
RE: crop to selection problem
I cannot see your attachment yet.
Please try and attach your .xcf again. Wink
(Locate your post. Choose the Edit button (Full Edit))
Scroll down to the New Attachment.
Browse to locate your .xcf.
Choose Add Attachment button.
Find all posts by this user
Quote this message in a reply
Oct 7, 2014, 23:30 (This post was last modified: Oct 8, 2014 20:46 by ofnuts.)
Post: #5
RE: crop to selection problem
Crop to selection crops the image to the smallest rectangle that includes the whole selection. It doesn't erase parts that are not in the selection. Fuzzy select can select pixels all over the image, so the rectangle that contains all selected pixels may well be as big as the image.

It doesn't really make sense to crop the image from a fuzzy selection. is this really what you want to do?

Now answering your questions on
https://Gimp-Forum.net
Visit this user's website Find all posts by this user
Quote this message in a reply
Oct 8, 2014, 20:30
Post: #6
RE: crop to selection problem
i make my selection using the fuzzy select tool, cause i dont want to have a rectangle for my final image.
-i try to attach my xcf file, but cannot make it work..(i find my file through the "browse" button and then i press the add attachment to the right. the web browser loads, and after a while it just reloads the page with no file attached)-
so i wanted to have my objects outline cropped to its limits..
Find all posts by this user
Quote this message in a reply
Oct 8, 2014, 20:35
Post: #7
RE: crop to selection problem
   

it let me upload the png file though..
so, my goal is to select the yellowish card on which my logo is printed. so the final shape would be like a rectangle with rounded edges..
Find all posts by this user
Quote this message in a reply
Oct 8, 2014, 21:19
Post: #8
RE: crop to selection problem
All images are rectangles... what you want is a rectangle with transparent corners... So, IMHO the best solution:
  • make a rounded rectangle selection
    • Start the rectangle select tool
    • check the "Rounded corners box"
    • position the sides the of the rectangle around the object
    • adjust the radius of the corners
  • Layer>Transparency>Add alpha channel (if grayed out, it's already done)
  • Select>Invert (so you select everything outside the rectangle
  • Select>Clear or [delete] (the object is surrounded by transparency, displayed as a checkerboard pattern)
  • Image>Autocrop image (automatically makes the smallest rectangle that fits)
  • File>Export (and use PNG format to preserve transparency)

This method cuts out all imperfections and shadows outside the subject:

[attachment=4095]

Now answering your questions on
https://Gimp-Forum.net
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Problem with pressure on gimp (huion h610) protosd3 18 5,479 Jun 8, 2017 19:20
Last Post: John Penfold
  GIMP 2.8 Eyedropper Color Selection Tool Not Working? Upgraded App is Slow?? tootallll 14 9,437 Oct 9, 2014 18:39
Last Post: Graphicman2014
  Gimp silly problem in Macs animeshsaxena 34 28,399 Aug 10, 2014 21:18
Last Post: TheChristoph
Exclamation I have a problem with arabic text Vash Stampida 9 658 Aug 4, 2014 21:52
Last Post: Vash Stampida
  Stroke path problem. caz 3 358 Aug 2, 2014 13:28
Last Post: caz

Forum Jump:


GIMP ForumPortalArchiveContactTermsRSS