LWN: Comments on "The Grumpy Editor plugs in his camera" http://lwn.net/Articles/122993/ This is a special feed containing comments posted to the individual LWN article titled "The Grumpy Editor plugs in his camera". hourly 2 You forgot Camera.app http://lwn.net/Articles/129275/rss 2005-03-28T13:09:11+00:00 tarzeau It's really great, you should try it. <p> You can find it here: <a href="http://home.gna.org/gsimageapps/">Camera.app homepage</a> <p> Or even try it on this live CD: <a href="http://livecd.gnustep.org/">GNUstep Live CD</a> PTP is not an older way of talking to cameras http://lwn.net/Articles/125784/rss 2005-03-02T16:49:24+00:00 ekuns <p><i> The camera can also be instructed to use the "picture transport protocol" (PTP) mode, which is an older, specialized way of talking to cameras. </i></p> <p> The PTP protocol is newer than the USB mass storage protocol, and is a protocol specifically designed for imaging devices. If all you ever want to do is download images and delete images, then mass storage is fine. However, if you want to automate various camera features using your computer, then the PTP protocol is a non-proprietary standard that allows far more functionality than just downloading and deleting images. Using PTP, you can tell the camera to take photos, change camera settings, and so on. </p> <p> Other than this, it's a good article. </p> 48-bit http://lwn.net/Articles/125316/rss 2005-02-27T17:27:38+00:00 gvy There _were_ at least two such software packages.<br> <p> nip may be one of them, I don't remember the name of the second -- you could try too google up message in <a href="news://fido7.ru.linux">news://fido7.ru.linux</a> ("Alex Korchmar nip") -- he was asking this and got a few surprising answers last autumn or even winter.<br> The Grumpy Editor plugs in his camera http://lwn.net/Articles/125246/rss 2005-02-25T23:54:31+00:00 patman I like using the command line, and could not find any support for that with kimdaba.<br> <p> i.e. tag a photo with certain properties via command line and not via the gui.<br> The Grumpy Editor plugs in his camera http://lwn.net/Articles/125245/rss 2005-02-25T23:48:19+00:00 patman If your camera supports capture via gphoto2 and libgphoto2, you can just use:<br> <p> gphoto2 -I 30<br> <p> And take a picture every 30 seconds.<br> Thumbnail speed http://lwn.net/Articles/125225/rss 2005-02-25T20:56:59+00:00 grouch "But Nautilus and GThumb are so darn slow that it can make a grown man (me) cry: Opening a folder with, say, 100 images can take minutes (!) om my 1GHz machine before all image thumbnails are loaded."<br> <p> cd thumbnails/<br> qiv *.jpg<br> <p> mogrify http://lwn.net/Articles/125218/rss 2005-02-25T20:20:04+00:00 grouch <p><i> "Incidentally, I use flphoto to sort through pictures -- mainly just to turn them upright. One of its unusual merits is that it can losslessly rotate the pictures. That is, instead of reading and decompressing a jpeg, rotating it, and then re-encoding a new jpeg, it operates on the compressed jpeg data directly. Oddly, flphoto isn't in the Debian repository, so it's one of very few programs on my systems that I had to build myself." </i> <p> apt-get install imagemagick <p> You can then use mogrify to rotate your images, for example: <p> mogrify -compress lossless -rotate +90 myphoto.jpg <p> <a href="http://edge-op.org/links1.html#graphics">some links that may help</a> The Grumpy Editor plugs in his camera http://lwn.net/Articles/124346/rss 2005-02-20T13:21:20+00:00 smurf dcraw is a somewhat basic tool. Use ufraw.<br> <p> <a href="http://www.aei.mpg.de/~udif/UFRaw/">http://www.aei.mpg.de/~udif/UFRaw/</a><br> <p> (I'm the Debian maintainer.)<br> Re: Image management tools http://lwn.net/Articles/124338/rss 2005-02-19T20:28:13+00:00 ayeomans I agree there is risk of bloat if all these functions go into one tool. <br> <p> One reason I'd love to see a checklist is to see which tools complement each other well, and which overlap so much that one is redundant.<br> The Grumpy Editor plugs in his camera http://lwn.net/Articles/124289/rss 2005-02-18T21:37:46+00:00 roelofs <FONT COLOR="#440088"><I>But unfortunately there is no linux programm to handle these 48bit tiffs.</I></FONT> <P> What kind of handling do you need? The old version of NETPBM handled 16bps images in text mode just fine (and could be compiled to do some level of binary-mode support, IIRC); I'd be surprised if the new version has lost that capability. Of course, you'd have to handle EXIF stuff separately, and it can take some experimentation to get the right set of commands piped together, but it always seemed to work pretty well for me. Can't say that I've done any 16bps work in recent years, though. <P> Greg The Grumpy Editor plugs in his camera http://lwn.net/Articles/123995/rss 2005-02-17T10:34:43+00:00 stevan Regarding management if images, you may want to look at kimdaba. It <br> allows you to add a certain amount of metadata to your collection, and to <br> search on those fields. It could be viewed (pardon...) as being a little <br> limited, but for managing home collections seems a good addition. <br> <br> S <br> I prefer USB Mass Storage support http://lwn.net/Articles/123800/rss 2005-02-16T14:05:35+00:00 TheOneKEA I don't like using special UIs to get at my photos. My FujiFilm A340 has excellent USB Mass Storage support and works great with the Linux EHCI drivers. Plug it in, wait a few seconds, mount it, copy&amp;move&amp;edit, etc.<br> <p> UIs like these have their place, but IMO treating it like a disk partition and accessing it via the filesystem context seems more intuitive.<br> Thumbnail speed http://lwn.net/Articles/123768/rss 2005-02-16T13:19:12+00:00 eskild I take a good deal of photos; it's not uncommon for me to return home after some sort of event with several hundred pictures. Since my camera only has USB 1.1, I use the removable CF card for transfer to the computer; I typically transfer the entire contents of the CF and then browse the images on the harddrive.<br> <p> But Nautilus and GThumb are so darn slow that it can make a grown man (me) cry: Opening a folder with, say, 100 images can take minutes (!) om my 1GHz machine before all image thumbnails are loaded. That's just not good enough; virtually all "decent" image viewers on Windows beat the living s* out of their Linux equivalents: Opening the same folder takes seconds.<br> <p> Yes, I do realize that if I edit the image and use an app smart enough to leave the thumbnail alone, but dumb enough to not update it, then there's a mismatch between thumbnail and image. Well, then that's a bug in the app generating the revised image file, and we need to help the author fix it.<br> <p> So: If there's a thumbnail in a file, *use it*! And I don't care if it's of less resolution than Nautilus/GThumb/whatever deems appropriate. The user experience is king, and for someone like me speed is more important than quality (for thumbnails, not images, of course).<br> <p> Regards,<br> <p> /eskild.<br> The Grumpy Editor plugs in his camera http://lwn.net/Articles/123731/rss 2005-02-16T08:10:57+00:00 pauly ok, I think I've got the point now. And sorry for mixing up Canon and Adobe. <br> Regards, Martin <br> HAL http://lwn.net/Articles/123728/rss 2005-02-16T03:28:30+00:00 lakeland The problems you had with digikam are all solved by using HAL. <br> <br> Actually, I've been really impressed with HAL, I have a KVM switch which <br> causes my mouse to disappear (apparently windows has a bug which causes it <br> to stuff up if the mouse is removed, and the KVM switch works around this <br> in such a way as to confuse linux and require it to create a new mouse on <br> switch). At least, that's what I think happens, but I digress... With <br> HAL, the process is totally transparent -- I didn't even realise it was <br> happening until I booted an older debian install without HAL enabled and <br> it didn't work. <br> <br> The day that HAL is installed and running by default on all major distros <br> will be a good day. <br> The Grumpy Editor plugs in his camera http://lwn.net/Articles/123681/rss 2005-02-15T21:00:12+00:00 trutkin I had a very good experience with gthumb as well with my USB camera (Nikon 3200).<br> card reader dangers http://lwn.net/Articles/123677/rss 2005-02-15T20:42:14+00:00 gutschke If your camera has an orientation sensor, then you can use "jhead" with the "-autorot" option to automatically rotate pictures that need rotating.<br> <p> I usually do all my image processing through one big fully automated shell script. This takes care of most of what I need to do. And only a small select number of pictures ever need manual post processing.<br> Image management tools http://lwn.net/Articles/123675/rss 2005-02-15T20:32:22+00:00 skellba Irfanviewer is usable under WINE and works quite well and has all tools for organizing pictures. And it can rotate jpg lossless. Speed under WINE is very acceptable (even with an old 500MHz Pentium).<br> <p> Stefan Kell<br> The Grumpy Editor plugs in his camera http://lwn.net/Articles/123674/rss 2005-02-15T20:28:55+00:00 skellba regarding raw: look at "<a href="http://www.cybercom.net/~dcoffin/dcraw/">http://www.cybercom.net/~dcoffin/dcraw/</a>" I use dcraw for my Canon Powerhot G2 and it works very well. But sometimes you need some tweaking to get the colors right (white correction). Especially useful is the 16bit option for difficult pictures. But unfortunately there is no linux programm to handle these 48bit tiffs.<br> <p> Regards<br> <p> Stefan Kell<br> The Grumpy Editor plugs in his camera http://lwn.net/Articles/123663/rss 2005-02-15T19:18:12+00:00 jamesh <p>Being able to access raw image data is really a camera issue rather than Linux software issue, since most cameras don't save raw image files. If your camera is storing raw image files, you should be able to copy them off as easily as jpeg files.</p> <p>To display the raw images, you can use the <a href="http://www.cybercom.net/~dcoffin/dcraw/">dcraw</a> tool (or a program embedding it, such as the gimp plugin you are probably thinking of).</p> <p>As for DNG, it is an Adobe spec and its adoption is probably still a way off (if it is adopted at all).</p> The Grumpy Editor plugs in his camera http://lwn.net/Articles/123621/rss 2005-02-15T18:24:25+00:00 pauly What about access to the raw picture data? <br> The more ambitious camera people keep fussing about this, <br> but most of them seem to use some special plugin for Photoshop <br> GIMP or whatever. Is DNG (by Canon) going to become <br> a _standard_, and are generic tools (e.g. raw files as mass storage) <br> available? <br> <br> Cheers, Martin <br> card reader dangers http://lwn.net/Articles/123616/rss 2005-02-15T18:12:57+00:00 dhess <blockquote> <i> Incidentally, I use flphoto to sort through pictures -- mainly just to turn them upright. One of its unusual merits is that it can losslessly rotate the pictures. That is, instead of reading and decompressing a jpeg, rotating it, and then re-encoding a new jpeg, it operates on the compressed jpeg data directly. </i> </blockquote> Maybe you already knew this, but jpegtran also does lossless rotation, and it's available in Debian's libjpeg-progs. In fact, all of jpegtran's image processing is performed on the DCT blocks. Re: Image management tools http://lwn.net/Articles/123589/rss 2005-02-15T15:51:32+00:00 mrshiny The thing is, photo management is a special kind of file management. It IS a hybrid of file management and photo editing. I spent a few hours yesterday sorting, rotating, cropping, resizing, and renaming photos, and I've come to the conclusion that a special tool is needed. Gimp is too generic; konqueror by itself is not enough. Some kind of in- between is needed.<br> <p> I'd like to see a good add-on to Gimp that lets you open a bunch of files from the camera (or disk), rename the files according to some template (my photos are named 'YYYYMMDD-HHmm description.jpg'), rotate, crop, resize, adjust brightness/contrast/colors, save the "finished" image to one directory and the original to a backup directory (I keep all originals: these are like 'negatives': you don't crop the negative, you crop the photo). This process could be greatly automated but it's not generic functionality that belongs in EITHER Gimp nor Konqueror (or whatever file manager you use). So, yes, a special photo management app seems like a good idea. Ideally, it would re-use code from other apps, but it would still be a separate app.<br> The Grumpy Editor plugs in his camera http://lwn.net/Articles/123588/rss 2005-02-15T15:35:34+00:00 mrshiny My Sony Camera, which is from 2000, supports only mass-storage. I'm actually surprised that there are other Sonys that don't support mass-storage.<br> The Grumpy Editor plugs in his camera http://lwn.net/Articles/123567/rss 2005-02-15T13:36:40+00:00 kleptog Wow, the concept of using a program to extract photos from a camera seems a little old fashioned to me. I plug mine in the USB port and use "cp -a" to copy the files off.<br> <p> I then use bins-edit-gui to give each image a description and orientation and then have a Makefile run bins to generate all the thumbnails and directories, HTML pages, EXIF extraction and more. Yes, it's lossless rotation.<br> <p> The only problem is that once you have a few thousand photos it can take a while to process, but you can eat dinner in the meantime.<br> Re: Image management tools http://lwn.net/Articles/123548/rss 2005-02-15T12:55:54+00:00 cantsin You wrote: <blockquote> <ul><li>Thumbnail + filmstrip preview of images <li>Image rename based on pattern/date/time/etc <li>Lossless rotation by 90/180/270 degrees - including the thumbnail image in a JPEG<li>[...]</ul></blockquote> No offense intended, but this points out for me why GUI applications get so bloated, try to do everything in one place and one app. All the functionality you describe can be easily had and is more elegantly available via the commandline toolchain of gphoto2, mmv, convert and some shell scripting syntax. [It would be nice if there existed GUIs which allowed users the same degree of chaining together small tools.] If a photo managing application would implement all the functions you propose, it would become a redundant hybrid of The Gimp and a graphical filemanager like konqueror or nautilus.<P>Florian Image management tools http://lwn.net/Articles/123483/rss 2005-02-15T10:17:24+00:00 ayeomans As a suggestion for your future review, could you add a check-list of some basic functions, such as:- <ul> <li>Thumbnail + filmstrip preview of images</li> <li>Image rename based on pattern/date/time/etc</li> <li>Lossless rotation by 90/180/270 degrees - including the thumbnail image in a JPEG</li> <li>Lossless cropping of JPEGs</li> <li>Preservation, display and editing of EXIF information</li> <li>Good printing facilities, including</li> <li>..standard-size templates for US and Europe paper sizes</li> <li>..templates to include mixed sizes to maximise paper use</li> <li>..ability to select variable numbers of different photos</li> <li>..ability to arbitrarily size and position pictures on paper</li> <li>Save as web page option, with thumbnails</li> <li>Image correction facilities, including</li> <li>..rotation and cropping</li> <li>..colour correction</li> <li>..red-eye removal</li> </ul> Including the better Windows tools such as Picasa and Irfanview in the comparison would be informative! The Grumpy Editor plugs in his camera http://lwn.net/Articles/123484/rss 2005-02-15T10:00:42+00:00 carlos "then your editor put the camera into the PTP mode, and after tweaking <br> some permissions under /proc/bus/usb, gtkam was able to detect it" <br> <br> <br> Could you elaborate on these permissions issue, please? <br> This weekend I tried to use a Sony DSC-V1 (PTP mode), <br> after installing the new libgphoto2 2.1.5, and gphoto2 2.1.5, <br> <br> <br> digikam happily lists the camera, but them gives <br> a "invalid parameter error". gphoto2 also gives an error <br> "io error: invalid parameter" <br> <br> <br> This looks as it could be related with wrong permissions... <br> The Grumpy Editor plugs in his camera http://lwn.net/Articles/123482/rss 2005-02-15T08:46:33+00:00 johill Take a look at zenity then -- it provides you with a way to display a gtk2 progress bar gui from the command line or a script.<br> Digikam download dialog does more than that http://lwn.net/Articles/123479/rss 2005-02-15T08:14:21+00:00 hippy Digikam's download dialog has some nice features that you do not mention. <br> <br> It can automatically rename photo files as it downloads them. The names <br> can be based on a simple pattern and/or contain the date and time that the <br> photo was taken. This can be very useful for avoiding duplicate file names <br> when the camera reuses a name. <br> <br> The dialog also provide access to the full image and to any EXIF data that <br> the camera records. <br> <br> In addition, if the camera records orientation information in the image, <br> the image can be automatically rotated as it is downloaded. <br> <br> I look forward to your full review of image management applications in the <br> near future. I hope that you manage to build an up to date version of <br> digikam for the review, as more image editing features have been appearing <br> in the CVS version in resent weeks. <br> <br> Regards <br> <br> Richard <br> <br> one more thing http://lwn.net/Articles/123478/rss 2005-02-15T08:02:16+00:00 ncm I have just tried gthumb 2.6.3, and am now ready to abandon flphoto.<br> card reader dangers http://lwn.net/Articles/123477/rss 2005-02-15T06:21:49+00:00 ncm I used to unplug the SmartMedia memory module from my camera and plug it into a PCMCIA card. It was fine until the PCMCIA card started destroying memory modules. Now I use only USB, and never remove the card from the camera. <p> Incidentally, I use flphoto to sort through pictures -- mainly just to turn them upright. One of its unusual merits is that it can losslessly rotate the pictures. That is, instead of reading and decompressing a jpeg, rotating it, and then re-encoding a new jpeg, it operates on the compressed jpeg data directly. Oddly, flphoto isn't in the Debian repository, so it's one of very few programs on my systems that I had to build myself. <p> Of course I never tried to get flphoto to work the camera itself. Rather, relying on an automount entry with a two-second timeout, I plug in the camera, "<tt>cp -p /camera/*</tt>" to an appropriate directory (usually named, e.g., 20050215), wait just a moment, and unplug. <p> Here's the line in /etc/auto.rmv: <blockquote> <tt>camera -fstype=vfat,ro,noatime,user,dmask=0 :/dev/sda1</tt> </blockquote> and in /etc/auto.master: <blockquote> <tt>/rmv /etc/auto.rmv --timeout=2</tt> </blockquote> (Note that the syntax for the last bit changed between releases of the automount daemons, without notice). Of course I have a convenient symbolic link from <tt>/camera</tt> to <tt>/rmv/camera/dcim/100olymp</tt>, which is how my Olympus presents its files once mounted. <p> It didn't take all day to set this up, but I did waste a half hour on discovering that "<tt>--timeout 2</tt>" had stopped working, and what to do instead. Otherwise, the whole project took 15 minutes. It took a lot longer to figure out that all the GUI programs I could apt-get (at the time) were useless. I wonder if a hotplug mount script would be cleaner than relying on the buggy autofs driver. The Grumpy Editor plugs in his camera http://lwn.net/Articles/123473/rss 2005-02-15T04:38:39+00:00 joey Agreed; I've set up family's machines so then they can go manage the pics using nautilus.hey plug in the camera, get an indicator when the command line app is done transferring them to an appropriatly tiemstamped directory, and<br> then they can go manage the pics using nautilus. This turned out to be much easier to teach than yet another (and IIRC sometimes unstable) GUI application. Only way to improve on it really would be a graphical progress indicator.<br> The Grumpy Editor plugs in his camera http://lwn.net/Articles/123466/rss 2005-02-15T01:04:45+00:00 Thalience He mentions that it does support the USB mass storage device standard. As such, I'm baffled that he insisted on useing the PTP mode. <br> <p> In my view, gphoto2 and friends are best treated as a fallback solution for cruddy cameras that don't support mass storage device access. <br> The Grumpy Editor plugs in his camera http://lwn.net/Articles/123461/rss 2005-02-14T23:47:10+00:00 SiB "There should be no need for separate, specialized applications to interface with a digital camera."<br> <p> What I'd like to do with my camera is to hook it up to the USB port and have the computer take pictures in regular intervals. Or my son should not need to run around the scene for each picture in his lego movies, but can just hit a key on the laptop or something, after adjusting lego actor's move. <br> <p> My camera does support PTP, but it does not allow the computer to take pictures :-(<br> The Grumpy Editor plugs in his camera http://lwn.net/Articles/123454/rss 2005-02-14T22:56:57+00:00 cantsin The article could also mention that <ul><li>all libgphoto2 functionality can be accessed via the commandline tool "gphoto2". In many cases, using "gphoto2 --get-all-files" or a custom script (which can, for example, do automatic corrections on images via ImageMagick/convert) is more efficient than using one of the GUI tools built on top of libgphoto2<li>for graphical management of photos on a camera, existing GUI file managers like konqueror, nautilus and rox often are superior. All of them offer inline preview of images and can of course access cameras that speak the USB mass storage protocol; konqueror in addition can talk to libgphoto2 devices via the "camera://" URI.</ul>-F flphoto http://lwn.net/Articles/123444/rss 2005-02-14T22:08:38+00:00 jabby I use Mandrake at home and flphoto is what I use to browse, download and delete images (and movies) on my Canon PowerShot S400. You just put the camera in review mode and turn it on and hotplug detects it, puts a nifty little 'flphoto' icon on the desktop, and launches flphoto. Then I hit Ctrl-C (unintuitive, I know) to bring up the "(Import from) Camera" dialog. It automatically finds my camera and starts displaying all of the available files in a horizontal viewer. I then browse to a download folder (or create one), and click download.<br> <p> The interface has a Mac OS X / Aqua look to it, complete with a pleasing progress bar as each file is transferred. It automatically creates thumbnails in a hidden subfolder. It contains some features for browsing the downloaded files at full resolution.<br> <p> I find it quite adequate. As someone who prefers the fastest, lightest program for the task, one that does not require KDE or GNOME libraries is perfect. It also means that I can recommend it to people with older, slower systems.<br> <p> Jason<br> <p> The Grumpy Editor plugs in his camera http://lwn.net/Articles/123437/rss 2005-02-14T21:29:42+00:00 kay my first impression was "Oh no, he buy a Sony camera!" because of the lack of a USB mass storage emulation in the past. you had to install windows only drivers to acces the sony only memory stick inside the camera or buy a card reader.<br> <p> I'm glad to hear that sony supports USB mass storage now, but I refuse to buy Sony products until they support not only their own standards.<br> <p> Kay<br> <p> <p> The Grumpy Editor plugs in his camera http://lwn.net/Articles/123436/rss 2005-02-14T21:23:03+00:00 jwb I find this is the best way. I just pop the CF out of my Canon and into the front-mounted reader on my Shuttle machine. It's so much easier than using a camera-specific interface, and Nautilus provides a nice preview function so I quickly pick the photos to copy.<br> The Grumpy Editor plugs in his camera http://lwn.net/Articles/123414/rss 2005-02-14T20:35:42+00:00 jsbarnes I've been pretty happy browsing my camera contents with Konqueror under <br> KDE. It's pretty easy to configure new cameras under the KDE control <br> center, assuming your camera is listed. Once that's done, you can just <br> use camera:/ in the Location bar of Konqueror to get at everything. <br>