Loading exr2png.py +2 −2 Original line number Original line Diff line number Diff line Loading @@ -17,7 +17,7 @@ def exr2arr(exrfile): if c in channels: if c in channels: channels_list.append(c) channels_list.append(c) # the shape was incorrect # the shape had incorrect order #size = (dw.max.x - dw.min.x + 1, dw.max.y - dw.min.y + 1) #size = (dw.max.x - dw.min.x + 1, dw.max.y - dw.min.y + 1) size = (dw.max.y - dw.min.y + 1, dw.max.x - dw.min.x + 1) size = (dw.max.y - dw.min.y + 1, dw.max.x - dw.min.x + 1) color_channels = file.channels(channels_list, Imath.PixelType(Imath.PixelType.FLOAT)) color_channels = file.channels(channels_list, Imath.PixelType(Imath.PixelType.FLOAT)) Loading Loading
exr2png.py +2 −2 Original line number Original line Diff line number Diff line Loading @@ -17,7 +17,7 @@ def exr2arr(exrfile): if c in channels: if c in channels: channels_list.append(c) channels_list.append(c) # the shape was incorrect # the shape had incorrect order #size = (dw.max.x - dw.min.x + 1, dw.max.y - dw.min.y + 1) #size = (dw.max.x - dw.min.x + 1, dw.max.y - dw.min.y + 1) size = (dw.max.y - dw.min.y + 1, dw.max.x - dw.min.x + 1) size = (dw.max.y - dw.min.y + 1, dw.max.x - dw.min.x + 1) color_channels = file.channels(channels_list, Imath.PixelType(Imath.PixelType.FLOAT)) color_channels = file.channels(channels_list, Imath.PixelType(Imath.PixelType.FLOAT)) Loading