Aurigma Forums
»
Graphics Mill
»
Discussions – Graphics Mill
»
Is it possible to make layers non visible using the PSD Addin
Rank: Member
Groups: Guest
Joined: 5/2/2007(UTC) Posts: 5
|
I have a scenario where I need two layers in the PSD, one to hold a picture with portrait proportions (called Month Image Portrait) and one to hold landscape pictures (called Month Image Landscape) Does anyone know if it's possible to hide or show layers based on criteria. Here's some code: Code:Aurigma.GraphicsMill.Bitmap photo = new Aurigma.GraphicsMill.Bitmap(stream);
if (photo.Width < photo.Height)
{
updatedLayers.Add("Month Image Portrait", photo);
}
else
{
updatedLayers.Add("Month Image Landscape", photo);
}
Ideally I'd like to hide whichever layer isn't being used - any ideas? Thanks in advance Peter Edited by user Tuesday, December 18, 2007 2:19:07 AM(UTC)
| Reason: Not specified
|
|
|
|
Rank: Advanced Member
Groups: Guest
Joined: 1/31/2005(UTC) Posts: 458
Was thanked: 5 time(s) in 5 post(s)
|
Hello Peter, I don't understand you quite clear. Advanced PSD Add-on is intended for extracting information from PSD. It has no facilities to render or change PSD file. Are you talking about rendering of some images within some PSD template? In that case you should extract all layers from PSD (e.g. both "Portrait" and "Landscape") and render necessary ones depending on your requirements (e.g. depending on image width/height ratio). |
|
|
|
|
Aurigma Forums
»
Graphics Mill
»
Discussions – Graphics Mill
»
Is it possible to make layers non visible using the PSD Addin
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.