Jump to content

redknt42

Newbies
  • Posts

    3
  • Joined

  • Last visited

About redknt42

  • Birthday 01/01/1970

redknt42's Achievements

Newbie

Newbie (1/14)

  • First Post
  • Conversation Starter
  • Week One Done
  • One Month Later
  • One Year In

Recent Badges

0

Reputation

  1. Thanks, Pyrochild! The actual call to add a layer is this: doc.Layers.Add(new BitmapLayer(Surface.CopyFromBitmap()); and to convert a layer into a bitmap is this: BitmapLayer l = (BitmapLayer)doc.Layers[0]; Bitmap b = l.Surface.CreateAliasedBitmap(); which would have taken ages to figure out without your reply!
  2. I was wondering if somone could tell me the best way to add layers to the document object from a bitmap source, and also to retrieve layers int a bitmap for saving. i.e. bitmap b; Document document; document.layers.add(???(); b=document.layers.???; I could spend an hour or two digging through the code, but I am too lazy, especially as I am sure someone knows it off the top of their head. Thanks in advance!
  3. Hey, how 'bout a PPM file type? It's nearly useless outside of old-school DirectX object texturing, but it's such a simple format that it would be excellent to teach us Paint.NET newbies how to add new format support!
×
×
  • Create New...