Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. convert RAW data to grayscale bitmap

convert RAW data to grayscale bitmap

Scheduled Pinned Locked Moved The Lounge
graphicshelpquestion
4 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    Abbas_Riazi
    wrote on last edited by
    #1

    I write a simple application for grabbing data from an special scanner. The data is RAW grayscale and I want to convert it to bitmap. The width and height of image is known. Is there any body can help me do this? Any suggestion, hint? Best regards, A. Riazi

    N J 2 Replies Last reply
    0
    • A Abbas_Riazi

      I write a simple application for grabbing data from an special scanner. The data is RAW grayscale and I want to convert it to bitmap. The width and height of image is known. Is there any body can help me do this? Any suggestion, hint? Best regards, A. Riazi

      N Offline
      N Offline
      Nitron
      wrote on last edited by
      #2

      Can't you just use TWAIN and this[^] class? ~Nitron.


      ññòòïðïðB A
      start

      1 Reply Last reply
      0
      • A Abbas_Riazi

        I write a simple application for grabbing data from an special scanner. The data is RAW grayscale and I want to convert it to bitmap. The width and height of image is known. Is there any body can help me do this? Any suggestion, hint? Best regards, A. Riazi

        J Offline
        J Offline
        jan larsen
        wrote on last edited by
        #3

        A. Riazi wrote: The width and height of image is known. Didn't Heisenberg say that you can't know width and height of an image, and at the same time know the color depth? So, you're on an impossible mission there. A. Riazi wrote: Any suggestion, hint? For programming questions, use any other forum than The Lounge, and if you have to use The Soapbox, expect more of this but in a bit more explicit wording... "After all it's just text at the end of the day. - Colin Davies "For example, when a VB programmer comes to my house, they may say 'does your pool need cleaning, sir ?' " - Christian Graus

        A 1 Reply Last reply
        0
        • J jan larsen

          A. Riazi wrote: The width and height of image is known. Didn't Heisenberg say that you can't know width and height of an image, and at the same time know the color depth? So, you're on an impossible mission there. A. Riazi wrote: Any suggestion, hint? For programming questions, use any other forum than The Lounge, and if you have to use The Soapbox, expect more of this but in a bit more explicit wording... "After all it's just text at the end of the day. - Colin Davies "For example, when a VB programmer comes to my house, they may say 'does your pool need cleaning, sir ?' " - Christian Graus

          A Offline
          A Offline
          Abbas_Riazi
          wrote on last edited by
          #4

          The fact is I forgot to select the VC++ forum and when hit the submit button I press ESC to cancel it but may be I didn't succeed. However I posted this message to VC++ forum. And the BPP (bit per pixel) is 8 and I know the image is gray. I try to use CxImage but not succeed. The resulting image file can not be seen on ACDSee or other programs. Best regards, A. Riazi

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups