LinuxQuestions.org
Review your favorite Linux distribution.
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, 02: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 02:45 AM.
 
Old 10-09-2013, 04:08 AM   #2
allend
Senior Member
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware-current
Posts: 3,520

Rep: Reputation: 876Reputation: 876Reputation: 876Reputation: 876Reputation: 876Reputation: 876Reputation: 876
Try using xsane to capture your image, then you can manipulate it in GIMP.
 
3 members found this post helpful.
Old 10-10-2013, 02: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, 09:23 PM   #4
Bourbon
Member
 
Registered: Dec 2011
Location: Windhoek - Namibia
Distribution: Slackware 14.1 KDE 32 bit
Posts: 32

Rep: Reputation: Disabled
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, 01: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, 09:09 AM   #6
slackass
Member
 
Registered: Apr 2006
Location: SE Texas
Distribution: Slack64-C ML
Posts: 890

Rep: Reputation: 78
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 04:17 AM
How can i remove txt from picture using gimp? z007nice1 Linux - Newbie 1 09-07-2009 01:37 PM
How to install Gimp picture editing software? Stink Linux - Software 2 06-20-2009 08:10 AM
Can I Insert picture with Gimp? akihandyman Linux - Newbie 1 06-02-2007 07:23 AM
Webcam With Distorted Picture reveastbayray Linux - Hardware 0 08-29-2005 05:47 PM


All times are GMT -5. The time now is 12:14 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration