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. Hi,

Hi,

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

    Hi, I've created an application to save a picture from a webcam as a BMP, but this image is saved at 320x240 pixels. What i would like to do is after saving this image, have vb open it up in a non visible picture box if need be, and save then crop at 162*197. i have used avicap32.dll and user32.dll . now plz tell me about croping.

    Regards Msaqlain

    C 1 Reply Last reply
    0
    • S saqibaba

      Hi, I've created an application to save a picture from a webcam as a BMP, but this image is saved at 320x240 pixels. What i would like to do is after saving this image, have vb open it up in a non visible picture box if need be, and save then crop at 162*197. i have used avicap32.dll and user32.dll . now plz tell me about croping.

      Regards Msaqlain

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      I just answered this question, did you try what I told you before asking it again ? You don't need those dlls, all you need to do is redraw the image section you want on a smaller bitmap.

      Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )

      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