Script Name: Change Resolution
Download Link: https://drive.google.com/open?id=0B8FlF ... k5IV2N4STg
Compatability: 9 to X9 supposedly
Requirements: Place in Scripts-Restricted Folder
Description:
This script will grab the default resolution settings from the General Preferences, and change the current image to match.
There are two scripts: Change Resolution and ChangResolutionAndResample
Change Resolution - This will change the image's PPI resolution to match the settings in the General Preferences without changing the pixel count of the image. This will change the print size even though the image does not get any bigger or smaller.
ChangeResolutionAndResample - This will change the image's PPI resolution to match the settings in the General Preferences without changing the print size. This will resize the image changing the number of pixels in the image to fit within the printsize indicated at the current resolution.
To change the resolution go into your General Preferences (File -> Preferences -> General Preferences)
Select "Units" from the left options
On the right set the "Default Resolution" to the resolution you wish to use and what units to use Inches/CM
Video: https://drive.google.com/file/d/0B8FlFL ... dJM3M/view
UPDATE: I've added a third script to this bundle called "ChangeResolutionUnits" what this script does is simply change the resolution units of your image, for example from CM to IN, converting the resolution value to the appropriate equivalent. This is different from ChangeResolution in that the ChangeResolution script would change both the units and the resolution value to a staticly set value. This actually converts CM into IN and back again.
This script, like the other two, use your Units defined in the General Preferences dialog. So no need to edit the script to decide what units to use.
Change Resolution
Moderator: Kathy_9
-
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
Change Resolution
Last edited by LeviFiction on Sat Jun 23, 2018 10:26 pm, edited 1 time in total.
https://levifiction.wordpress.com/
-
ADonahoo
- Posts: 228
- Joined: Tue Dec 13, 2011 5:04 pm
- System_Drive: C
- 32bit or 64bit: 64 Bit
- motherboard: Dell Inc. 0KWVT8 A03
- processor: 3.60 gigahertz Intel Core i7-4790
- ram: 24GB
- Video Card: AMD Radeon R9 270
- sound_card: Creative SB X-Fi Titanium
- Hard_Drive_Capacity: 13256GB
- Monitor/Display Make & Model: Dell SX2210 and Dell ST2210
- Corel programs: PSP X7, X8, X9, 2018, 2019
- Location: USA
Re: Change Resolution
I just ran this as a batch process in X9 on 199 photos and it worked perfectly. It was quick too. Thanks Levi.
-
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: Change Resolution
UPDATE: I've added a third script to this bundle called "ChangeResolutionUnits" what this script does is simply change the resolution units of your image, for example from CM to IN, converting the resolution value to the appropriate equivalent. This is different from ChangeResolution in that the ChangeResolution script would change both the units and the resolution value to a staticly set value. This actually converts CM into IN and back again.
This script, like the other two, use your Units defined in the General Preferences dialog. So no need to edit the script to decide what units to use.
This script, like the other two, use your Units defined in the General Preferences dialog. So no need to edit the script to decide what units to use.
https://levifiction.wordpress.com/
-
JoeB
- Posts: 2778
- Joined: Fri Mar 28, 2008 10:04 pm
- System_Drive: C
- 32bit or 64bit: 64 Bit
- motherboard: LENOVO 4524PE4 ThinkCentre M91p
- processor: 3.10 gigahertz Intel Quad Core i5-2400
- ram: 8 GB
- Hard_Drive_Capacity: 4.6 TB
- Corel programs: PSP 9, X7 to 2019, 32 & 64-bit
- Location: Canada
Re: Change Resolution
I'm using the script, which works well. As I mentioned in the original thread, I have modified it so that the Image Information dialogue opens immediately after the silent running of the script and have bound it to an icon placed on my menu bar to use in place of the Image>Image Information item. That works well for the most part, and when I click OK on the Image Info dialogue it closes as it should.
However, I have never cared whether I use the OK button or the CANCEL button on the Image Info dialogue to close it. But with my modification which opens the Image Info dialogue, if I click Cancel instead of OK then I get the PSP message asking whether I want to continue with the script. Is there something I can add to the script that will make the Cancel button act the same way the OK button does (i.e., just closes the Image Info dialogue), or at least instantly closes that message window, or simply prevents it from having to appear at all?
However, I have never cared whether I use the OK button or the CANCEL button on the Image Info dialogue to close it. But with my modification which opens the Image Info dialogue, if I click Cancel instead of OK then I get the PSP message asking whether I want to continue with the script. Is there something I can add to the script that will make the Cancel button act the same way the OK button does (i.e., just closes the Image Info dialogue), or at least instantly closes that message window, or simply prevents it from having to appear at all?
Regards,
JoeB
Using PSP 2019 64bit
JoeB
Using PSP 2019 64bit
-
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: Change Resolution
I know of no such option. That appears to simply be PSP responding to the cancel button without any input from the script. Auto-actions, warnings, or anything else I can find in General Preferences makes no reference to this. And it's not in the scripting for script author's guide.
https://levifiction.wordpress.com/
-
JoeB
- Posts: 2778
- Joined: Fri Mar 28, 2008 10:04 pm
- System_Drive: C
- 32bit or 64bit: 64 Bit
- motherboard: LENOVO 4524PE4 ThinkCentre M91p
- processor: 3.10 gigahertz Intel Quad Core i5-2400
- ram: 8 GB
- Hard_Drive_Capacity: 4.6 TB
- Corel programs: PSP 9, X7 to 2019, 32 & 64-bit
- Location: Canada
Re: Change Resolution
I was afraid of that - but one can always hopeLeviFiction wrote:I know of no such option. That appears to simply be PSP responding to the cancel button without any input from the script. Auto-actions, warnings, or anything else I can find in General Preferences makes no reference to this. And it's not in the scripting for script author's guide.
Regards,
JoeB
Using PSP 2019 64bit
JoeB
Using PSP 2019 64bit
