jpg or tif format?

Started by FlynnAD, March 13, 2012, 09:46:06 PM

Previous topic - Next topic

FlynnAD

Is there any difference between how TG2 handles .jpgs vs .tif images?

To clarify: If I'm creating in Photoshop, then importing a bunch of grayscale images to use as blend shaders/masks in TG2, does it help TG2 if I save them in one format over another?

To be more precise: if an example image is 3000x3000 pxls, a jpg will save this file way smaller than a tif will, in terms of shear MB on the hard drive. However, some 3d programs, when they open up a bitmap, it doesn't matter what format the information was saved in, they'll still scale any image up to the size needed within the program. So putting a 500kb jpg image over a 2km area in TG2 - - MIGHT BE (depending on how this works) - - just as memory intensive as loading a similar 4MB tif file put over the same 2km area.

If this is how TG2 works, then it doesn't make too much sense to use jpgs and lose the quality when you could use a non-lossy tif format.
OR
Does it help TG2 in speed/ processing power/ memory load/ to use the smaller file?

Now talking tifs only here: Does it make any difference if you use an uncompressed or a compressed tif file? For example, mental ray (in 3dsmax) doesn't like compressed tifs. It wants the data uncompressed, which makes tif files huge on your hard drive, but faster for processing.

Thanks,
-Matt

jo

Hi Matt,

Once the image is loaded it will use the same amount of memory regardless of the file size/format etc. In this case I would go for TIFFs. I would have to check to see if greyscale images use less memory, it's come up before but I've forgotten. Not much you can do about it if it uses the same as RGB anyway!

TG2 supports both LZW and ZIP compression for TIFFs. I've no idea about the relative performance of loading them but if it's saving you space on disk and that's helpful to you then you can compress them. If there is any performance issue it will only be apparent at load time. If load times become diabolical you can always resave some or all of the TIFFs without compression.

Regards,

Jo

FlynnAD

Excellent reply; thank you.