User: Password:
|
|
Subscribe / Log in / New account

The Grumpy Editor plugs in his camera

This article is part of the LWN Grumpy Editor series.
Your editor has finally acted to bring an end to an annual embarrassment. Each year, at the Kernel Summit, the entire group is brought together for a photograph. Most digital cameras can do a reasonable job of taking a portrait, but getting a reasonable image of some 70 people all together is another story. Your editor, possessing a camera of the "other story" variety, has been forced to post grainy, second-rate pictures of a first-rate crowd, only to be upstaged by attendees with far superior equipment. To be absolutely sure that he will not be shamed this year, your editor went and picked up a shiny new Sony DSC-V3 camera. If his writing in LWN has seemed distracted recently, blame the new toy.

In the classic days of Linux, one would expect to spend a full, painful day making a new device work with Linux. In this century, however, people have this irrational expectation that their hardware will "just work." Linux has gotten good at living up to that expectation in a number of ways; see the advances in printer configuration, for example. Your editor set out to determine if support for digital cameras has made the same sort of progress.

It turns out that there are very few free applications which are aimed specifically at interfacing with digital cameras. And the big ones, reviewed below, are all based on the libgphoto2 library. So this review did not take as long as some of the others in this series.

gtkam

[gtkam screenshot] Gtkam is "the official GTK2 GUI" for libgphoto2. On many distributions, it is the default digital camera interface application. Your editor tried version 0.1.12 on Fedora and Ubuntu systems.

The initial gtkam window is mostly blank. The "camera" item on the tool bar leads to the obvious "add camera" dialog, which, in turn, contains a pulldown menu for the camera model. In theory, the user need only select the right model [The gtkam camera dialog] from this list, and all will be well. Unfortunately, this menu contains over 500 entries, making the camera selection process unwieldy at best. Even more unfortunately, your editor's camera - on the market since June of last year - was not on the list. Obviously, your editor should have checked first and bought a supported camera; somehow, however, the idea of showing up at the Kernel Summit with a Barbie camera lacks appeal.

There is also a "detect" button next to the model pulldown; it failed to find your editor's camera, however.

Now, the DSC-v3 has two ways of dealing with the USB bus. In its default configuration, the camera appears to be a USB mass storage device. The camera can also be instructed to use the "picture transport protocol" (PTP) mode, which is an older, specialized way of talking to cameras. When your editor put the camera into the PTP mode, and after tweaking some permissions under /proc/bus/usb, gtkam was able to detect it - as a Sony DSC-F707V. The model was wrong, but everything worked.

When it is talking to a camera it knows about, gtkam presents a simple browsing interface. The left pane is the directory hierarchy as exported by the camera, while the right shows thumbnails of any images stored in the currently-selected directory. Many of the obvious things are not possible; you cannot ask gtkam to display a full-resolution image, for example, and it will not let you drag images into file browsers or other applications. There are, in fact, exactly two things you can do: download images, and delete them.

The download window is somewhat awkward to work with, mostly because it seems to want to provide for several possible actions. It can save the pictures themselves, or just the thumbnails or metadata. It can feed the images to an external application. Or it can rename the pictures, adding an incrementing number to a user-supplied base filename. Once you get the hang of the window, things work reasonably well, but it can take a couple of tries at the outset.

digikam

[Digikam screenshot] The KDE digital camera application is digikam. Your editor used version 0.7; that version is a bit old (there is a 0.7.2 beta out), but attempts to build something more recent were a dismal failure. Digikam, it turns out, is not a straightforward application to build.

The initial digikam window resembles gtkam's, in that there is not much to be seen. The "Camera" toolbar item has an "add camera" option, which is a nice enhancement over previous versions of digikam, which required the user to wander into the "configure digikam" dialogs.

The camera dialog looks very much like gtkam's, and it behaves in a very similar way. Since the same library is doing the work underneath it all, this resemblance is not entirely coincidental. There is one interesting addition to the digikam dialog, however: the user who remains awake after having scrolled through some 500 possibilities will see "USB mass storage" as a camera type. The user must provide the directory where the camera will be mounted - and arrange for it to be actually mounted there. With that work done, however, digicam was able to talk to your editor's camera in its native mode. The PTP mode also works, as it did with gtkam.

Actually, the PTP mode almost works. It will happily detect the camera (once again calling it a DSC-F707V) and work with it - for one session. Once the camera has been disconnected and plugged back in, however, digikam is unable to work with it. Removing the camera from the configuration and asking digikam to detect it from the beginning worked. It would seem that the camera pops up with a different address under /proc/bus/usb each time; gtkam is able to handle that change, but digikam is not.

Digikam provides the same basic operations as gtkam: download images from the camera, and delete images from the camera. There is much more to digikam than that, however: while gtkam forgets about images once they have been extracted from the camera, digikam is a full image management and manipulation framework. It implements albums, performs simple image editing, and provides a large set of gimp-style plugins (which seem to be mostly front ends to tools from the ImageMagick package).

gthumb

Your editor reviewed gthumb almost one year ago in this article on image viewers and editors. This application is not often presented as being [The gthumb import dialog] a tool for working with digital cameras, but the attentive user will notice an "import images" item on gthumb's "file" menu. Selecting that option yields the dia digital camera interface.

It is, perhaps, the best of them all. There is no need to tell gthumb to configure a camera; it simply goes out and talks to whatever it finds. It found your editor's new camera without trouble (in PTP mode only), but had to be instructed on where to look for the old one, which is of the painful serial port variety. The dialog has a blank marked "film," which would appear to be the name of a subdirectory to create for the images. Once that has been figured out, it is simply a matter of deciding where the images should go, whether they should be deleted from the camera, and hitting the "import" button.

Summary

So which is the preferred interface for a grumpy editor? Of the three programs discussed above, gthumb has the most straightforward interface, with a minimum of bureaucracy required before work can be done. That would be your editor's pick.

The truth of the matter is this, however: your editor thinks the best approach is to get a modern camera which implements the USB mass storage protocol. Then you can simply mount the camera as a disk, move the image files across, and be done with it. It's fast, easy, and for those who prefer not to use the mv command, setting up hotplug scripts to launch a file manager is relatively straightforward. There should be no need for separate, specialized applications to interface with a digital camera.

On the other hand, the management of images once they have been pried from a camera's clutches is an interesting problem. Tools like digikam and gthumb have been written with that task in mind; there are several others out there as well. And that is likely to be your editor's next (and rather more ambitious) exercise: a review of image management tools. Stay tuned.


(Log in to post comments)

The Grumpy Editor plugs in his camera

Posted Feb 14, 2005 19:43 UTC (Mon) by hp (subscriber, #5220) [Link]

With FC3, just plugging in the camera should result in an offer to open gthumb and import the images. At least for cameras that HAL knows about.

The Grumpy Editor plugs in his camera

Posted Feb 14, 2005 20:09 UTC (Mon) by kalle (guest, #548) [Link]

This is what happens in Ubuntu Hoary as well. Works nicely.

The Grumpy Editor plugs in his camera

Posted Feb 14, 2005 20:23 UTC (Mon) by dhess (guest, #7827) [Link]

If your camera doesn't support the USB mass storage protocol, you can get a {CF,memory stick,whatever} card reader and use that to import photos via a filesystem instead of hooking up your camera directly. This is what I do with images I take with my old Canon PowerShot S110. They're cheap and they work well.

I don't like the fact that it's written in C#, but F-Spot is a really nice and simple photo manager, if you're a Gnome user.

The Grumpy Editor plugs in his camera

Posted Feb 14, 2005 21:23 UTC (Mon) by jwb (guest, #15467) [Link]

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.

The Grumpy Editor plugs in his camera

Posted Feb 15, 2005 1:04 UTC (Tue) by Thalience (subscriber, #4217) [Link]

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.

In my view, gphoto2 and friends are best treated as a fallback solution for cruddy cameras that don't support mass storage device access.

card reader dangers

Posted Feb 15, 2005 6:21 UTC (Tue) by ncm (subscriber, #165) [Link]

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.

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.

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, "cp -p /camera/*" to an appropriate directory (usually named, e.g., 20050215), wait just a moment, and unplug.

Here's the line in /etc/auto.rmv:

camera -fstype=vfat,ro,noatime,user,dmask=0 :/dev/sda1
and in /etc/auto.master:
/rmv /etc/auto.rmv --timeout=2
(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 /camera to /rmv/camera/dcim/100olymp, which is how my Olympus presents its files once mounted.

It didn't take all day to set this up, but I did waste a half hour on discovering that "--timeout 2" 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.

one more thing

Posted Feb 15, 2005 8:02 UTC (Tue) by ncm (subscriber, #165) [Link]

I have just tried gthumb 2.6.3, and am now ready to abandon flphoto.

card reader dangers

Posted Feb 15, 2005 18:12 UTC (Tue) by dhess (guest, #7827) [Link]

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

card reader dangers

Posted Feb 15, 2005 20:42 UTC (Tue) by gutschke (subscriber, #27910) [Link]

If your camera has an orientation sensor, then you can use "jhead" with the "-autorot" option to automatically rotate pictures that need rotating.

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.

mogrify

Posted Feb 25, 2005 20:20 UTC (Fri) by grouch (guest, #27289) [Link]

"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."

apt-get install imagemagick

You can then use mogrify to rotate your images, for example:

mogrify -compress lossless -rotate +90 myphoto.jpg

some links that may help

The Grumpy Editor plugs in his camera

Posted Feb 14, 2005 20:34 UTC (Mon) by bk (guest, #25617) [Link]

I recently borrowed a friend's digital camera and was pleasantly surprised at the Linux support. It's a Canon Powershot A80 which happens to be supported by libgphoto2. I simply emerged gphoto2 and gtkam and I was set to go. I remember a time only a few years ago when it was a nightmarish task to get random hardware devices to work.

I agree, however, that a USB Mass Storage interface is by far the easiest and most intuitive way to use digital cameras. Hopefully it'll become the de facto camera protocol like it is with MP3 players.

The Grumpy Editor plugs in his camera

Posted Feb 14, 2005 20:35 UTC (Mon) by jsbarnes (subscriber, #4096) [Link]

I've been pretty happy browsing my camera contents with Konqueror under
KDE. It's pretty easy to configure new cameras under the KDE control
center, assuming your camera is listed. Once that's done, you can just
use camera:/ in the Location bar of Konqueror to get at everything.

The Grumpy Editor plugs in his camera

Posted Feb 14, 2005 21:29 UTC (Mon) by kay (subscriber, #1362) [Link]

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.

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.

Kay

The Grumpy Editor plugs in his camera

Posted Feb 15, 2005 15:35 UTC (Tue) by mrshiny (subscriber, #4266) [Link]

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.

flphoto

Posted Feb 14, 2005 22:08 UTC (Mon) by jabby (guest, #2648) [Link]

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.

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.

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.

Jason

The Grumpy Editor plugs in his camera

Posted Feb 14, 2005 22:56 UTC (Mon) by cantsin (guest, #4420) [Link]

The article could also mention that
  • 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
  • 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.
-F

The Grumpy Editor plugs in his camera

Posted Feb 15, 2005 4:38 UTC (Tue) by joey (subscriber, #328) [Link]

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

The Grumpy Editor plugs in his camera

Posted Feb 15, 2005 8:46 UTC (Tue) by johill (subscriber, #25196) [Link]

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.

The Grumpy Editor plugs in his camera

Posted Feb 14, 2005 23:47 UTC (Mon) by SiB (subscriber, #4048) [Link]

"There should be no need for separate, specialized applications to interface with a digital camera."

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.

My camera does support PTP, but it does not allow the computer to take pictures :-(

The Grumpy Editor plugs in his camera

Posted Feb 25, 2005 23:48 UTC (Fri) by patman (guest, #9835) [Link]

If your camera supports capture via gphoto2 and libgphoto2, you can just use:

gphoto2 -I 30

And take a picture every 30 seconds.

Digikam download dialog does more than that

Posted Feb 15, 2005 8:14 UTC (Tue) by hippy (guest, #1488) [Link]

Digikam's download dialog has some nice features that you do not mention.

It can automatically rename photo files as it downloads them. The names
can be based on a simple pattern and/or contain the date and time that the
photo was taken. This can be very useful for avoiding duplicate file names
when the camera reuses a name.

The dialog also provide access to the full image and to any EXIF data that
the camera records.

In addition, if the camera records orientation information in the image,
the image can be automatically rotated as it is downloaded.

I look forward to your full review of image management applications in the
near future. I hope that you manage to build an up to date version of
digikam for the review, as more image editing features have been appearing
in the CVS version in resent weeks.

Regards

Richard

The Grumpy Editor plugs in his camera

Posted Feb 15, 2005 10:00 UTC (Tue) by carlos (guest, #3066) [Link]

"then your editor put the camera into the PTP mode, and after tweaking
some permissions under /proc/bus/usb, gtkam was able to detect it"


Could you elaborate on these permissions issue, please?
This weekend I tried to use a Sony DSC-V1 (PTP mode),
after installing the new libgphoto2 2.1.5, and gphoto2 2.1.5,


digikam happily lists the camera, but them gives
a "invalid parameter error". gphoto2 also gives an error
"io error: invalid parameter"


This looks as it could be related with wrong permissions...

Image management tools

Posted Feb 15, 2005 10:17 UTC (Tue) by ayeomans (guest, #1848) [Link]

As a suggestion for your future review, could you add a check-list of some basic functions, such as:-
  • Thumbnail + filmstrip preview of images
  • Image rename based on pattern/date/time/etc
  • Lossless rotation by 90/180/270 degrees - including the thumbnail image in a JPEG
  • Lossless cropping of JPEGs
  • Preservation, display and editing of EXIF information
  • Good printing facilities, including
  • ..standard-size templates for US and Europe paper sizes
  • ..templates to include mixed sizes to maximise paper use
  • ..ability to select variable numbers of different photos
  • ..ability to arbitrarily size and position pictures on paper
  • Save as web page option, with thumbnails
  • Image correction facilities, including
  • ..rotation and cropping
  • ..colour correction
  • ..red-eye removal
Including the better Windows tools such as Picasa and Irfanview in the comparison would be informative!

Re: Image management tools

Posted Feb 15, 2005 12:55 UTC (Tue) by cantsin (guest, #4420) [Link]

You wrote:
  • Thumbnail + filmstrip preview of images
  • Image rename based on pattern/date/time/etc
  • Lossless rotation by 90/180/270 degrees - including the thumbnail image in a JPEG
  • [...]
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.

Florian

Re: Image management tools

Posted Feb 15, 2005 15:51 UTC (Tue) by mrshiny (subscriber, #4266) [Link]

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.

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.

Re: Image management tools

Posted Feb 19, 2005 20:28 UTC (Sat) by ayeomans (guest, #1848) [Link]

I agree there is risk of bloat if all these functions go into one tool.

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.

Image management tools

Posted Feb 15, 2005 20:32 UTC (Tue) by skellba (guest, #8043) [Link]

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).

Stefan Kell

The Grumpy Editor plugs in his camera

Posted Feb 15, 2005 13:36 UTC (Tue) by kleptog (subscriber, #1183) [Link]

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.

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.

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.

The Grumpy Editor plugs in his camera

Posted Feb 15, 2005 18:24 UTC (Tue) by pauly (subscriber, #8132) [Link]

What about access to the raw picture data?
The more ambitious camera people keep fussing about this,
but most of them seem to use some special plugin for Photoshop
GIMP or whatever. Is DNG (by Canon) going to become
a _standard_, and are generic tools (e.g. raw files as mass storage)
available?

Cheers, Martin

The Grumpy Editor plugs in his camera

Posted Feb 15, 2005 19:18 UTC (Tue) by jamesh (guest, #1159) [Link]

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.

To display the raw images, you can use the dcraw tool (or a program embedding it, such as the gimp plugin you are probably thinking of).

As for DNG, it is an Adobe spec and its adoption is probably still a way off (if it is adopted at all).

The Grumpy Editor plugs in his camera

Posted Feb 16, 2005 8:10 UTC (Wed) by pauly (subscriber, #8132) [Link]

ok, I think I've got the point now. And sorry for mixing up Canon and Adobe.
Regards, Martin

The Grumpy Editor plugs in his camera

Posted Feb 15, 2005 20:28 UTC (Tue) by skellba (guest, #8043) [Link]

regarding raw: look at "http://www.cybercom.net/~dcoffin/dcraw/" 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.

Regards

Stefan Kell

The Grumpy Editor plugs in his camera

Posted Feb 18, 2005 21:37 UTC (Fri) by roelofs (guest, #2599) [Link]

But unfortunately there is no linux programm to handle these 48bit tiffs.

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.

Greg

The Grumpy Editor plugs in his camera

Posted Feb 20, 2005 13:21 UTC (Sun) by smurf (subscriber, #17840) [Link]

dcraw is a somewhat basic tool. Use ufraw.

http://www.aei.mpg.de/~udif/UFRaw/

(I'm the Debian maintainer.)

48-bit

Posted Feb 27, 2005 17:27 UTC (Sun) by gvy (guest, #11981) [Link]

There _were_ at least two such software packages.

nip may be one of them, I don't remember the name of the second -- you could try too google up message in news://fido7.ru.linux ("Alex Korchmar nip") -- he was asking this and got a few surprising answers last autumn or even winter.

The Grumpy Editor plugs in his camera

Posted Feb 15, 2005 21:00 UTC (Tue) by trutkin (guest, #3919) [Link]

I had a very good experience with gthumb as well with my USB camera (Nikon 3200).

HAL

Posted Feb 16, 2005 3:28 UTC (Wed) by lakeland (subscriber, #1157) [Link]

The problems you had with digikam are all solved by using HAL.

Actually, I've been really impressed with HAL, I have a KVM switch which
causes my mouse to disappear (apparently windows has a bug which causes it
to stuff up if the mouse is removed, and the KVM switch works around this
in such a way as to confuse linux and require it to create a new mouse on
switch). At least, that's what I think happens, but I digress... With
HAL, the process is totally transparent -- I didn't even realise it was
happening until I booted an older debian install without HAL enabled and
it didn't work.

The day that HAL is installed and running by default on all major distros
will be a good day.

Thumbnail speed

Posted Feb 16, 2005 13:19 UTC (Wed) by eskild (guest, #1556) [Link]

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.

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.

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.

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).

Regards,

/eskild.

Thumbnail speed

Posted Feb 25, 2005 20:56 UTC (Fri) by grouch (guest, #27289) [Link]

"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."

cd thumbnails/
qiv *.jpg

I prefer USB Mass Storage support

Posted Feb 16, 2005 14:05 UTC (Wed) by TheOneKEA (guest, #615) [Link]

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&move&edit, etc.

UIs like these have their place, but IMO treating it like a disk partition and accessing it via the filesystem context seems more intuitive.

The Grumpy Editor plugs in his camera

Posted Feb 17, 2005 10:34 UTC (Thu) by stevan (subscriber, #4342) [Link]

Regarding management if images, you may want to look at kimdaba. It
allows you to add a certain amount of metadata to your collection, and to
search on those fields. It could be viewed (pardon...) as being a little
limited, but for managing home collections seems a good addition.

S

The Grumpy Editor plugs in his camera

Posted Feb 25, 2005 23:54 UTC (Fri) by patman (guest, #9835) [Link]

I like using the command line, and could not find any support for that with kimdaba.

i.e. tag a photo with certain properties via command line and not via the gui.

PTP is not an older way of talking to cameras

Posted Mar 2, 2005 16:49 UTC (Wed) by ekuns (guest, #28168) [Link]

The camera can also be instructed to use the "picture transport protocol" (PTP) mode, which is an older, specialized way of talking to cameras.

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.

Other than this, it's a good article.

You forgot Camera.app

Posted Mar 28, 2005 13:09 UTC (Mon) by tarzeau (guest, #25248) [Link]

It's really great, you should try it.

You can find it here: Camera.app homepage

Or even try it on this live CD: GNUstep Live CD


Copyright © 2005, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds