Welcome to Dream.In.Code
Getting C# Help is Easy!

Join 132,494 C# Programmers for FREE! Get instant access to thousands of C# experts, tutorials, code snippets, and more! There are 1,061 people online right now. Registration is fast and FREE... Join Now!




c# photoshop style layers

 
Reply to this topicStart new topic

c# photoshop style layers, A request for advice on how to implement photoshop styled layers in a

knightyknight
post 6 Sep, 2008 - 03:49 AM
Post #1


New D.I.C Head

*
Joined: 6 Sep, 2008
Posts: 5


My Contributions


Hi all

I am developing an image processing application in C# with the intension to include layer support such as that offered by applications such as Photoshop and Paintshop Pro but i'm not entirely sure the best way of going about it, at the moment I am representing each layer as a bitmap object within an ImageLayer class with thh intention of combining these bitmaps at render time to generate the current image. Does anyone know a high performance way of achieving pixel blending of each of these layers and/or colour masking. At the moment I am going down the "unsafe" locked bitmap route

I realise this is a bit of a funny request and I am not really used to asking for help (very stubborn) but any advice would be much appreciated?

PS. I aim to change which is why I joined this community!
User is offlineProfile CardPM

Go to the top of the page

jacobjordan
post 6 Sep, 2008 - 09:04 AM
Post #2


class Me : Perfection

Group Icon
Joined: 11 Jun, 2008
Posts: 1,115



Thanked 22 times

Dream Kudos: 1575
My Contributions


Here is an article you may find useful.
User is offlineProfile CardPM

Go to the top of the page

gbertoli3
post 6 Sep, 2008 - 09:51 AM
Post #3


DIC at Heart + Code

Group Icon
Joined: 23 Jun, 2008
Posts: 1,026



Thanked 16 times

Dream Kudos: 950
My Contributions


Great Find Jacob!

EDIT:

I think what Photoshop does is...
Each Layer is actually it's own Image / Bitmap. So each time you hide a layer you are really making the Image / Bitmap Invisible.

Hope this helps

This post has been edited by gbertoli3: 6 Sep, 2008 - 12:09 PM
User is online!Profile CardPM

Go to the top of the page

Fast ReplyReply to this topicStart new topic
Time is now: 11/22/08 05:01PM

Live C# Help!

C# Tutorials

Reference Sheets

C# Snippets

Bye Bye Ads

Free DIC T-Shirt

T-Shirt Example

Related Sites

Monthly Drawing

Thumb Drive

Partners

Top Contributors

Top 10 Kudos This Month