Questions tagged [capture]

capture is the process of converting a set of pixels on a screen into a bitmap image stored in memory

1457 questions
0
votes
1 answer

Screen capture using native APIs?

Are there any native APIs (C code) in Ice Cream Sandwich that I can use to capture the entire screen? I need it to be done inside a C program, not using adb or Java interfaces.
0
votes
4 answers

Unable to target div with JS

I am trying to target a div nested within some php with js, but no matter what I do, I can't seem to target it. Here is the code for reference: php: echo "
  • "."
    ". "" .…
    No_name
    • 2,732
    • 3
    • 32
    • 48
  • 0
    votes
    1 answer

    Issuse with the Winformexample SharpPcap Addapter

    How do I refresh the list of adapters in C#? Say the following happens: List device and I see the device. I unplug and replug in WITHOUT starting the software. the device changes from: \\.\airpcap00 AirPcap USB wireless capture adapter nr. 00…
    Karl
    • 1
    • 2
    0
    votes
    1 answer

    JMF java.util.NoSuchElementException not see my webcam

    I want to capture image using my webcam in Java on ubuntu 11.10 Vector deviceList = CaptureDeviceManager.getDeviceList( new RGBFormat()); System.out.println(deviceList.toString()); //gets the first device in deviceList …
    user1291468
    • 139
    • 1
    • 3
    • 7
    0
    votes
    1 answer

    Ruby Regex: Return multiple matches after a pattern

    I've googled for a good bit now and I can't figure out this regex on my own. I'd like to pick up all the days of the week that occur between the 'Validation day:' and 'all_exception_rules' text: String to search: --- !ruby/object:IceCube::Schedule…
    rringler
    • 61
    • 7
    0
    votes
    1 answer

    How can I capture all outgoing requests to a port to a port on my local machine?

    I'd like to capture all attempts to connect on port 11111 and redirect them to a java application running on my local machine. I'm planning on using this to map web requests. So I'm wanting to type http://google.com:11111 into my browser. Then have…
    Programming Guy
    • 7,259
    • 11
    • 50
    • 59
    0
    votes
    1 answer

    Method to capture text in a third party application's window

    This question is aimed for either Windows or Linux platforms. It's a general question that may come across as someone with ill intent, but that is not the case. I would like to know if there is programmatic method to read the text being display in a…
    pilcrowpipe
    • 2,528
    • 6
    • 29
    • 41
    0
    votes
    1 answer

    How to see local traffic sent by a program to a local mySQL database?

    No matter what I do, I can't seem to make it connect. I can't decompile it; so it'd be very helpful to see what it sends. MySQL Workbench logs some stuff but doesn't seem to have very verbose logging for every attempt to connect, for instance.
    dsp_099
    • 5,801
    • 17
    • 72
    • 128
    0
    votes
    1 answer

    DirectShow VB.net can't change recording format

    I'm using direct show to try and capture a webcam stream in to my vb.net program. Heres the subroutine running which works: Private Sub CaptureVideo() Dim hr As Integer = 0 Dim sourceFilter As IBaseFilter = Nothing …
    MissCoder87
    • 2,669
    • 10
    • 47
    • 82
    0
    votes
    2 answers

    Is there a way to intercept all http, https traffic

    I have used a lot of parent control software but none of them is perfect. I am thinking to write my own. I want to use either C++ or java or combination of two. My main issue is how to capture all traffic originating from browser. I want to do it in…
    -1
    votes
    1 answer

    STM32L151 CubeIDE GPIOPIN AFIO14 TIMX_IC2

    How to use AFIO14 for pin multiplexing in stm32l151 chip. The reason for asking this question is that I want to use the input capture function of the timer, but the channel pin of the timer is occupied by other devices. Is there a way to use PC13 as…
    Kuno
    • 1
    • 1
    -1
    votes
    1 answer

    What is the regex expression to find everything between --[[ and ]]?

    I'm trying to clean up some Lua code files using a Python script and regex by removing comments. I'm using the following regular regular expression to find multiline comments: "--\[\[[^]\]]+" For example: --[[ This is a comment on multiple…
    applepie
    • 133
    • 1
    • 13
    -1
    votes
    1 answer

    R - Extract String between two strings

    I want to take a string variable that has a lot of text in it, search until it finds a match "UpperBoundery" and then searches until it sees text after that upper boundary until it finds another match "LowerBoundery" then return to me the text that…
    Steven
    • 150
    • 1
    • 2
    • 14
    -1
    votes
    2 answers

    Camera4Kivy capture video

    I was trying to capture a video in kivy/android using camera4kivy. but it seems that this function won't work. I tried capture video with location, subdir and filename (kwarg**) but still nothing happend. from kivy.app import App from…
    -1
    votes
    1 answer

    How to capture an output image generated by the box function of python visual module?

    I am using the box() function provided by the visual module of Python. I want to capture the output image rendered by the display() function as a .png file. I am using scene.capture('test4312'). But getting an error "AttributeError: 'display' object…