Tiff vs. RAW

Tiff vs. RAW

Post by Graham Millingto » Wed, 09 Apr 2003 01:10:56



I understand that RAW is, like, TIFF, a lossless format; that it, however,
produces smaller files.

Accordingly, RAW would seem a valid format for archival purposes.  However,
I read that there is no standard for the data format, and wonder whether
this might be a problem.  Does anyone know whether any standards are in the
pipeline and, if so, what impact they are likely to have upon current
implementations.

NikonScan software does not include RAW, but it does have 'NEF': 'The
formats include NEF, (Nikon Electronic image Format) which allows files to
be saved, and then reopened and modified without harming the original
scanned information. NEF is not legible to Adobe Photoshop or any other
imaging applications, these files can only be opened using Nikon Scan
software.'  What is the format; and should it be avoided (sems like it to
me, but my understanding has me question why they'd have this at all)?

So far, my conclusion is to use TIFF.  However, any advice which would
suggest that this is inappropriate would be appreciated.

The only challenge is that I want slides to be available on my PC, rather
than stored on DVD, for example (I'm moving around all the time and carting
hundreds of DVDs around is a lot harder than throwing a PC into a box); I
could use DVD as offline archival fof the shots that really matter, though.
The problem is, with TIFF, I'm looking at 130MB per shot; ultimately 10,000+
shots (and growing); add to that RAID 1 and a need for regular back-ups and
I need an almost unmanageable amount of disk space.

Incidentally, does anyone know how RAW achieves smaller files than TIFF, and
approximately how much smaller they are?

Thank you in advance.

 
 
 

Tiff vs. RAW

Post by Jouko Vierum?k » Wed, 09 Apr 2003 02:08:23


Very often, RAW files are actually TIFF variants, as TIFF (by definition) is
tagged image file format. Different applications can produce TIFFs including
application-specific data. TIFF can be losslessly compressed, as is often
the case with RAW files, hence the smaller files (30-40% smaller, depends on
image).

The reason for not using TIFF as a basis for RAW files normally implies that
the device/application requires very peculiar data to be stored (or, in a
peculiar way). This is why I don't think there would be any standard for RAW
files. (Do you really wish there to exist yet another file format??? ;-)

I'm dealing with the same capacity problem as you are. Without removable
media (like DVD), there's almost no way to do it. 130MB * 10000 figures out
1300GB... Expensive and unpractical, I would say. If you don't agree, see
LaCie (http://www.lacie.com/), they have big disks (up to 500GB).

    Jouko


Quote:

> I understand that RAW is, like, TIFF, a lossless format; that it, however,
> produces smaller files.

> Accordingly, RAW would seem a valid format for archival purposes.
However,
> I read that there is no standard for the data format, and wonder whether
> this might be a problem.  Does anyone know whether any standards are in
the
> pipeline and, if so, what impact they are likely to have upon current
> implementations.

> NikonScan software does not include RAW, but it does have 'NEF': 'The
> formats include NEF, (Nikon Electronic image Format) which allows files to
> be saved, and then reopened and modified without harming the original
> scanned information. NEF is not legible to Adobe Photoshop or any other
> imaging applications, these files can only be opened using Nikon Scan
> software.'  What is the format; and should it be avoided (sems like it to
> me, but my understanding has me question why they'd have this at all)?

> So far, my conclusion is to use TIFF.  However, any advice which would
> suggest that this is inappropriate would be appreciated.

> The only challenge is that I want slides to be available on my PC, rather
> than stored on DVD, for example (I'm moving around all the time and
carting
> hundreds of DVDs around is a lot harder than throwing a PC into a box); I
> could use DVD as offline archival fof the shots that really matter,
though.
> The problem is, with TIFF, I'm looking at 130MB per shot; ultimately
10,000+
> shots (and growing); add to that RAID 1 and a need for regular back-ups
and
> I need an almost unmanageable amount of disk space.

> Incidentally, does anyone know how RAW achieves smaller files than TIFF,
and
> approximately how much smaller they are?

> Thank you in advance.


 
 
 

Tiff vs. RAW

Post by Graham Millingto » Wed, 09 Apr 2003 03:09:29



Quote:

> The reason for not using TIFF as a basis for RAW files normally implies
that
> the device/application requires very peculiar data to be stored (or, in a
> peculiar way). This is why I don't think there would be any standard for
RAW
> files. (Do you really wish there to exist yet another file format??? ;-)

** Yes, if I am using a format I should prefer it to be portable, especially
if it is for long-term purposes such as slide archival!

Quote:> I'm dealing with the same capacity problem as you are. Without removable
> media (like DVD), there's almost no way to do it. 130MB * 10000 figures
out
> 1300GB... Expensive and unpractical, I would say. If you don't agree, see
> LaCie (http://www.lacie.com/), they have big disks (up to 500GB).

Fast IDE hard drives (I use WD 8MB cache versions) are a little more costly
than DVD if one meaures dollars/GB and ignores the cost of the DVD-burner
(which cannot be discounted properly without assuming a fixed storage
requirement).  However, ease-of-use of HDD is a definite plus.  My only
concern is that hard drives have a habit of exploding when you least expect
it, so it's important to keep back-ups.  Which, at the very least doubles
the cost.

I was thinking that Firewire drives might be an option - 250GB, portable and
it is easy to add quite a few to the system.

 
 
 

Tiff vs. RAW

Post by Bruce » Wed, 09 Apr 2003 03:45:48


My $0.02....


> So far, my conclusion is to use TIFF.  However, any advice which would
> suggest that this is inappropriate would be appreciated.

It depends on what your needs for archive are.  Raw, typically does not have
any color correction applied.  That means that if you access the raw data file
you would have to process it to get the correct image.  This may be useful
for those that may want to reprocess raw data using different settings at a
later time.

If you don't want to have to reprocess the images, use TIFF and compress it.

Quote:> The only challenge is that I want slides to be available on my PC, rather
> than stored on DVD, for example (I'm moving around all the time and carting
> hundreds of DVDs around is a lot harder than throwing a PC into a box); I
> could use DVD as offline archival fof the shots that really matter, though.
> The problem is, with TIFF, I'm looking at 130MB per shot; ultimately 10,000+
> shots (and growing); add to that RAID 1 and a need for regular back-ups and
> I need an almost unmanageable amount of disk space.

When you say "available", for what purpose?  If it's just for your viewing
pleasure, then archive compressed TIFF files and keep a JPEG
version on your hard drive.

The other issue of archiving is for how long.  If you are talking about
a few years, then any solution is fine.  However if you are talking about
10, 20, 30 years, one must always think about whether you will have the
software to read the particular file format you archive, not to mention
whether the media will be readable.

 
 
 

Tiff vs. RAW

Post by Bill Hilt » Wed, 09 Apr 2003 03:54:06



>I understand that RAW is, like, TIFF, a lossless format; that it, however,
>produces smaller files.

The only RAW files I've used came straight from a high end digital camera,
basically the actual sensor info.  They are smaller because to generate a tiff
from them the sensor data gets interpolated.  The RAW format I'm using is
proprietary.  I don't know if you can go backwards, ie, take a tiff and
compress it losslessly into RAW format.

Quote:>Accordingly, RAW would seem a valid format for archival purposes.

If you are starting with RAW files and are sure you'll always have the software
to convert them, then for sure they are suited for archival purposes.  But if
you have tiffs now I doubt you can convert these to RAW.  Better to use LZW
compression (8 bit files only ... high bit files don't compress well), which
generally compresses without loss to 1/3 - 2/3's the original size, depending
on the image data.  

Quote:>So far, my conclusion is to use TIFF.  However, any advice which would
>suggest that this is inappropriate would be appreciated.

I agree, tiff is the best archival format.  But if your camera generates RAW
(or NEF) files you can save them instead, assuming you'll always have access to
the proprietary software (in X years) to convert them to something editable.

Quote:>The problem is, with TIFF, I'm looking at 130MB per shot

Try medium format some time and you won't feel so bad.  540 Mb for high bit
tiff scans from each 6x7 cm trannie at 4,000 dpi  ...

Quote:>Incidentally, does anyone know how RAW achieves smaller files than TIFF ...

Raw sensor data (on my Canon digicam, anyway).

Quote:> ... and approximately how much smaller they are?

1/3 the size of 8 bit tiffs.

Bill

 
 
 

Tiff vs. RAW

Post by Godfrey DiGiorg » Wed, 09 Apr 2003 07:02:44


A RAW format is exactly what it states, raw data in whatever arbitrary
format whomever designs a device and its software delivers it.
Archiving RAW data presumes that the same format will be useful through
time, whether the device and device specific software have changed or
not.. That's not a good assumption.

TIFF is a tagged image format, well specified such that many
applications, both existing now and in the future, will be able to read
it. Because of that, it is the sensible archive choice regardless of
size.

Of course, there are other good bets for archive format too. For
instance, I don't expect that Adobe Systems' PhotoShop file format will
be lost anytime soon as I believe it has been licensed for development
of Photoshop compatible utility software and add-ons. Even if it
weren't, Photoshop has such a large footprint in the image processing
market that it would be worth the effort for someone to backwards
engineer it if Adobe Systems went out of business, all current products
that knew the format suddenly disappeared, and all the existing source
code that implemented it somehow magically was permanently erased
overnight. Probabilities of all that happening at once are quite low...
;-) I archive my original scan as a TIFF and subsequently modified and
developed images as .PSD to preserve all layers and other work, along
with a web display resolution sized JPEG for quick perusal. The last is
for convenience' sake since I can always generate that from the PSD
file easily. It solves one of your problems: keep the JPEGs on your PC,
keep the full resolution archive files on off-line media.

The disk space problem is taxing for the number of images you're
interested in storing, not to mention an image retrieval system that
would allow you to find what you want. I don't think it's totally
unmanageable, however ... although it isn't particularly inexpensive.
Neither CDR nor DVD have enough capacity to be considered. Let's see,
10,000 130MB image files is about 1,300 GBytes of data ... that would
fit handily on three 500 Gbyte drives. You could buy them each, one at
a time, as you need them and take advantage of the price drop as they
become cheaper over time. Larger storage devices will become available
at increasing lower prices as well.

My data archive volume might get up into that range eventually too, so
I've started with a pair of 100GB drives ($90 apiece for the bare
drive, plus the cost of an enclosure, backs up the other) with FireWire
interfaces so I can plug and unplug them anytime I need. The
performance is far far better than CDR and DVDR, and given the large
MTBF ratings of good quality drives, they're probably more reliable
too. Plus, if operating system or file system parameters change over
time, they can be updated easily to keep step.

That's my solution. I'll tell you how well it works in another 20
years... ;-)

Godfrey



> I understand that RAW is, like, TIFF, a lossless format; that it, however,
> produces smaller files.

> Accordingly, RAW would seem a valid format for archival purposes.  However,
> I read that there is no standard for the data format, and wonder whether
> this might be a problem.  Does anyone know whether any standards are in the
> pipeline and, if so, what impact they are likely to have upon current
> implementations.

> NikonScan software does not include RAW, but it does have 'NEF': 'The
> formats include NEF, (Nikon Electronic image Format) which allows files to
> be saved, and then reopened and modified without harming the original
> scanned information. NEF is not legible to Adobe Photoshop or any other
> imaging applications, these files can only be opened using Nikon Scan
> software.'  What is the format; and should it be avoided (sems like it to
> me, but my understanding has me question why they'd have this at all)?

> So far, my conclusion is to use TIFF.  However, any advice which would
> suggest that this is inappropriate would be appreciated.

> The only challenge is that I want slides to be available on my PC, rather
> than stored on DVD, for example (I'm moving around all the time and carting
> hundreds of DVDs around is a lot harder than throwing a PC into a box); I
> could use DVD as offline archival fof the shots that really matter, though.
> The problem is, with TIFF, I'm looking at 130MB per shot; ultimately 10,000+
> shots (and growing); add to that RAID 1 and a need for regular back-ups and
> I need an almost unmanageable amount of disk space.

> Incidentally, does anyone know how RAW achieves smaller files than TIFF, and
> approximately how much smaller they are?

> Thank you in advance.

 
 
 

Tiff vs. RAW

Post by Graham Millingto » Wed, 09 Apr 2003 16:33:00



Quote:> A RAW format is exactly what it states, raw data in whatever arbitrary
> format whomever designs a device and its software delivers it.

Thanks to all who replied.

I shall continue to save in TIFF.

And I'll archive onto hard drives (La Cie ha s 500GB; WDC has 250GB, but
faster).

I'll use 4,000dpi for the images I like, and (most likely) 2000dpi for the
detritus.  That should keep things manageable for the time being.

Now I'll see how much time I can waste deliberating - for 10,000 slides -
whether an image is a 4,000dpi scan or only a 2,000dpi one.

Again, thank you to everyone.

Graham Millington

 
 
 

Tiff vs. RAW

Post by Ilkka Paloheim » Wed, 09 Apr 2003 23:05:34


One additional comment: I have exactly the same archiving problems as you do
(Nikon 4000, 16bit TIFF, lots of slides).

You might want to check PNG and JPEG2000 as storage formats. Both are known
published standards (PNG http://www.w3c.org/Graphics/PNG/ and JPEG2000
http://www.jpeg.org/JPEG2000.html), both support also 16 bit and both are
lossless. Photoshop has already a jpeg2000 plugin from Adobe ($99), there
are also freeware ones around. I think Photoshop will have jpeg2000 "native"
in version 8. Size gets down from 115MB tiff to around 85MB with jpeg2000 16
bit lossless compression. Might help a little... Downside is of course that
the conversion takes quite a bit of processing power and time. On my PC
opening/saving a 115MB tiff in PS takes about 3-4 sec, jpeg2000 with
freeware plugin takes around half a minute.

I have not examined PNGs any closer, but it should be on the same level. An
example from my Canon EOS 10D camera raw (converted with BreezeBrowser)

raw    5.9M
8 bit tiff   18.4M
16 bit tiff  36.9M
jpeg    3.0 M (lossy, best quality)
8 bit jpeg2000  5.4M (lossless)
16 bit jpeg2000  12.3M (lossless)
8 bit png  6.6M
16 bit png 11.0M

HTH
Ilkka

 
 
 

Tiff vs. RAW

Post by Greg » Wed, 09 Apr 2003 23:10:58


Also consider lossy archiving in JPEG 2000. (that's what I am using - I
don't mind sacrificing a tiny bit of quality, but it's great being able to
retain 16 bits)

Greg.

 
 
 

1. 84bit raw on Nikon 4000ED: VueScan raw vs Silverfast 48bit HDR raw vs Nikon NEF raw

For negative scans/archives, could/would anyone please describe the
basic differences (if any) between the 48bit raw scan data obtained
from a Nikon 4000 ED using the following three software choices:

1) VueScan 48bit raw
2) SilverFast 48bit HDR (raw) output
3) 48bit NEF raw (Nikon's own raw format)

For the Nikon 4000 ED, would one or another choice be better/worse for
archive and post scan processing?

Thanks

--Caleb

2. ActionLaser 1000, Need driver

3. Uncompressed TIFF vs. compressed TIFF

4. Dual Booting Win2k and Win 95 on Dell GX400's

5. Vuescan feature RAW tiff file name

6. Why don't HttpModules have IsReusable like HttpHandlers?

7. VueScan: are 48-bit compressed TIFFs (raw format) "normal"?

8. We want more connections per machine in smbd

9. Vuescan's raw tiff file

10. TIFF with RLE compression to Raw Data or RGB

11. Is there a library that will TIFF LZW compress/uncompress raw greyscale data

12. VB 3.0 vs PB vs Access 2.0 vs Oracle CDE vs SQL Windows vs C++

13. PowerBuilder vs VisualBasic vs Oracle's CDE vs C++ vs SQLWindows vs ?