Discoveries and Challenges
From UA Libraries Digital Services Planning and Documentation
(New page: In January we discovered that the TIFFS created by using the software that comes with the Captureback overhead scanner contain two tiffs instead of one. One is a thumbnail, and one is th...) |
|||
| Line 1: | Line 1: | ||
| + | |||
In January we discovered that the TIFFS created by using the software that comes with the Captureback overhead scanner contain two tiffs instead of one. One is a thumbnail, and one is the full-size master image. Unfortunately, Image Magick by default creates a jpeg from both tiffs. It concatenates a "-0" to one of the filenames and a "-1" to the other. Examples of these can be seen here: [[http://libcontent1.lib.ua.edu/~jeremiah/images/]]. The files ending in "-1" were created from the thumbnail, so they are blurry. We developed an additional script (called "repair" which hunts through directories, seeking out the files thus named, deleting the ones ending in "-1.jpg" and renaming the ones ending in "-0.jpg" to remove the "-0" addition. Here's the perl script: [[Image:repairJpegs.txt]] | In January we discovered that the TIFFS created by using the software that comes with the Captureback overhead scanner contain two tiffs instead of one. One is a thumbnail, and one is the full-size master image. Unfortunately, Image Magick by default creates a jpeg from both tiffs. It concatenates a "-0" to one of the filenames and a "-1" to the other. Examples of these can be seen here: [[http://libcontent1.lib.ua.edu/~jeremiah/images/]]. The files ending in "-1" were created from the thumbnail, so they are blurry. We developed an additional script (called "repair" which hunts through directories, seeking out the files thus named, deleting the ones ending in "-1.jpg" and renaming the ones ending in "-0.jpg" to remove the "-0" addition. Here's the perl script: [[Image:repairJpegs.txt]] | ||
Revision as of 16:12, 27 January 2010
In January we discovered that the TIFFS created by using the software that comes with the Captureback overhead scanner contain two tiffs instead of one. One is a thumbnail, and one is the full-size master image. Unfortunately, Image Magick by default creates a jpeg from both tiffs. It concatenates a "-0" to one of the filenames and a "-1" to the other. Examples of these can be seen here: [[1]]. The files ending in "-1" were created from the thumbnail, so they are blurry. We developed an additional script (called "repair" which hunts through directories, seeking out the files thus named, deleting the ones ending in "-1.jpg" and renaming the ones ending in "-0.jpg" to remove the "-0" addition. Here's the perl script: Image:RepairJpegs.txt
