DxO ViewPoint compatibilty
Moderator: Kathy_9
-
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: DxO ViewPoint compatibilty
I got to thinking about this issue and wanted to add a bit more of my thoughts on it. As I said, the script that works for me is for v.2.5 of Viewpoint. If v.3 has a different Save routine then that could also cause your issue. The script works by saving and copying files to and from your Documents folder. If Viewpoint v.3 is forcing the Saves to be in a different folder than the script is only returning the same copy of the image that was open in PSP when it first saved into the Documents folder.
I ran into this issue with Perfectly Clear Complete v.3.5.5, which has a different Save routine than v.2. To fix it in v.3.5.5 I had to go to the Save As dialogue of Perfectly Clear and select my Documents folder as the default save location for the processed file, and that script now works perfectly. I don't know if you can choose a default Save folder with Viewpoint 3, but you can first run Viewpoint 3 standalone and do a Save As and select your Documents folder for the save folder and, if v.3 then always defaults to that folder first then you might find the script works.
It may be that the reason the script stops working after the first run for you is that your have done something else that changes the default Save folder of v.3, but that's just speculation on my part. However, if the script doesn't run at all after the first successful run then I don't have a clue I'm afraid.
That said, if you try it and it still doesn't work then get back to me if you at least get some different results than you have been getting.
I ran into this issue with Perfectly Clear Complete v.3.5.5, which has a different Save routine than v.2. To fix it in v.3.5.5 I had to go to the Save As dialogue of Perfectly Clear and select my Documents folder as the default save location for the processed file, and that script now works perfectly. I don't know if you can choose a default Save folder with Viewpoint 3, but you can first run Viewpoint 3 standalone and do a Save As and select your Documents folder for the save folder and, if v.3 then always defaults to that folder first then you might find the script works.
It may be that the reason the script stops working after the first run for you is that your have done something else that changes the default Save folder of v.3, but that's just speculation on my part. However, if the script doesn't run at all after the first successful run then I don't have a clue I'm afraid.
That said, if you try it and it still doesn't work then get back to me if you at least get some different results than you have been getting.
Regards,
JoeB
Using PSP 2019 64bit
JoeB
Using PSP 2019 64bit
-
MikeFromMesa
- Posts: 269
- Joined: Mon Aug 08, 2011 4:13 pm
- System_Drive: N/A
- 32bit or 64bit: 64 Bit
- processor: 3.0 GHz Intel Core i7
- ram: 16 GB
- Video Card: Intel Iris
- Hard_Drive_Capacity: 256 GB SSD
- Monitor/Display Make & Model: 24" Dell Ultrasharp Monitor
- Corel programs: PaintShop Pro, AfterShot Pro
- Location: Mesa, AZ USA
Re: DxO ViewPoint compatibilty
Thank you for the link.JoeB wrote:I am using the script that was translated into English by AK, which should otherwise be the same script. I'm attaching a zip file of my script. Just change the line 26 to reflect the path to your Viewpoint 3 executable. The layer being returned to PSP will be named DXO Viewpoint. Remember, it will be cropped by Viewpoint after the perspective correction so will be a smaller visible image layer.
I had the same problem with ViewPoint, although I am using ViewPoint2, and this script, when updated properly, worked perfectly.
-
Jan Shim
- Posts: 135
- Joined: Tue Jul 03, 2012 3:13 am
- System_Drive: C
- 32bit or 64bit: 64 Bit
- motherboard: ASUS ROG Maximus V GENE
- processor: Core i7-3770K 4.4GHz
- ram: 16GB
- Video Card: nVidia GeForce 2GB GTX 660
- Monitor/Display Make & Model: Dell UltraSharp U2713H
- Location: Brunei Darussalam
- Contact:
Re: DxO ViewPoint compatibilty
JoeB Somehow I got the script to work in both X9 and 2018. I can't explain what I did but glad it's now working properly although not the way like it does in Photoshop where it's fully supported. Thanks to MikeFromMesa's comment I noticed something you said that I had missed.
This was happening to all my images and I thought something else had gone wrong. Glad to know it's normal. Thanks for helping out!The layer being returned to PSP will be named DXO Viewpoint. Remember, it will be cropped by Viewpoint after the perspective correction so will be a smaller visible image layer.
-
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: DxO ViewPoint compatibilty
You're very welcome, Jan, and I'm glad that - for whatever reason - the script is now working for you! And yes, I had made that comment about the cropped image being returned because the first time I did it I was a little surprised also. But then I remembered that, even using PSP's Perspective Correction, you can't really do it without a crop happening and of course Viewpoint crops also. My limited experience with Viewpoint, however, is that you have a bit more control over the crop area and can sometimes have a somewhat less drastic crop than you get with PSP's tool.
Given that you're getting a cropped (and therefore smaller) version of the image as a layer you might wonder why have the layer in the first place instead of just as a new image retuned into PSP. The script could likely be easily modified to do that instead but I just didn't bother. You can always drag that cropped layer from the Layers palette onto an empty area of the workspace if you want it as a separate image.
Given that you're getting a cropped (and therefore smaller) version of the image as a layer you might wonder why have the layer in the first place instead of just as a new image retuned into PSP. The script could likely be easily modified to do that instead but I just didn't bother. You can always drag that cropped layer from the Layers palette onto an empty area of the workspace if you want it as a separate image.
Regards,
JoeB
Using PSP 2019 64bit
JoeB
Using PSP 2019 64bit
-
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: DxO ViewPoint compatibilty
Just a short general comment about this thread to Ken Berry. I realize it's about a script and may seem like it belongs in the Scripts sub-forum. If a mod thinks it belongs there then perhaps it should just be a copy of this thread. I didn't post the script or my comments in that forum because first, the subject title didn't seem script related, and second, it was such a specialized purpose script (i.e., Jan Shim needed to achieve something with an external piece of software that most people don't have to worry about or even have Viewpoint) that I wasn't originally sure if the thread should stay here or be moved. Normally I'm quite OCD about keeping things in their proper forums/sub-forums! 
Regards,
JoeB
Using PSP 2019 64bit
JoeB
Using PSP 2019 64bit
-
Jan Shim
- Posts: 135
- Joined: Tue Jul 03, 2012 3:13 am
- System_Drive: C
- 32bit or 64bit: 64 Bit
- motherboard: ASUS ROG Maximus V GENE
- processor: Core i7-3770K 4.4GHz
- ram: 16GB
- Video Card: nVidia GeForce 2GB GTX 660
- Monitor/Display Make & Model: Dell UltraSharp U2713H
- Location: Brunei Darussalam
- Contact:
Re: DxO ViewPoint compatibilty
Would love a script that returns a cropped new imageJoeB wrote:Given that you're getting a cropped (and therefore smaller) version of the image as a layer you might wonder why have the layer in the first place instead of just as a new image retuned into PSP. The script could likely be easily modified to do that instead but I just didn't bother. You can always drag that cropped layer from the Layers palette onto an empty area of the workspace if you want it as a separate image.
-
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: DxO ViewPoint compatibilty
Jan Shim wrote:Would love a script that returns a cropped new imageJoeB wrote:Given that you're getting a cropped (and therefore smaller) version of the image as a layer you might wonder why have the layer in the first place instead of just as a new image retuned into PSP. The script could likely be easily modified to do that instead but I just didn't bother. You can always drag that cropped layer from the Layers palette onto an empty area of the workspace if you want it as a separate image.
Real life stuff to be done, but stay tuned and perhaps in a couple of days or so. If someone wants to do it earlier that's fine with me.
Regards,
JoeB
Using PSP 2019 64bit
JoeB
Using PSP 2019 64bit
-
MikeFromMesa
- Posts: 269
- Joined: Mon Aug 08, 2011 4:13 pm
- System_Drive: N/A
- 32bit or 64bit: 64 Bit
- processor: 3.0 GHz Intel Core i7
- ram: 16 GB
- Video Card: Intel Iris
- Hard_Drive_Capacity: 256 GB SSD
- Monitor/Display Make & Model: 24" Dell Ultrasharp Monitor
- Corel programs: PaintShop Pro, AfterShot Pro
- Location: Mesa, AZ USA
Re: DxO ViewPoint compatibilty
Exactly what do you mean?Jan Shim wrote: Would love a script that returns a cropped new image
Plugins work on layers and return layers. The returned layer from ViewPoint is smaller than the original layer, and hence you can see the lower images around the border of the returned layer. All I do is make the lower layers invisible, flatten the image and crop out any blank border around the image.
Do you mean that you would like a completely new image instead of returning a new layer? The script actually does create a new image (a temporary image stored in a temp folder) and I suppose it could have PSP load that temporary layer instead of returning the modified layer. *
Question: Should this thread be continued in the scripting area?
* I modified the script to return the ViewPoint image as a new image, and that works properly, but since it is a temporary file it has one of those long involved temporary names and its path is to the temporary folder. To save it you would have to change the path and name to something usable. A simple Save command would only save it back to the temporary folder.
-
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: DxO ViewPoint compatibilty
Here's the DXO Viewpoint script that returns the image to PSP as a new image rather than as a layer on the original image. The new image title bar will show that it is named ImageX (X representing whatever number is appropriate for the number of images already open - just as if you copied an image and pasted it as a new image) and it will be a single raster layer named DXO Viewpoint.
EDIT: Remember that I did the script for v.2.5 so with this one make sure to again go to line 26 and make sure the path is set to your DXO version's executable, including the name of the .exe file which should be changed to 3 from 2 if you're using v.3.
Yes Mike, of course you have to use Save As to save it because it opens from the Documents folder after processing in DXO so PSP would want to Save back into that folder. But you would naturally want to do that anyway as you would with any copied/pasted image whose image name was ImageX.
But it doesn't have a long or complicated name. And, if you want it named similar to the existing image you started with, you just use Save As, browse to the folder your original image came from, click on the name of the existing image in that folder and add _DXO or something to the end of that name where it appears in the File Name box before saving. I assume that, going through the process you describe when it's a layer, you still do a Save As and rename the layered image so that it won't overwrite your original.
With a perspective corrected and cropped image there is usually no reason to need the other layers in the original anyway because this processed image is distorted from the original.
It's important to remember that this script does NOT work with the DXO plugin. It works by opening the standalone version of DXO so that it operates like a plugin would when invoked from PSP. The biggest advantage to this - and other scripts that open other programs - is that if the actual plugin is only a 64bit plugin (like Perfectly Clear 3.5.5) you can't use it with PSP 32bit. But you can use a script to use the standalone version of Perfectly Clear as a plugin from both 32bit and 64bit versions of PSP, which is useful for those who prefer 32bit versions because of the number of 32bit legacy plugins they have and want to have easy access to.
The other advantage, of course, is that if a plugin will only work in Photoshop and not PSP (which Jan Shim said is the case here with his version of DXO) but if there is a standalone version of it, then the script will allow you to use that standalone version within PSP - both 32bit and 64bit. - as if it was a plugin.
EDIT: Remember that I did the script for v.2.5 so with this one make sure to again go to line 26 and make sure the path is set to your DXO version's executable, including the name of the .exe file which should be changed to 3 from 2 if you're using v.3.
Yes Mike, of course you have to use Save As to save it because it opens from the Documents folder after processing in DXO so PSP would want to Save back into that folder. But you would naturally want to do that anyway as you would with any copied/pasted image whose image name was ImageX.
It's important to remember that this script does NOT work with the DXO plugin. It works by opening the standalone version of DXO so that it operates like a plugin would when invoked from PSP. The biggest advantage to this - and other scripts that open other programs - is that if the actual plugin is only a 64bit plugin (like Perfectly Clear 3.5.5) you can't use it with PSP 32bit. But you can use a script to use the standalone version of Perfectly Clear as a plugin from both 32bit and 64bit versions of PSP, which is useful for those who prefer 32bit versions because of the number of 32bit legacy plugins they have and want to have easy access to.
The other advantage, of course, is that if a plugin will only work in Photoshop and not PSP (which Jan Shim said is the case here with his version of DXO) but if there is a standalone version of it, then the script will allow you to use that standalone version within PSP - both 32bit and 64bit. - as if it was a plugin.
- Attachments
-
- DXO_Viewpoint_NEW IMAGE.zip
- (1.53 KiB) Downloaded 155 times
Last edited by JoeB on Wed Jan 03, 2018 10:52 pm, edited 4 times in total.
Regards,
JoeB
Using PSP 2019 64bit
JoeB
Using PSP 2019 64bit
- Ken Berry
- Site Admin
- Posts: 22481
- Joined: Fri Dec 10, 2004 9:36 pm
- System_Drive: C
- 32bit or 64bit: 64 Bit
- motherboard: Gigabyte B550M DS3H AC
- processor: AMD Ryzen 9 5900X
- ram: 32 GB DDR4
- Video Card: AMD RX 6600 XT
- Hard_Drive_Capacity: 1 TB SSD + 2 TB HDD
- Monitor/Display Make & Model: Kogan 32" 4K 3840 x 2160
- Corel programs: VS2022; PSP2023; DRAW2021; Painter 2022
- Location: Levin, New Zealand
Re: DxO ViewPoint compatibilty
Joe -- I hear and obey!JoesB wrote:Just a short general comment about this thread to Ken Berry. I realize it's about a script and may seem like it belongs in the Scripts sub-forum. If a mod thinks it belongs there then perhaps it should just be a copy of this thread.
Ken Berry
-
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: DxO ViewPoint compatibilty
Thanks Ken!
IMPORTANT NOTE: KEN HAS PLACED A COPY OF THIS THREAD ON THE SCRIPTING SUB-FORUM. SO WE SUGGEST THAT ALL FURTHER DISCUSSION SHOULD TAKE PLACE THERE. THE LINK TO THE THREAD IN SCRIPTING - FOR THOSE WHO WISH TO FOLLOW OR CONTRIBUTE TO ANY FURTHER DISCUSSION - IS HERE:
http://forum.corel.com/EN/viewtopic.php?f=104&t=62978
IMPORTANT NOTE: KEN HAS PLACED A COPY OF THIS THREAD ON THE SCRIPTING SUB-FORUM. SO WE SUGGEST THAT ALL FURTHER DISCUSSION SHOULD TAKE PLACE THERE. THE LINK TO THE THREAD IN SCRIPTING - FOR THOSE WHO WISH TO FOLLOW OR CONTRIBUTE TO ANY FURTHER DISCUSSION - IS HERE:
http://forum.corel.com/EN/viewtopic.php?f=104&t=62978
Regards,
JoeB
Using PSP 2019 64bit
JoeB
Using PSP 2019 64bit
