LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 10-09-2013, 01:27 AM   #1
waddles
Member
 
Registered: Sep 2012
Posts: 372

Rep: Reputation: 1
Use gimp to take webcam picture


I would like to use GIMP 2.6 to take a picture using the webcam.
I have read the description FILE > CREATE > and select the device for the webcam. I do this and get a subwindow titled: "xsane 0.998 SN9C1XX PC Camera Video". In this subwindow are various sizing, coloring etc. options and a button for scan. When I press SCAN button I get: Failed to start scanner: Invalid argument.
All I want is for GIMP to create an image and put it on disk.
FWIW: I verified that the system (Slackware 13.37) was correctly configured for this driver and that the driver exists as a module.
Can someone step me thru the procedure to get the image at least displayed on the screen by GIMP? What did I do incorrectly to get that error?

Later... I repeated the above process but added changing Gray to Color. That created a window with what should probably have been the image but it was entirely black. I have been suspicious of this camera for a while and think now this proves the camera is toast. But would that contradict "lsusb" showing that the webcam was found? or is it a broken feature which is not sensed?
None the less, have I got the process correct now to create a webcam image?

Last edited by waddles; 10-09-2013 at 01:45 AM.
 
Old 10-09-2013, 03:08 AM   #2
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,568

Rep: Reputation: 2841Reputation: 2841Reputation: 2841Reputation: 2841Reputation: 2841Reputation: 2841Reputation: 2841Reputation: 2841Reputation: 2841Reputation: 2841Reputation: 2841
Try using xsane to capture your image, then you can manipulate it in GIMP.
 
3 members found this post helpful.
Old 10-10-2013, 01:21 AM   #3
waddles
Member
 
Registered: Sep 2012
Posts: 372

Original Poster
Rep: Reputation: 1
I believe the blackness is the image, i.e. camera is kaput!
Although I think I recall seeing xsane displayed somewhere in my attempts at processing. Since I am calling GIMP from an xwindows window manager, XFCE, wouldn't that indicate that xsane gets involved?
 
Old 10-10-2013, 08:23 PM   #4
Bourbon
Member
 
Registered: Dec 2011
Location: Dar es Salaam Tanzania
Distribution: Slackware 15.0, Linux Mint 22.1 Cinnamon, Endeavour OS KDE
Posts: 118

Rep: Reputation: 8
I have been following Allend's suggestion and it is perfectly working on Slackware 14.0 32 bit KDE; to be sure that your webcam works make a test on
http://mailvu.com/testCamera/TestYourWebCam.html
Bye
 
1 members found this post helpful.
Old 10-11-2013, 12:36 AM   #5
waddles
Member
 
Registered: Sep 2012
Posts: 372

Original Poster
Rep: Reputation: 1
Yes I agree I think Allend's description is correct but I was just saying that when I went thru that process all I got was the black field filling the image area which leads me to think the camera is toast.
 
Old 10-11-2013, 08:09 AM   #6
slackass
Member
 
Registered: Apr 2006
Location: SE Texas
Distribution: Slack64-15.0
Posts: 910

Rep: Reputation: 90
You might try vlc to see if the webcam is working. And then do a screen shot to save an image.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to capture picture from V4L2 webcam? weiweif Programming 10 08-06-2013 03:17 AM
How can i remove txt from picture using gimp? z007nice1 Linux - Newbie 1 09-07-2009 12:37 PM
How to install Gimp picture editing software? Stink Linux - Software 2 06-20-2009 07:10 AM
Can I Insert picture with Gimp? akihandyman Linux - Newbie 1 06-02-2007 06:23 AM
Webcam With Distorted Picture reveastbayray Linux - Hardware 0 08-29-2005 04:47 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:55 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration