Welcome, Guest |
You have to register before you can post on our site.
|
Latest Threads |
Is there any version wher...
Forum: Older Gimp versions (2.8, 2.6....)
Last Post: HavingTooMuchFun
2 hours ago
» Replies: 0
» Views: 38
|
How to make a watermark o...
Forum: General questions
Last Post: kyolim
Yesterday, 10:05 PM
» Replies: 5
» Views: 14,020
|
Linux command that does e...
Forum: Other graphics software
Last Post: rich2005
Yesterday, 06:06 PM
» Replies: 1
» Views: 350
|
reliable Gimp 2.10.38 dow...
Forum: Older Gimp versions (2.8, 2.6....)
Last Post: denzjos
Yesterday, 05:20 PM
» Replies: 2
» Views: 277
|
Batch Color Saturation
Forum: Extending the GIMP
Last Post: rich2005
Yesterday, 07:53 AM
» Replies: 15
» Views: 11,903
|
Photo play-time
Forum: Gallery
Last Post: Ofnuts
Yesterday, 07:32 AM
» Replies: 24
» Views: 21,755
|
BIMP plugin for GIMP 3.10
Forum: Extending the GIMP
Last Post: firefly
09-12-2025, 11:53 PM
» Replies: 2
» Views: 640
|
pl_stroke_arrows GIMP 3.0...
Forum: Extending the GIMP
Last Post: Scallact
09-12-2025, 04:03 PM
» Replies: 0
» Views: 292
|
How do you make text circ...
Forum: General questions
Last Post: rich2005
09-12-2025, 07:18 AM
» Replies: 12
» Views: 3,375
|
New Install, Black Screen...
Forum: OSX
Last Post: akhrameev
09-11-2025, 02:32 PM
» Replies: 3
» Views: 3,044
|
|
|
Guillotine Script for all layers |
Posted by: mwaxman1 - 01-22-2018, 05:46 PM - Forum: General questions
- Replies (2)
|
 |
I have downloaded a deck of playing cards that has been printed to 151 pdf files, each with 9 cards printed in a 3x3 grid. I need to separate each card on all of the PDFs into separate images, so I can send each individual card image to a card deck printer. I have gotten as far as combining all pdf files into a single PNG, with each 3x3 page as a separate layer. I have setup guillotine and/or web slice to pull apart the pictures correctly on the first layer. Is it possible to script either of these so they cut the same 3x3 grid out of all 151 layers and save each individual card as a seaparate .jpg?
|
|
|
Searching for python script islands to layers |
Posted by: mich_lloid - 01-22-2018, 03:10 PM - Forum: Extending the GIMP
- Replies (30)
|
 |
Hi, I'm searching for a plugin that converts a layer's non-transparent items/islands to multiple layers with each layer an item/island.
Please help, I am non-programmer and tried very simple python script but am very novice.
Actions/steps should be:
1. make sure tranparency is already mask layer, else make mask layer with right-click Layer > "Add Layer Mask..." > "Layer's alpha channel"
2. make duplicate of current layer as backup named temp_layer.
3. select temp_layer
4. go to every pixel in every row in temp_layer, if pixel's transparency is 0 (mask layer pixel is black) than do nothing
if transparency is not 0 (mask layer pixel is not black) select "fuzzy select tool" on position of that pixel with settings "Threshhold" at 254.9 and checked off "antialiasing", "feather edges", "select transparent areas" and "sample merged".
5. duplicate temp_layer and call it item### or island### for example island001.
6. crop to selection in island001 layer (Layer > Crop to Selection).
7. go back to temp_layer and make selection fully transparent in mask layer by filling selection with black color
8. update temp_layer and repeat from step 3 or 4 to 8 untill there are no more islands in temp layer and temp layer is fully transparent (mask layer is fully black).
As I said I'm no programmer so I hope someone will make this or point me to script that already does this, I haven't found one on the internet, only for photoshop but I don't have photoshop.
Here's link for photoshop version: https://graphicdesign.stackexchange.com/...yers-batch
Thanks in advance
|
|
|
Batch files |
Posted by: Pat625 - 01-20-2018, 08:49 AM - Forum: Extending the GIMP
- Replies (6)
|
 |
I am seeking a Batch file program for Gimp 2.8.22 and Windows 10, I have never used one before and will need some instruction. Searching for one to make it easier while working on fonts for adjusting coloring, using a bevel tool, or maybe embossing. My search tells me Bimp comes with Gimp but I cannot find it. Not listed in the Plug in search browser. Any suggestions as to what to use and where to get it? Thank you in advance for any help you can give.
|
|
|
|