From de0262e4c81c7d7f036cc574f636a248f2cc9f27 Mon Sep 17 00:00:00 2001 From: Ton Roosendaal Date: Sun, 12 Mar 2006 14:11:23 +0000 Subject: New: Import/Export of Cineon and DPX image files. The first is Kodak's standard for film scanning, 10 bits/channel and logarithmic. DPX is derived from Cineon as the ANSI/SMPTE industry standard. DPX supports 16 bits color/channel, linear as well as logarithmic. Code has been gratefully copied from CinePaint and was integrated in Blender by Joe Eagar. According to CinePaint's dev Robin Rowe the DPX code defaults to log colorspace. Can't find in the code clues yet how to enable/disable that. However, tests with write/read of DPX seems to show no visible loss by log conversion code. Might be because it uses the entire 16 bit range... CinePaint dpx files have been succesfully imported in a Quantel IQ HD/2K finishing/grading set without problem, so for now I guess we can use it! :) Changes in code: added tests for image magic numbers before entering the actual reading code. Prevents error prints, and makes it faster too. (Note; this because Blender doesn't check for extensions, but calls reading functions on every file until one accepts it. :) --- source/blender/imbuf/SConscript | 1 + 1 file changed, 1 insertion(+) (limited to 'source/blender/imbuf/SConscript') diff --git a/source/blender/imbuf/SConscript b/source/blender/imbuf/SConscript index 93041ab97cf..2cc67df9e0c 100644 --- a/source/blender/imbuf/SConscript +++ b/source/blender/imbuf/SConscript @@ -24,3 +24,4 @@ if env['WITH_BF_QUICKTIME']==1: defs.append('WITH_QUICKTIME') env.BlenderLib ( libname = 'bf_imbuf', sources = sources, includes = Split(incs), defines = defs, libtype=['core','player'], priority = [80, 40] ) +env.BlenderLib ( libname = "bf_imbuf_cineondpx" sources = cineon, includes = Split(cincs), defines = defs, libtype=['core', 'player'] priority = [81, 41] ) \ No newline at end of file -- cgit v1.2.3