------------------------------
Attached is a zip of the JSJ script, modified, that I use to open the 64bit standalone version of Luminar as a plugin in PSP (there is no Windows plugin version at present). The script presently saves its temp copy as either jpg or tiff. The problem is that neither support transparency. Luminar does support exporting in PNG, and its Help file says the advantage of PNG is that it supports embedded transparency (which we all know). However, Luminar's PNG output dialogue doesn't have a transparency option, but it's possible that if it opens a PNG file with embedded transparency it just might export it with that same transparency - I hope.
My problem is that I don't know how to edit the part of the script that presently saves the temp file as .tiff so that it will save that temp file as PNG with transparency. The relevant parts of the script are from Line 71 to Line 89 (i.e., those are the lines that instruct the script how to save the temp file as .tiff). Alternatively the edit could be done to the .jpg save portion of the script (Line 48 to Line 69) because I never use the .jpg option. If someone could provide the proper scripting for saving the temp file as PNG with transparency, it would be greatly appreciated. I can do the minor edit earlier in the script that's needed.
I have recorded both a straight PNG save and a PNG Optimizer save (the latter needed to ensure transparency) but don't know enough to know how to place the information in this script.
Whether or not this will allow me to send an image with transparency to Luminar (or any other third party program) and get the transparency back when the image is returned as a layer to PSP is something I don't have a clue about - but that's the purpose of the experiment I want to try.
Thanks in advance for any help!
