Welcome to LEAD Support Forum Login | Register | Faq  

    LEAD Support Forum
  Resource to find answers and post technical questions about LEAD products.
Search    
   

How to save opened document in .jp2 format using Photoshop script
Started by nakulsanyashi at 12-20-2006 2:50. Topic has 1 replies.

Print Search « Previous Thread Next Thread »
  12-20-2006, 2:50
nakulsanyashi is not online. Last active: 12/20/2006 7:32:08 AM nakulsanyashi

Not Ranked
Joined on 12-20-2006
Posts 1
How to save opened document in .jp2 format using Photoshop script
Reply Quote

Hi,

I want to save document using Photoshop scripting in JP2 format using your LEAD JPEG 2000 plug-in.

I have tried a lot but, I did not get solution.

Following is the code for how I am saving document in JPEG. I want to modify this code for JP2:

 

saveFile = new File(PATH);

 

saveOptions =new JPEGsaveOptions();

saveOptions.embedColorProfile = true;

saveOptions.formatOptions = FormatOptions.STANDARDBASELINE;

saveOptions.matte = MatteType.NONE;

saveOptions.quality = 12;

saveOptions.scans = 3;

 

activeDocument.saveAs(saveFile, saveOptions, true, Extension.LOWERCASE);

 

For JP2 format I have to modify saveOptions

Please suggest.

 

Thanks and Regards,

Nakul Sanyashi

affinityEXPRESS

 


   Report 
  12-20-2006, 11:21
Adnan Ismail is not online. Last active: 10/8/2008 8:10:14 AM Adnan Ismail



Top 10 Posts
Joined on 07-31-2006
Posts 1,223
Re: How to save opened document in .jp2 format using Photoshop script
Reply Quote

Nakul,

Our engineers have not used or tested our plug-ins with PhotoShop scripting, so we don't have information on whether it could work or not, and how it might work if it could.

However, what we know is that the JPEG2000 options and the JPEG2000 format in general have no direct link to the JPEG format. They are 2 distinct file formats. This means whatever the JPEGsaveOptions() identifier you're using is, I don't think it has anything to do with JPEG2000 or our plug-ins.


Adnan Ismail
LEADTOOLS Technical Support

   Report 
Post
LEAD Support Fo... » Enduser » Photoshop Plugi... » How to save opened document in .jp2 format using Photoshop script

Powered by Community Server, by Telligent Systems