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. General Programming
  3. Visual Basic
  4. Capture a monochrome image of panel control

Capture a monochrome image of panel control

Scheduled Pinned Locked Moved Visual Basic
graphicstutorial
7 Posts 2 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.
  • G Offline
    G Offline
    gwittlock
    wrote on last edited by
    #1

    I would like to know how to do a scren capture to a (png or other image format) of a panel control. if we assume that we have a panel control and in the panel is some graphics and the background of the panel is black. I would like to capture the panel but have the back ground white. I do want to capture everything in a specific panel control I just want it black and white. Does anyone have a snippet that will capture the panel control in black and white

    L 1 Reply Last reply
    0
    • G gwittlock

      I would like to know how to do a scren capture to a (png or other image format) of a panel control. if we assume that we have a panel control and in the panel is some graphics and the background of the panel is black. I would like to capture the panel but have the back ground white. I do want to capture everything in a specific panel control I just want it black and white. Does anyone have a snippet that will capture the panel control in black and white

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      Take a look at some of these articles[^].

      G 1 Reply Last reply
      0
      • L Lost User

        Take a look at some of these articles[^].

        G Offline
        G Offline
        gwittlock
        wrote on last edited by
        #3

        Thanks for the list of options. I have been looking at some of those already. I just can't seem to find a way to capture in monochrome. I appreciate your help

        L 1 Reply Last reply
        0
        • G gwittlock

          Thanks for the list of options. I have been looking at some of those already. I just can't seem to find a way to capture in monochrome. I appreciate your help

          L Offline
          L Offline
          Lost User
          wrote on last edited by
          #4

          That's a different issue, you need to find samples that explain how to convert colours to grayscale.

          G 1 Reply Last reply
          0
          • L Lost User

            That's a different issue, you need to find samples that explain how to convert colours to grayscale.

            G Offline
            G Offline
            gwittlock
            wrote on last edited by
            #5

            Ok I will look further

            L 1 Reply Last reply
            0
            • G gwittlock

              Ok I will look further

              L Offline
              L Offline
              Lost User
              wrote on last edited by
              #6

              gwittlock wrote:

              Ok I will look further

              You'll get the same answer. If you capture, you capture what is - if you want it to be monochrome, you convert it yourself, as it is not part of capturing.

              Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^]

              G 1 Reply Last reply
              0
              • L Lost User

                gwittlock wrote:

                Ok I will look further

                You'll get the same answer. If you capture, you capture what is - if you want it to be monochrome, you convert it yourself, as it is not part of capturing.

                Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^]

                G Offline
                G Offline
                gwittlock
                wrote on last edited by
                #7

                I understand that. That is what a meant by looking further as in "looking further into the problem Now that I know it does not have to do with capture" Richard MacCutchan gave me articles to look at and told me it had nothing to do with capturing. To me that was useful in getting to a resolution of my problem.

                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