picturebox

  1. C

    BayerBG8 to RBG image and putting in PictureBox

    I am having a lot of trouble converting a BagerBG8 byte array to RGB and then populating the RGB image into a pictureBox. I believe the code below solves the transformation to RGB but I cannot get that new byte array to fit inside the pictureBox. int src_width = 3840; int src_height = 2748...
  2. V

    Question Zoom Image in the PictureBox where user make selection

    Gurus, I have a c# windows form application. There is a PictureBox within a Panel. An image is loaded in the PictureBox. I want the image to be zoomed the area user selects. The user will select by dragging using the left mouse button. What i did is on the mouse down event, i saved the x/y in...
  3. S

    Question Picturebox not refresh when the form is in background (not focus)

    Purpose: Mirror a window of an external process (directx game) by capturing images from this window and presenting the images in a picturebox using a timer. Problem: When my application is in focus, everything happens fine! But if I switch the focus to the Directx Game window the picturebox...
  4. H

    Question Random Circles in Picture Box

    Hello! I would love to know how can i draw circles in random positions but without them getting in the way of each other. I want them to be seperated at least 50 pixels from each other but without them leaving the boundaries of the Picture Box. Please help me out with this i would be so...
  5. A

    Question draw circle

    Hi I want to create function to draw circle put using this : nx = x + r *Math.Sin(th * 22 / 7 / 180); ny = y + r2 *Math.Cos(th * 22 / 7 / 180); and draw them in picture box using SetPixel method.
  6. F

    Save a picture from pictureBox to my PC

    Hi, I have a picture showing in a "pictureBox1" in my program, does anyone know how to save the picture from a "pictureBox" to the PC when a button is pressed?
Top Bottom