new bitmap

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • =?Utf-8?B?cmFkdQ==?=

    new bitmap

    i need a bit of help with few lines of code.
    1. i have integer array a[500,500] = numbers from 1 to 256
    2. i have to create a 256 colours bitmap of 500x500 pixels, asign colours as
    matrix a.
    ex. bitmap at pixel at coordinates row 3 col 5 = colour number is a[3,5]
    and save it to disk as a 256 colour bitmap without any compresion as c:\a.bmp.
    no interface.
    i have microsoft visual c# 2008 express edition.
    help? thank you.
  • Peter Duniho

    #2
    Re: new bitmap

    On Wed, 13 Aug 2008 14:22:00 -0700, radu <radu@discussio ns.microsoft.co m>
    wrote:
    i need a bit of help with few lines of code. [...]
    What was wrong with the answers that were given the last time you asked
    this question? Why are you not following up in that thread rather than
    just repeating your question in a completely new thread?

    Suffice to say, a person who appears to have simply ignored previous
    answers to their questions is unlikely to find people interested in answer
    the same questions again.

    Pete

    Comment

    Working...