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/intern/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'source/blender/imbuf/intern/Makefile') diff --git a/source/blender/imbuf/intern/Makefile b/source/blender/imbuf/intern/Makefile index 19040abd5f6..f51844aad96 100644 --- a/source/blender/imbuf/intern/Makefile +++ b/source/blender/imbuf/intern/Makefile @@ -39,8 +39,10 @@ include nan_subdirs.mk include nan_compile.mk include nan_definitions.mk +DIRS = cineon + ifeq ($(WITH_OPENEXR), true) - DIRS = openexr + DIRS += openexr CFLAGS += -DWITH_OPENEXR endif -- cgit v1.2.3