Welcome to LEAD Support Forum Login | Register | Faq  

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

Re: Save PSD file with layers turned off (V14.5 C#)
Started by jonny at 07-14-2008 12:13. Topic has 4 replies.

Print Search « Previous Thread Next Thread »
  07-14-2008, 12:13
jonny is not online. Last active: 7/14/2008 4:02:30 PM jonny

Not Ranked
Joined on 07-14-2008
Posts 5
Save PSD file with layers turned off (V14.5 C#)
Reply Quote
Hi,

Does anyone know how to turn off layers when saving a PSD file?
It seems like a simple function, but I could not find the right property in v14.5 C# APIs.

what we want to do is to generate multi-layer PSD file with certain layers hidden, so Photoshop can recognize the hidden layer and not show them.

thanks in advance.

-Jonny

   Report 
  07-15-2008, 11:47
Adnan Ismail is not online. Last active: 1/6/2009 4:12:02 PM Adnan Ismail



Top 10 Posts
Joined on 07-31-2006
Posts 1,367
Re: Save PSD file with layers turned off (V14.5 C#)
Reply Quote
Jonny,

LEADTOOLS allows you to control 2 properties of the layer that are related to transparency. These are:
- The CodecsPsdLayerInfo.MaskImage allows setting the transparency of each pixel in the layer.
- The CodecsPsdLayerInfo.Opacity Property Property specifies a value that determines how transparent the entire layer is.


Adnan Ismail
LEADTOOLS Technical Support

   Report 
  07-15-2008, 13:34
jonny is not online. Last active: 7/14/2008 4:02:30 PM jonny

Not Ranked
Joined on 07-14-2008
Posts 5
Re: Save PSD file with layers turned off (V14.5 C#)
Reply Quote
Adnan,

Thanks for your reply!

I know the MaskImage and Opacity property, but I cannot use them, since in our application, our image already uses Opacity and MaskImages.

What I want to have is a property that can get and set the PSD layer visible property.

-Jonny
   Report 
  07-15-2008, 13:38
jonny is not online. Last active: 7/14/2008 4:02:30 PM jonny

Not Ranked
Joined on 07-14-2008
Posts 5
Re: Save PSD file with layers turned off (V14.5 C#)
Reply Quote
Correction:
What I want to have is a property that can get and set the PSD layer visible option just as in Photoshop layers palette.

BTW: We are trying to upgrade to V15 version, if V15 has this support, please also let me know.

thanks

-Jonny


   Report 
  07-16-2008, 11:11
Adnan Ismail is not online. Last active: 1/6/2009 4:12:02 PM Adnan Ismail



Top 10 Posts
Joined on 07-31-2006
Posts 1,367
Re: Save PSD file with layers turned off (V14.5 C#)
Reply Quote
Jonny,

This feature is not available in LEADTOOLS. If you would like me to send a feature request to our engineers asking them to add it in future versions of LEADTOOLS SDK, please send a message to support@leadtools.com from a valid email address and mention this post.
Adnan Ismail
LEADTOOLS Technical Support

   Report 
Post
LEAD Support Fo... » Developer » File Formats » Re: Save PSD file with layers turned off (V14.5 C#)

Powered by Community Server, by Telligent Systems