votayax.blogg.se

Gimp move selection
Gimp move selection











gimp move selection
  1. GIMP MOVE SELECTION HOW TO
  2. GIMP MOVE SELECTION REGISTRATION

Maybe it's getting hung up on something during the operation? I'm not sure. The thumbnail at the top of the screen after I interact with the image: How the image looks once I interact with it in any way (clicking on it, copy/pasting it, duplicating it, undoing/redoing the operation): Then, I run the script, which results in this:Īt the top of the screen, the image shows up like this (which is the top left 152x152 pixels of the starting image: The starting image that I create from the clipboard with Ctrl+Shift+V (after screenshotting it from the game using PrtScr): When I first run the script, it also shows the incorrect image up at the top where you can pick which image you're working on, but after interacting with the image it will show the correct image. However, if I interact with the image in any way (click on it, duplicated it, copy/paste it, undo/redo), it will correct itself and show the properly cropped image with the deleted circular corners. So when I'm running this script, it appears to just crop it and doesn't delete the inverted circular selection. (script-fu-menu-register "script-fu-xml2-convo-preview" "/Marvel Mods/Skin Previews/XML2 PC") "Crops the preview window for XML2 conversation portraits." "XML2 Conversation Portrait Preview Crop"

GIMP MOVE SELECTION REGISTRATION

populate script registration information (gimp-image-select-ellipse image 0 0 0 152 152)

gimp move selection

(define (script-fu-xml2-convo-preview image layer) Here's the (full) updated code: XML2 Conversation Portrait Preview Crop My knowledge of this coding is pretty limited, so simple explanations are appreciated.

GIMP MOVE SELECTION HOW TO

If someone could explain how to do this, I would greatly appreciate it! Alternatively, if there's an easier way to do what I'm trying to do (but preferably still in a script), please let me know what you think. I understand that I need to define my current selection as the item, but I'm not sure how to do this. What's confusing me about the gimp-item-delete code is the item. I have the cropping, selection, and inversion part done, but the deleting is what's getting me. I'm trying to write a script for Gimp that will crop an image, make a circular selection of what's left, invert the selection, and then delete the selection.













Gimp move selection