@
crazafon
- Ahh yes scans will have a little more issue because the "white" part of the scan around the card is not white enough for my script to detect. I was thinking of tweaking the script a bit and adding some more option boxes. For now you can try tweaking the code yourself (its not too difficult):
- Opening the script file and changing the #s in lines 55 and 56 from 6 and 3 to a lot more (20 or 50). You can also try commenting out/deleting line 74 (add a ";" to the start of the line comments it out)
Quote:
(gimp-context-set-sample-criterion 6)
(gimp-context-set-sample-threshold-int 3)
...
;(gimp-layer-resize layer (+(car (gimp-drawable-width layer)) 4) (+(car (gimp-drawable-height layer)) 4) 2 2) ;add 2 pixel border to layer
|
- Save the script
- Refresh the scripts with menu: Filters → Script-Fu → Refresh Scripts
- Rerun script. See if better. You can also do Undo (Ctrl+Z) after running the script to see if any better.
- If not better, redo all steps above and tweak #s and commenting out line 74 or not. If it blanks out you went to far.