|
|
Subscribe / Log in / New account

LightZone reborn as free software

Please consider subscribing to LWN

Subscriptions are the lifeblood of LWN.net. If you appreciate this content and would like to see more of it, your subscription will help to ensure that LWN continues to thrive. Please visit this page to join up and keep LWN on the net.

By Nathan Willis
January 23, 2013

One of the first high-quality raw photo editors available for Linux desktops was LightZone, but although it was (initially) free of charge, it was a proprietary product. Unfortunately the small company behind it eventually folded, and both the free and paid versions went away, as did the updates required to support newer cameras. The company shut its doors for good in 2011, but the software has made a sudden—and unexpected—comeback as an open source project. Fans of the original will be pleased, but the nascent effort still has considerable work ahead before it grows into a self-sustaining community project.

Flashback

LightZone was launched in mid-2005, first for Mac OS X, followed a few months later by Windows. But the application was written in Java, and in 2006 a developer at parent company Light Crafts began building it for Linux as well, posting the bundles (with permission) on his personal web site. The response was positive enough that Light Crafts soon began providing LightZone for Linux as an official release—one which, unlike the offerings for proprietary operating systems, was free. Perhaps that situation was bound to change (after all, there was evidently money to be made), and Light Crafts did eventually start charging for licenses on Linux, too.

But 2006 was also the year that resident 800-pound gorilla Adobe dove into the raw photo editor space with Lightroom and Apple's Aperture (which had been around in less-feature-filled, 1.0 form since 2005) really took off. Before Apple and Adobe entered the market, many small companies offered raw photo converters, but the heavyweights captured market share quickly. New point releases of LightZone continued to arrive, but with few major additions to the tool set. The last new version was LightZone 3.9, released in early 2010. Light Crafts shut down in 2011.

[LightZone regions]

But the application's fans were still there; users seemed especially fond of LightZone's unique tools, which offered editing options not found in competing applications. These included an exposure tool designed around Ansel Adams's zone system and the ability to apply adjustments to one part of an image only by outlining regions directly on the canvas—plus a general reputation for ease-of-use. A user community emerged at the site LightZombie.org, providing updated versions of the dcraw library (on which LightZone's raw file decoding functionality depends), support files for new camera models, and (after the Light Crafts site went offline) Internet Archive links to the installer packages. Customers who had purchased a license key could still install and activate the archived packages, or use the built-in 30-day trial period.

Reboot

After Light Crafts closed up shop, visitors to the LightZombie site began lobbying to have the source code released. The site's administrators discussed the idea privately with former Light Crafts executives, but never made any progress—until December of 2012, when LightZombie's Doug Pardee posted a cryptic announcement that "In a few days, the LightZombie Project will be replaced by something much grander." There were other hints that the code might be released after all, such as the announcement that Anton Kast, the developer who had made the initial Linux port while at Light Crafts, had joined the project.

On December 22, Kast announced that he had convinced the rights holders to release the source code, and made it available at GitHub. Initially Kast made a direct import of the 3.9.x codebase, complete with the license-key-activation modules, without any documentation, and designed for the proprietary build system in use at the company. The LightZombie site was renamed LightZoneProject.org, and maintainers put out a call for volunteers in January, to which several Linux and Windows developers responded.

In the weeks since the initial release, the focus has been on getting the application to build and install successfully with free tools. The commercial product was packaged for distribution with Install4J, although as Kast pointed out on the developers' discussion forum (which at the moment seems to require membership in order to view messages ... ) that there may be little real need for an extra packaging layer, since wrapper scripts were used to launch the application on all three platforms. The IzPack tool was suggested as a plausible open source replacement, although so far it remains an open topic of discussion.

[LightZone image browser]

A bigger issue is the version of Java required. The commercial 3.9 release bundled its own version of Sun's Java 1.6, which was already out of date when Light Crafts ceased operations. It also relied on several Sun image processing classes that are no longer available, and some classes imported from Java Advanced Imaging (JAI) that were not part of the official JAI release at the time of 3.9's development. In addition, some Linux developers expressed an interest in getting the application to run on OpenJDK since it is the default on several major Linux distributions.

Over the following two weeks, though, the developers managed to successfully replace the Sun classes with modern equivalents, and used Apache Ivy to automatically pull in a current version of JAI at build time—a strategy employed by other open source projects. For now, Pavel Benak's branch is the focus of development, and the Linux port currently builds on Ubuntu and Arch Linux, either with OpenJDK 6 or 7 or with Oracle's Java 6, 7, or 8. The Windows build is reported to be working as well, albeit only with Oracle's Java 6. The Mac OS X platform, however, has seen no development so far due to a lack of volunteers.

Let there be zones

As advertised, the codebase on Github is essentially unchanged since the last commercial release of LightZone. Pardee has updated the dcraw library and support files, so newer cameras are supported, but the application still asks for a license key at start-up. However, the 30-day trial period is still enabled as well—a time period that can be reset at will.

The majority of the tools will feel familiar to anyone who has used another raw photo editor; just like the competition, LightZone allows the user to stack together a string of image adjustments by adding them to a list on the right hand side of the window. But LightZone does offer some tools not found in other open source photo editors. One example is ZoneMapper, the Ansel Adams–inspired tool mentioned earlier. Adams's "zones" are essentially ten stops between absolute black and absolute white. ZoneMapper presents a rectangle with ten handles on it corresponding to each of the zones, the user can drag the cut-off points up or down and the zones on either side are compressed or expanded as a result. The same effects could be performed with the traditional Levels or Curves tools, but ZoneMapper is much easier to use.

[LightZone ZoneMapper]

I stopped using the proprietary version of LightZone when it was no longer free (there were, after all, free software alternatives). As a result there are several new features that were new to me, although commercial LightZone customers will find them familiar. One of these is the Relight tool, which automatically brightens underexposed portions of the image. This, too, is an operation that can be done by hand with other tools, but what makes it worth mentioning is that it works quite well without manual intervention.

Not everything in LightZone is perfect; for example, the noise reduction tool crashed the application every time I tried it. Still, it is encouraging to see how well LightZone works considering that the open source project is barely a month old. End users may wish to wait until stable packages are available, but LightZone will hold its own against Rawstudio, UFRaw, Darktable, and RawTherapee. Developers from those competing projects may find the source to be interesting reading as well; in addition to the unusual tools, LightZone enjoyed a reputation for high-quality grayscale conversion and for good tool presets.

The road ahead

Obviously working out the bugs is important, but LightZone as a self-sustaining project has a more difficult task ahead of it in other areas. For starters, the project needs to formally decide on a license. The copyright document in the source tree was imported with the rest of the code; it bears a short, BSD-like copyright statement from Light Crafts' founder Fabio Riccardi and a 2011 date, but the project will need to make this clear. Moving forward, as Tex Andrews posted on the new project site, the group will have to start work on documentation, translations, and discuss "certain organizational issues that now confront us".

Andrews and Pardee, who managed the LightZombie project for more than a year, have cultivated an enthusiastic user base. That will supply the new project with momentum, but it does not guarantee that it will thrive. Keeping a community project alive takes considerable effort, as just about anyone in free software will attest. At the moment, the volunteers have updated dependencies and repaired the build system in short order, but the real work of refactoring the code and improving it has yet to start (case in point being the license-key activation, which should be straightforward enough to remove).

Nevertheless, the new project is a rare gift to software users. Many a small commercial application has vanished for financial reasons and had its disappointed users lobby for the release of the source code. Most of these appeals are unsuccessful. But these lobbying efforts have the potential to turn into successes—consider Blender, for instance. LightZone will at least get a second chance to win over users, which is an opportunity few applications see.



(Log in to post comments)

LightZone reborn as free software

Posted Jan 23, 2013 20:28 UTC (Wed) by halla (subscriber, #14185) [Link]

"Nevertheless, the new project is a rare gift to software users."

Indeed -- and since there's some quite unique functionality and usability in this application, the opening up will benefit everyone. We can all learn from it, and that makes the world just a little bit better. I'm glad it turned out this way!

LightZone reborn as free software

Posted Jan 24, 2013 13:12 UTC (Thu) by philipstorry (subscriber, #45926) [Link]

I'm pleased to see LightZone back - it's good to have options!

I was a paid user of it in the past, but found its main failing was that it was a photo editor - and I really wanted workflow software. So I now use Bibble.

But Bibble Labs were bought by Corel recently, and Corel's record of Linux support is... spotty. Actually better than most - they've at least tried, after all - but still not stellar.

So it's good to have alternatives - especially decent ones.

I'm also strangely finding myself thinking I might even learn some Java, so that I can try adding those missing workflow features myself!

LightZone reborn as free software

Posted Jan 24, 2013 15:27 UTC (Thu) by Mithrandir (guest, #3031) [Link]

I'm in much the same situation as you: a committed Bibble Pro user, I even shelled out the cash to update to Corel AfterShot Pro. But it seems like Corel isn't giving it the maintenance it deserves; I just ordered a shiny new Canon 6D, only to discover AfterShot doesn't support it yet.

However, that prompted a reevaluation of the options on Linux, which can only be a good thing. Nothing seems to have the features and polish of Bibble yet, but darktable is starting to get pretty nice. It does lack some of the tools that I can't live without though, such as the amazing Bibble straighten tool.

It's nice to have another option, and it does feel like the open source tools are heading in the direction of becoming serious competitors.

LightZone reborn as free software

Posted Jan 25, 2013 0:20 UTC (Fri) by fjf33 (guest, #5768) [Link]

Have you guys tried Darktable? I find the latest version very usable and flexible enough that I was able to make it match my old shell script based workflow without much trouble.

LightZone reborn as free software

Posted Jan 25, 2013 9:49 UTC (Fri) by prometheanfire (subscriber, #65683) [Link]

I've been using it as well, though I haven't tried the other options (lightroom, etc) but it works great for me.

LightZone reborn as free software

Posted Jan 25, 2013 9:58 UTC (Fri) by boucman2 (guest, #81743) [Link]

FYI darktable does have a lightzone module that also follows the Adams ideas... and yes, that tool is awesome :)

LightZone reborn as free software

Posted Jan 29, 2013 19:51 UTC (Tue) by Mithrandir (guest, #3031) [Link]

I've been giving it a good run through its paces over the last week or so and I have to say I'm a convert. Despite not having the polish of some of the Bibble tools that I'm used to, I've found a way to do everything I need and you can just tell that there's more raw power to be unleashed and a lot more to be learned along the way. :)

A few samples:

http://www.flickr.com/photos/rwh86/8424806218
http://www.flickr.com/photos/rwh86/sets/72157632635333640/

LightZone reborn as free software

Posted Jan 31, 2013 14:17 UTC (Thu) by philipstorry (subscriber, #45926) [Link]

That's encouraging. Nice photos, by the way - I particularly like Brimming Over. :-)

LightZone reborn as free software

Posted Jan 31, 2013 14:14 UTC (Thu) by philipstorry (subscriber, #45926) [Link]

I haven't had time to look at Darktable - I did look at it a year to two years ago, and concluded that it wasn't ready yet.

I'll try and take another look this evening/weekend.

I'm not quite sure how to say this next bit without sounding like I'm spoiling for a fight, so I'll just say it:
I won't use it just because it's free. (Either as in speech or beer.)
I've never been fussed about paying for quality software - which I think Bibble is. I would rather use free (as in speech) software, but some kinds of software or support just won't happen without money being involved. If the price is reasonable, and the product/service is decent, then I'm happy. I'm not going to get ideological about the hobby (photography) that I enjoy.

Darktable will have to be better than Bibble to make me switch, not merely adequate for use... So whilst I'll evaluate it with an open mind, I have to admit I'd be surprised if I decide to switch...

LightZone reborn as free software

Posted Feb 8, 2013 10:02 UTC (Fri) by berbmit (guest, #89242) [Link]

The only problem with darktable is that it down now allow for region selection ... a big drawback in my view. But nice otherwise.


Copyright © 2013, Eklektix, Inc.
This article may be redistributed under the terms of the Creative Commons CC BY-SA 4.0 license
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds