This plug-in prompts for a directory then exports your channels as individual PNG files. This could be useful for preparing artwork for screen printing (silkscreen).
How to use:
1. Open the channels dialog
2. Create a new channel, selecting opacity and fill color
3. Perform creation/editing on channel
4. Repeat steps 2 and 3 as needed.
5. Run the filter
Remove the ".txt" extension from the file, and linux users be sure to flag the file as executable.
The plug-in requires Python. Please don't ask how to install Python support for GIMP - search the forum (I'm looking at you, Windows users ;)
This is part of a set of plugins called 'Silkscreen Tools' and installs to 'Filters->Silkscreen Tools->Separate to PNGs'.
Happy screening!
TODO: add printer's marks and labels
| Attachment | Size |
|---|---|
| separate_to_pngs.py.txt | 1.27 KB |
Comments
It work
Ok it works now. I've got it in Filter. I forgot to make the file executable in it properties. I apologize 'cause i'm dumb ;b
THX
Doesn't seem to work
Using Ubuntu 9.10, It plugin shows up under filters, but if I run it, nothing happens. Target folder is empty. Other Python stuff works fine in Gimp (2.6.7)
Anyone else having problems? Any ideas as to how to make it work?
Thanks
Have you added any channels?
I guess the original description could have been better - you need to add some channels before you can separate them. This plug-in is a helper for anyone using spot colors.
I am using ubuntu 10.04 and
I am using ubuntu 10.04 and it doesn't show up at all under filters anywhere, I tried putting it in the .plugins folders in the home drive than also in the usr folder for gimp pluguns and still it does not show up at all.
Hopefully someone has an answer to this because it seems like a great plugin to use for artwork and freelance work for silkscreening.
You have to make the python
You have to make the python file executable using chmod +x or right clicking on it in nautilus, going into preferences then permissions then tick allow executing file as a program.
Thanks for that, I just
Thanks for that, I just installed ubuntu, new to linux here but trying to learn quick as I wiped out windows finally.
Ok I made it excutable brought up a png and tried to separate it, it brought up the save window as you stated but did not save any files.
If I'm missing something please let me know.
Thanks again :)
Sam
First RENAME the file to
First RENAME the file to remove the.txt extension or will never work
(it's a nasty bug in the forum, for some reason add the txt extension to python scripts
then from file propriety give the permission to run as exectable
Been there, done that.
/home/nick/.gimp-2.6/plug-ins/LabCurves
/home/nick/.gimp-2.6/plug-ins/60's Text.scm
/home/nick/.gimp-2.6/plug-ins/comicbook.scm
/home/nick/.gimp-2.6/plug-ins/feca_hdr.py
/home/nick/.gimp-2.6/plug-ins/high-end-sharpen.py
/home/nick/.gimp-2.6/plug-ins/pspi
/home/nick/.gimp-2.6/plug-ins/pspi.exe.so
/home/nick/.gimp-2.6/plug-ins/python_fu_edgy.py
/home/nick/.gimp-2.6/plug-ins/selection-to-radial-copy.scm
/home/nick/.gimp-2.6/plug-ins/separate_to_pngs.py
/home/nick/.gimp-2.6/plug-ins/smart-remove.scm
i your list there is a mix of
i your list there is a mix of scripts and plugins
Now script fu have their place (the script folders )
BUT python scripts are seen as PLUGIN and should be in a plugin folder to work,
scm files aren't plug-ins
scm files are scripts, and go in the scripts folder
py files are plug-ins
GIMP requires being refreshed when adding scm files and rebooted when adding plug-ins.
trouble with plugin
Hi
I work on Ubuntu 10.4 with gimp 2.6 and ok I'm a newbie.
I rename the file from .txt to .py then place it in in the repository gimp2.6\plugin but I didn't see it in the Gimp... Oo
Could we have a decent step by step in order to install and use this plugin.
The explanations are a short...
Tia
vincentVega
You have to make it
You have to make it executable as stated above
if its in the plug-in folder than open up the terminal
sudo +x /usr/lib/gimp/2.0/plug-ins/separate_to_pngs.py
that will make it executable and it will show up under filters>Screenprinting tools
Im at work so double check this as I dont have my computer here.
Now that being said, it still will not save to pngs anywhere for some reason.
But try it and let me know if you find a solution to get this to work as I am using ubuntu 10.04 as well.
Seems ubuntu don't like this plugin for some reason. It works it just will not save any files. So I guess it dont work completely.
I make the file executable
I make the file executable and find it in filter menu but seem to don't work.
Finally I doudt it was very useful for silkscreen print because it uses channels(RVB) and not layers.
I make CMYK separation with Separate+ and all I want is a tool for export one by one the diifferent CMYK layers.
The script "export to PNGs" it much more useful for silkscreen print because it export layers and not channels and work wonderfully even if PNG format it make for web(256 indexed colors) not for print!!!
@Cr33dog What part of the code could I change in order to export in another format (Tiff CMYK generated by Separate)?
I try to rename PNG by Tiff in the code but it don't work...ok I a dumb newbie...
Tia
Wow, there's so much wrong here I don't know where to start
VV> Finally I doudt it was very useful for silkscreen print because it uses channels(RVB) and not layers.
The plug-in uses spot channels, not RGB channels. This is useful, trust me ;)
VV> I make CMYK separation with Separate+ and all I want is a tool for export one by one the diifferent CMYK layers.
This plug-in is for spot colors mainly, but once we get CMYK channels in GIMP it could be used for 4-color process as well.
VV> The script "export to PNGs" it much more useful for silkscreen print because it export layers and not channels and work wonderfully even if PNG format it make for web(256 indexed colors) not for print!!!
PNG is *not* indexed. It is a lossless format, perfectly suitable for printing.
VV> @Cr33dog What part of the code could I change in order to export in another format (Tiff CMYK generated by Separate)?
VV> I try to rename PNG by Tiff in the code but it don't work...ok I a dumb newbie...
If you must, open the procedure browser (under Help menu), and search for 'tiff'. There you will find the function name and also the parameters.
After a while I found the way
After a while I found the way to save the layers in tiff.YEEEAAA!
In procedural browser I saw the option "file_tiff_save" and the parameters but I didn't understood how to used it.
I tried to replace the begining of the line"pdb.file_png_save" by "pdb.file_tiff_save" but it didn't work so I give up.
I shake my brain on it and now I've got the solution.
replace the line :
"pdb.file_png_save(tmp, tmp.layers[0], fullpath, name, 0, 9, 1, 1, 1, 1, 1)"
by
"pdb.file_tiff_save(tmp, tmp.layer[0], fullpath, name, 0)"
and the layers are save in tiff format!
@cr33dog
Tiff have no compression( parameter 0 at the end of the line) It is also a lossless format with embedded ICC profil for CMYK print.
@cr33dog For the export as
@cr33dog
For the export as layer script
After a while I found the way to save the layers in tiff.YEEEAAA!
In procedural browser I saw the option "file_tiff_save" and the parameters but I didn't understood how to used it.
I tried to replace the begining of the line"pdb.file_png_save" by "pdb.file_tiff_save" but it didn't work so I give up.
I shake my brain on it and now I've got the solution.
replace the line :
"pdb.file_png_save(tmp, tmp.layers[0], fullpath, name, 0, 9, 1, 1, 1, 1, 1)"
by
"pdb.file_tiff_save(tmp, tmp.layer[0], fullpath, name, 0)"
and the layers are save in tiff format!
Tiff have no compression( parameter 0 at the end of the line) It is a lossless format with embedded ICC profil for CMYK print. So it 's more suitable for print.
Ok Sorry if I do some
Ok
Sorry if I do some mistakes.
Thanks for your answers and for your scripts.
I will try again this one and the "export".