You are here

Separate to PNGs - Silkscreen Tools

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0
Rate this item!

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

AttachmentSize
separate_to_pngs.py.txt1.27 KB
GIMP Version: 
Code License: 

Comments

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 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 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

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 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 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 mistakes.

Thanks for your answers and for your scripts.

I will try again this one and the "export".

Pages

Subscribe to Comments for "Separate to PNGs - Silkscreen Tools"