mikrosimage / duke

Duke is an opensource high resolution image and sequence viewer dedicated to visual effect and post production companies.
MIT License
109 stars 22 forks source link

errors when loading files #50

Closed cellstorm closed 10 years ago

cellstorm commented 10 years ago

on Ubuntu 12.04, with stable version, Linux 64 / g++ 4.8; downloaded 16. jan

loading a .tif (converted from .dng with imagemagick, http://paste.ubuntu.com/6767325/ ) gives error:

Unexpected error Don't know how to convert internal image format Unknown to pixel type djv reads it w/o problems; in duke UNSTABLE it works

loading a .dpx converted with imagemagick, http://paste.ubuntu.com/6767315/ screenshot from 2014-01-17 12 14 19; have the binary Nvidia driver installed. djv reads it w/o problems; in duke UNSTABLE it has the same issue.

files at openartisthq.org/0002CD.tar.bz2

btw, duke has such a beautiful icon, would be nice to have it in window frame, as well as dukes name (note the unnamed window in the screenshot)

gchatelet commented 10 years ago

Thx for the bug report I'm looking into this. For now I think the FastDPX plugin that comes with Duke expect some classic dpx file format. OpenImageIO will probably handle this dpx just fine though. I'll get back to you with a solution.

gchatelet commented 10 years ago

My previous comment is not very clear so I'm restating here. We have two plugins to handle dpx, a fast one that directly maps file to memory and one based on openimageio that actually transcode the dpx to 16 bits (aka slower because some processing occurs).

The FastDpx one only accepts 10bit filled RGB dpx ( in this case this is a 16 bit dpx ) but reports no error.

I'll submit a fix on develop so that FastDpx rejects this format and openimageio will take over.