Skip to content
Browse files

RemoteProjectFile: switch to exr internal type

OpenEXR does a better job of compression. This will save some space.
  • Loading branch information...
1 parent 39f0783 commit 7b0a64a49a3cfe98e2d0d402d5c3c008d8482563 Zack Moratto committed Feb 6, 2012
Showing with 5 additions and 5 deletions.
  1. +5 −5 src_plate_old/photk/RemoteProjectFile.cc
View
10 src_plate_old/photk/RemoteProjectFile.cc
@@ -195,23 +195,23 @@ namespace photk {
if ( project_info.drg_channel_type() == "float32" ) {
drg.reset( new PlateFile(base_url+"DRG.plate"+postfix,
- project_info.plate_manager(), "", 256, "tif",
+ project_info.plate_manager(), "", 256, "exr",
VW_PIXEL_GRAYA, VW_CHANNEL_FLOAT32) );
} else if ( project_info.drg_channel_type() == "int16" ) {
drg.reset( new PlateFile(base_url+"DRG.plate"+postfix,
- project_info.plate_manager(), "", 256, "tif",
+ project_info.plate_manager(), "", 256, "exr",
VW_PIXEL_GRAYA, VW_CHANNEL_INT16) );
} else {
drg.reset( new PlateFile(base_url+"DRG.plate"+postfix,
- project_info.plate_manager(), "", 256, "tif",
+ project_info.plate_manager(), "", 256, "exr",
VW_PIXEL_GRAYA, VW_CHANNEL_UINT8) );
}
albedo.reset( new PlateFile(base_url+"Albedo.plate"+postfix,
- project_info.plate_manager(), "", 256, "tif",
+ project_info.plate_manager(), "", 256, "exr",
VW_PIXEL_GRAYA, VW_CHANNEL_FLOAT32) );
if ( project_info.reflectance() != ProjectMeta::NONE ) {
reflect.reset( new PlateFile(base_url+"Reflectance.plate"+postfix,
- project_info.plate_manager(), "", 256, "tif",
+ project_info.plate_manager(), "", 256, "exr",
VW_PIXEL_GRAYA, VW_CHANNEL_FLOAT32) );
}
}

0 comments on commit 7b0a64a

Please sign in to comment.
Something went wrong with that request. Please try again.