View Single Post
  #20  
Old October 29th, 2019, 04:36 PM
lefton4ya's Avatar
lefton4ya lefton4ya is offline
PDFin' sweet self spammer
 
Join Date: December 22, 2008
Location: USA - OH/KY - Cincinnati/Florence
Posts: 4,850
Images: 127
Blog Entries: 1
lefton4ya is a man of the cloth lefton4ya is a man of the cloth lefton4ya is a man of the cloth lefton4ya is a man of the cloth lefton4ya is a man of the cloth lefton4ya is a man of the cloth lefton4ya is a man of the cloth lefton4ya is a man of the cloth lefton4ya is a man of the cloth lefton4ya is a man of the cloth lefton4ya is a man of the cloth lefton4ya is a man of the cloth lefton4ya is a man of the cloth lefton4ya is a man of the cloth lefton4ya is a man of the cloth
Re: Combine any 3 cards 3/page with GIMP Script-Fu

@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):
  1. 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
  2. Save the script
  3. Refresh the scripts with menu: Filters → Script-Fu → Refresh Scripts
  4. Rerun script. See if better. You can also do Undo (Ctrl+Z) after running the script to see if any better.
  5. 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.
Reply With Quote