Re: Graphics object for 8 bit Bitmap?

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance




Here is a good article on creating 8bit bitmaps in C#. You cannot use the graphics object and have to use lock and unlock methods or create a byte array and use the overloaded bitmap constructor that takes the pointer to the byte array.

http://www.iter.dk/dotnet/image/
---
Posted via DotNetSlackers.com
.



Relevant Pages

  • Re: Bitmap from buffer to clipboard
    ... > My 2D array contained many bitmaps. ... All the bitmaps were in one array. ... '*** Requires a picture box on the form at least 3 pixels high.. ... ByRef lpBits As Any, ByRef lpBI As Any, ByVal wUsage As Long) As Long ...
    (microsoft.public.vb.general.discussion)
  • Re: [patch 1/2] ufd v1 - unsequential O(1) fdmap core
    ... Latencies of get_unused_fdfor huge processes ... It's an array with free slots chained by a double linked ... still need two bitmaps, so you'd still need the out-of-fdmap.c/h code. ... the extra pointer can nicely fit other per-allocated-fd flags w/out adding ...
    (Linux-Kernel)
  • Re: CreateCursor
    ... CDIBSection class derived from CBitmap. ... you have a buffer that has the bitmaps bits in it? ... What I was asking was how to use a DIBSection pointer in CreateCursor. ... I have an array of DIBSection pointers and am testing the use of the ...
    (microsoft.public.vc.mfc)
  • Re: pointer aus bytearrays in csharp ?
    ... In einer SQL-Server Datenbank stehen in einem varbinary-Feld ... Schleife einzeln auslesen kann. ... bitmaps", wobei "bitmaps" jeweils für einen Datenbankeintrag steht. ... welches ich dann als Zeiger an ein Array anfügen muss. ...
    (microsoft.public.de.german.entwickler.dotnet.csharp)
  • TreeView and Add an Array of Images
    ... I have an array of 16x16 bitmaps. ... The problem is the method does not 'break out' the bitmaps. ... ImageList images = new ImageList; ... TreeView tree = new TreeView; ...
    (microsoft.public.dotnet.languages.csharp)