PSP Scripts and layers: Export Individual Layers script
Moderator: Kathy_9
-
Judith505
- Posts: 2
- Joined: Mon Jan 28, 2013 5:29 pm
- System_Drive: C
- 32bit or 64bit: 64 Bit
- motherboard: TOSHIBA Portable PC Base Board Version
- processor: Intel 2Duo 2.20ghz
- ram: 4.00ghz
- Video Card: Nvidia Gforce GT 230m
- sound_card: Realtek HD Audio
- Hard_Drive_Capacity: 500ghz
- Monitor/Display Make & Model: Generic PnP Monitor (15.9"vis)
PSP Scripts and layers: Export Individual Layers script
I've tried searching through the posts for the answer and I really didn't find what I was looking for. Has anyone written or found a successful script for X4 that will export each layer individually as a .png? For instance: I have 10 layers, each having one element, I need each element to be exported into it's own .png file for future manipulations and althought I've tried writing my own, I was unable to get it to work. Thanks.
-
LeviFiction
- Advisor
- Posts: 6831
- Joined: Thu Oct 02, 2008 1:07 pm
- System_Drive: C
- 32bit or 64bit: 64 Bit
- motherboard: Alienware M17xR4
- processor: Intel Core i7-3630QM CPU - 2_40GH
- ram: 6 GB
- Video Card: NVIDIA GeForce GTX 660M
- sound_card: Sound Blaster Recon3Di
- Hard_Drive_Capacity: 500GB
- Corel programs: PSP: 8-2023
- Location: USA
Re: PSP Scripts and layers
Okay I know of two scripts. One you have to buy, the other is free but I wanted to list them both just in case.
This was was written by Cassel currently being sold for $6 on her website
http://creationcassel.com/store/index.p ... Qa0878801I
From there you can also try Suz's place. I think this script might be what you're looking for, it was updated for PSPX4
http://suzsplace.com/8scripts/ss-FilesF ... fImage.htm
If you would like to pursue your own script help can be arranged for that as well. We've got a few scripters on the forums here.
This was was written by Cassel currently being sold for $6 on her website
http://creationcassel.com/store/index.p ... Qa0878801I
From there you can also try Suz's place. I think this script might be what you're looking for, it was updated for PSPX4
http://suzsplace.com/8scripts/ss-FilesF ... fImage.htm
If you would like to pursue your own script help can be arranged for that as well. We've got a few scripters on the forums here.
https://levifiction.wordpress.com/
-
Judith505
- Posts: 2
- Joined: Mon Jan 28, 2013 5:29 pm
- System_Drive: C
- 32bit or 64bit: 64 Bit
- motherboard: TOSHIBA Portable PC Base Board Version
- processor: Intel 2Duo 2.20ghz
- ram: 4.00ghz
- Video Card: Nvidia Gforce GT 230m
- sound_card: Realtek HD Audio
- Hard_Drive_Capacity: 500ghz
- Monitor/Display Make & Model: Generic PnP Monitor (15.9"vis)
Re: PSP Scripts and layers
Thank you very much! I did find Suz's script and tried it and it did not work. The directory that it wanted to save to had "Suz" as the username, so that would certainly be a problem. I would love to learn how to write the script myself if the script writers would lend a land it would be most appreciated. 
-
LeviFiction
- Advisor
- Posts: 6831
- Joined: Thu Oct 02, 2008 1:07 pm
- System_Drive: C
- 32bit or 64bit: 64 Bit
- motherboard: Alienware M17xR4
- processor: Intel Core i7-3630QM CPU - 2_40GH
- ram: 6 GB
- Video Card: NVIDIA GeForce GTX 660M
- sound_card: Sound Blaster Recon3Di
- Hard_Drive_Capacity: 500GB
- Corel programs: PSP: 8-2023
- Location: USA
Re: PSP Scripts and layers
Well, according to the help file that comes with that script you're supposed to edit the path yourself.
Just open the script in Notepad or something similar and change the path to point where you want it. Remember that the special character "\" has to be written "\\" or else it'll be parsed incorrectly.
As for helping with scripting, for the most part when I say help I mean help with specific questions. Some may be willing to help you start from the beginning and move in others are less likely to do so.
Suz actually has a number of really good tutorials that step you through the basics and on - http://scrapbookcampus.com/paintshop-pr ... ng-course/
They are pay for courses though.
Otherwise I suggest learning the basics of Python programming. PSP scripts are written in the Python scripting language, for which there are thousands of tutorials and videos for beginners. But you really only need to know the basics for most things.
https://www.khanacademy.org/science/computer-science
Finally you'll want to read and learn the PSP documentation on scripting. It goes into some good detail on how things work in PSP, from calling functions to navigating through the layers.
You can download the latest Scripting API (commands that PSP calls) and the Scripting for Script Authors PDF from here
ftp://ftp.corel.com/pub/documentation/PSP/
Just open the script in Notepad or something similar and change the path to point where you want it. Remember that the special character "\" has to be written "\\" or else it'll be parsed incorrectly.
As for helping with scripting, for the most part when I say help I mean help with specific questions. Some may be willing to help you start from the beginning and move in others are less likely to do so.
Suz actually has a number of really good tutorials that step you through the basics and on - http://scrapbookcampus.com/paintshop-pr ... ng-course/
They are pay for courses though.
Otherwise I suggest learning the basics of Python programming. PSP scripts are written in the Python scripting language, for which there are thousands of tutorials and videos for beginners. But you really only need to know the basics for most things.
https://www.khanacademy.org/science/computer-science
Finally you'll want to read and learn the PSP documentation on scripting. It goes into some good detail on how things work in PSP, from calling functions to navigating through the layers.
You can download the latest Scripting API (commands that PSP calls) and the Scripting for Script Authors PDF from here
ftp://ftp.corel.com/pub/documentation/PSP/
https://levifiction.wordpress.com/
-
photodrawken
- Posts: 684
- Joined: Wed Sep 26, 2012 8:40 am
- System_Drive: C
- 32bit or 64bit: 64 Bit
- ram: 16Gb
- Hard_Drive_Capacity: 324Gb
- Location: USA
Re: PSP Scripts and layers
A million thanks for that -- bookmarked!LeviFiction wrote:You can download the latest Scripting API (commands that PSP calls) and the Scripting for Script Authors PDF from here
ftp://ftp.corel.com/pub/documentation/PSP/
Ken
Yes, I think it can be eeeeeasily done...
Just take everything out on Highway 61.
Yes, I think it can be eeeeeasily done...
Just take everything out on Highway 61.
-
Radim
- Posts: 712
- Joined: Mon Nov 01, 2010 5:54 pm
- System_Drive: C
- 32bit or 64bit: 64 Bit
- ram: 4GB
- Monitor/Display Make & Model: 27 inch
Re: PSP Scripts and layers
Have you figure it out?
I played with it yesterday on X5 because in *long time ago I thinked about the same functionality.
But there are some principle problems with nested groups - how they have to be processed to PNG:
1. each individualy
2. whole group of layers as one PNG
so this is a question.
So, I created simple record - script - which export single selected layer as PNG.
Here it is: http://pastebin.com/npgdG6Sb (with example files - http://lab.php5.cz/export-layer-as-png-pspx5.zip)
NOTE: Create your own script in X4 or edit paths and version info.
I played with it yesterday on X5 because in *long time ago I thinked about the same functionality.
But there are some principle problems with nested groups - how they have to be processed to PNG:
1. each individualy
2. whole group of layers as one PNG
so this is a question.
So, I created simple record - script - which export single selected layer as PNG.
Here it is: http://pastebin.com/npgdG6Sb (with example files - http://lab.php5.cz/export-layer-as-png-pspx5.zip)
NOTE: Create your own script in X4 or edit paths and version info.
- Attachments
-
- Export layer as PNG.PspScript.txt
- Rename, edit - version you want and output directory
- (3.38 KiB) Downloaded 519 times
