XVScan
XVScan is simply xv, with the added option of scanning in artwork. As a result, everything we discussed about xv last month still holds true this month for xvscan, including the fact that it is commercial software. Licensing is $50 US per-installed computer. So, a work group can install XVScan on the computer with the scanner, and though everyone uses it, only one license is required (site licenses available). To use, type xvscan on the command line. The familiar window with the red fish swimming around appears, and clicking on the right mouse button brings up the control window. Clicking on “About XV” will give you the licensing information. The difference is seen when you click on “windows”: there is now a scanner option. Click on “scanner”, and the window shown in Figure 1 comes up.
The blank block under the words “Scan Document...” represents the glass portion of your flatbed scanner. The outlined portion is the area to be scanned; you can make this smaller or larger, up to the full size of the glass. I will be scanning a photograph placed at the top right-hand corner of the glass, so I will start out by scanning just the upper portion. This will make the scanning operation faster than it would be if I scanned the entire bed. It's always a good idea to check the gamma-correction button; otherwise, the picture will come out very dark. For the first scan, I just want to determine the exact position of the picture so I can crop it, so ordinarily, I would set the resolution fairly low (the lower the resolution, the faster the scan) and click on “Quick Scan”. The result of my quick scan is shown in Figure 2; I kept the resolution high, so that the picture would be printable.
As you can see, part of the scanner bed was scanned as well as the picture. The area to be cropped is set in the same way as in xv: click the left mouse button in the upper left corner, hold it down while dragging to the bottom right corner, then release. Now click on “Apply Crop”, and the lines delineating the scanning area will decrease to the defined size. In this case, even with the gamma correction set, the picture is still a bit dark, so I turned off the gamma correction and set the contrast and brightness in order to lighten it up. Since the picture will change each time you change the values, I just played with different values until the picture looked right. The numbers I ended up using were +17 for contrast and +21 for brightness. I also clicked on the “sharpen” option under algorithms and added a label, showing that this picture of two of my granddaughters, Sarah and Rebecca, was taken in 1995. The result of all this fiddling is shown in Figure 3.

Figure 3. Final Scan with Labeling
For a bit of fun, I clicked on the button in the far left corner of the control window, the one that looks like a small picture of a fish (see Figure 4). This brought up the xv pad window shown in Figure 5. I had no idea what this would do, so for fun, I set it to 50% blue, and the picture turned blue (see Figure 6)--surprise! Well, that certainly showed me what it would do; more experienced photographers and artists would probably know how to use this option to further enhance their pictures.

Figure 5. Color Pad Window

Figure 6. Photo with Blue Padding
So much for fun—that's about all you need to know to run xvscan, once you've learned the basics using xv. The problem is always what resolution to use for scanning. This, of course, depends on how you intend to use the scan. To use it only on your web site, there's no need to scan at any resolution higher than 72dpi, as that's as much as can be displayed on your screen. Scanning at a higher resolution will result in a great big file that will take a great deal of time to download, slowing down your site, and it won't look any better.
If you are scanning for printing purposes, then you want to use a much higher resolution. For photos we intend to print in the magazine, we need 300dpi. So, if an author sends a picture that is 1x1.5 inches, we scan it at 300dpi, as 1x1.5 is the right size for an author photo. On the other hand, book covers are printed at about 2x3, so a 6x9-inch book needs to be scanned at only 100dpi to get the right printing resolution; i.e., 600x900 divided by 300 gives 2x3. Again, we could just scan everything at 300dpi, but would then end up with huge files taking up disk space, and they wouldn't print any better.
When you save, it is a good idea to check the “normal” box; otherwise, the find graphic is smaller than you expect.
Now, you too can get rid of all those bulky photo albums. Just get a Linux-supported scanner and XVScan, and scan away. Not all Linux-supported scanners are supported by XVScan, only those listed on thier web site at www.tummy.com/xvscan/scanners.html. This includes all HP SCSI ScanJet scanners from the IIc to the most recent ones, and two Microtek scanners (E3 and E6 no longer available). Many more scanners are supported by SANE (http://www.mostang.com/SANE/) a free scanner driver that works with the GIMP.
Of course, when you run out of disk space, you'll need to get a CD burner and write them to CD, but that's another Linux story. (See “Creating CDs” by Alex Withers, LJ, October 1999.)

Realizing the promise of Apache® Hadoop® requires the effective deployment of compute, memory, storage and networking to achieve optimal results. With its flexibility and multitude of options, it is easy to over or under provision the server infrastructure, resulting in poor performance and high TCO. Join us for an in depth, technical discussion with industry experts from leading Hadoop and server companies who will provide insights into the key considerations for designing and deploying an optimal Hadoop cluster.
Sponsored by AMD
Built-in forensics, incident response, and security with Red Hat Enterprise Linux 6
Every security policy provides guidance and requirements for ensuring adequate protection of information and data, as well as high-level technical and administrative security requirements for a system in a given environment. Traditionally, providing security for a system focuses on the confidentiality of the information on it. However, protecting the data integrity and system and data availability is just as important. For example, when processing United States intelligence information, there are three attributes that require protection: confidentiality, integrity, and availability.
Learn more about catching the bad guy in this free white paper.
Sponsored by DLT Solutions
| Designing Electronics with Linux | May 22, 2013 |
| Dynamic DNS—an Object Lesson in Problem Solving | May 21, 2013 |
| Using Salt Stack and Vagrant for Drupal Development | May 20, 2013 |
| Making Linux and Android Get Along (It's Not as Hard as It Sounds) | May 16, 2013 |
| Drupal Is a Framework: Why Everyone Needs to Understand This | May 15, 2013 |
| Home, My Backup Data Center | May 13, 2013 |
Enter to Win an Adafruit Pi Cobbler Breakout Kit for Raspberry Pi

It's Raspberry Pi month at Linux Journal. Each week in May, Adafruit will be giving away a Pi-related prize to a lucky, randomly drawn LJ reader. Winners will be announced weekly.
Fill out the fields below to enter to win this week's prize-- a Pi Cobbler Breakout Kit for Raspberry Pi.
Congratulations to our winners so far:
- 5-8-13, Pi Starter Pack: Jack Davis
- 5-15-13, Pi Model B 512MB RAM: Patrick Dunn
- 5-21-13, Prototyping Pi Plate Kit: Philip Kirby
- Next winner announced on 5-27-13!
Featured Jobs
| Linux Systems Administrator | Houston and Austin, Texas | Host Gator |
| Senior Perl Developer | Austin, Texas | Host Gator |
| Technical Support Rep | Houston and Austin, Texas | Host Gator |
| UX Designer | Austin, Texas | Host Gator |
| Web & UI Developer (JavaScript & j Query) | Austin, Texas | Host Gator |
Free Webinar: Hadoop
How to Build an Optimal Hadoop Cluster to Store and Maintain Unlimited Amounts of Data Using Microservers
Realizing the promise of Apache® Hadoop® requires the effective deployment of compute, memory, storage and networking to achieve optimal results. With its flexibility and multitude of options, it is easy to over or under provision the server infrastructure, resulting in poor performance and high TCO. Join us for an in depth, technical discussion with industry experts from leading Hadoop and server companies who will provide insights into the key considerations for designing and deploying an optimal Hadoop cluster.
Some of key questions to be discussed are:
- What is the “typical” Hadoop cluster and what should be installed on the different machine types?
- Why should you consider the typical workload patterns when making your hardware decisions?
- Are all microservers created equal for Hadoop deployments?
- How do I plan for expansion if I require more compute, memory, storage or networking?







35 min 9 sec ago
52 min 32 sec ago
2 hours 45 min ago
4 hours 39 min ago
11 hours 33 min ago
11 hours 49 min ago
13 hours 40 min ago
19 hours 32 min ago
1 day 3 min ago
1 day 4 min ago