Starfinder Playlist
  1. #1
    LordEntrails's Avatar
    Join Date
    May 2015
    Location
    -7 UTC
    Posts
    17,150
    Blog Entries
    9

    How Do I Cut part out of an Image?

    I've tried finding tutorials online for this, but no luck yet...

    I'm looking to take part of existing maps and clean them up so I have good edges with everything outside the image proper as a transparency.

    Specifically, I'm looking to take the images of the ships Icingdeath, Twinkle, and the Dreadnaught from Divine Contention maps and be able to take just the top level of the each ship and clean them up so that I can put them together in a new image to use for ship to ship combat. I've been able to trim out the parts of the images I want, but the edges are really poor (i.e. I have a bunch of the water with them). I think years ago I saw tools in Inkscape or Gimp to clean this up, but can't figure it out.

    Help using either of those tools to clean up these images would be much appreciate. I've attached an example of part of one of the images that shows what I want to clean up.
    sample.png

    Problems? See; How to Report Issues, Bugs & Problems
    On Licensing & Distributing Community Content
    Community Contributions: Gemstones, 5E Quick Ref Decal, Adventure Module Creation, Dungeon Trinkets, Balance Disturbed, Dungeon Room Descriptions
    Note, I am not a SmiteWorks employee or representative, I'm just a user like you.

  2. #2
    https://www.educba.com/gimp-magic-wand-tool/

    gimp magic wand will do the job. that will allow you to select the water and then delete it

  3. #3
    As jharp says, the magic wand tool is the way to go in most image editing programs. It won't be perfect, given the wavy coloring of the water, and due to the grid lines, you'll likely have to click on each square separately to delete the water, but it should go much faster than zooming in and erasing along the ship's hull by hand. Here's an example of what your sample image looked like after just clicking once in each grid square using the magic wand and deleting the selected material:

    Screen Shot 2022-04-10 at 8.54.12 AM.png

    You can see there is still some water that gets left behind, but most image editing programs also let you adjust the threshold or tolerance of the magic wand to be more or less aggressive in what it considers the "same" area. If you play with that it should make the process go a lot faster.

    Cheers,
    Brian

  4. #4
    The other method is to block out the areas you want to remove with thick lines and shapes that are white or a lighter solid color. Add to remove, in a sense. Add shapes to cover the content you wish to remove and then use the wand.
    FGA Founder
    FGU teacher and student!
    Ultimate License Holder
    Discord Alias: Laerun#6969

    https://www.fantasygroundsacademy.com

  5. #5
    LordEntrails's Avatar
    Join Date
    May 2015
    Location
    -7 UTC
    Posts
    17,150
    Blog Entries
    9
    Thanks all. Knew it should be simple

    edit: with Gimp, using fuzzy select if you click and drag right it widens the selection criteria, allowing you to select more/larger spectrum of colors.
    Last edited by LordEntrails; April 10th, 2022 at 19:26.

    Problems? See; How to Report Issues, Bugs & Problems
    On Licensing & Distributing Community Content
    Community Contributions: Gemstones, 5E Quick Ref Decal, Adventure Module Creation, Dungeon Trinkets, Balance Disturbed, Dungeon Room Descriptions
    Note, I am not a SmiteWorks employee or representative, I'm just a user like you.

  6. #6
    Don't forget in GIMP to go to the Layers Tab > Transparency > Add Alpha. Or something very similar to that. Then save it as a PNG. If you save it as a JPEG it will square everything and give you a white background. You should see the grayish checkerboard if it is transparent.

    Edit: altering images without the grid is much easier, then re-add them in FGU. Otherwise scaling may change a bit, or objects may get moved and things won't line up anymore.
    Last edited by Max Silver; April 11th, 2022 at 01:36.

  7. #7
    LordEntrails's Avatar
    Join Date
    May 2015
    Location
    -7 UTC
    Posts
    17,150
    Blog Entries
    9
    Quote Originally Posted by Max Silver View Post
    Don't forget in GIMP to go to the Layers Tab > Transparency > Add Alpha. Or something very similar to that. Then save it as a PNG. If you save it as a JPEG it will square everything and give you a white background. You should see the grayish checkerboard if it is transparent.

    Edit: altering images without the grid is much easier, then re-add them in FGU. Otherwise scaling may change a bit, or objects may get moved and things won't line up anymore.
    Thanks, yea, and I do a fill of a color that is not otherwise used, and then do a Color to Alpha to turn the desired part of the image to alpha. Ended up only taking a few minutes to do the third/last ship.

    Problems? See; How to Report Issues, Bugs & Problems
    On Licensing & Distributing Community Content
    Community Contributions: Gemstones, 5E Quick Ref Decal, Adventure Module Creation, Dungeon Trinkets, Balance Disturbed, Dungeon Room Descriptions
    Note, I am not a SmiteWorks employee or representative, I'm just a user like you.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
5E Product Walkthrough Playlist

Log in

Log in