Review: FileTransform will try all lut formats (if the initial read fails)


Jeremy Selan <jeremy...@...>
 

FileTransform will attempt to load the specified lut formats, if the
initial read fails. I also had to make some of the 3D lut loaders use
stricter parsing as they now get called (in error conditions) and
giving false positives. (I.e., an invalid .cube lut was errantly
being loaded by the .spi3d / .3dl loaders).

commits:
b6aef8748d6cd017e2dcf8e8d2baf8e9334eaa6e
91515b537187a8aa04cd389ea5036af65e0feb72
18bbb2734a67e442bb67b64f5f2b902ce578484b

-- Jeremy


Jeremy Selan <jeremy...@...>
 

In the absence of any objections, I will check this into master.

-- Jeremy


er...@...
 

Digging this up

I have a config setup looking for $SHOT.cc but client decided to start sending .cube files instead

How would the config file need to look for this fallback to work?


On Monday, November 15, 2010 at 7:12:57 PM UTC+1, Jeremy Selan wrote:
In the absence of any objections, I will check this into master.

-- Jeremy


er...@...
 

Figured out i could rename the cube to cc and ocio identified it correctly anyways.


On Monday, November 13, 2017 at 2:56:51 PM UTC+1, Erik Johansson wrote:
Digging this up

I have a config setup looking for $SHOT.cc but client decided to start sending .cube files instead

How would the config file need to look for this fallback to work?

On Monday, November 15, 2010 at 7:12:57 PM UTC+1, Jeremy Selan wrote:
In the absence of any objections, I will check this into master.

-- Jeremy


Matt Plec <mp...@...>
 

I've also gotten away with putting no extension on them. It felt a little ropey, but not quite as misleading or prone to creating further problems if someone picked up the file and tried to use it otherwise. At least if there's no extension you have to look in the file and see what it is instead of just assuming.


On Mon, Nov 13, 2017 at 5:58 AM, <er...@...> wrote:
Figured out i could rename the cube to cc and ocio identified it correctly anyways.


On Monday, November 13, 2017 at 2:56:51 PM UTC+1, Erik Johansson wrote:
Digging this up

I have a config setup looking for $SHOT.cc but client decided to start sending .cube files instead

How would the config file need to look for this fallback to work?

On Monday, November 15, 2010 at 7:12:57 PM UTC+1, Jeremy Selan wrote:
In the absence of any objections, I will check this into master.

-- Jeremy

--
You received this message because you are subscribed to the Google Groups "OpenColorIO Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ocio-dev+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.