1. PixelAspectRatio -- easy fix, which I did immediately and submitted as a
pull request: https://github.com/OpenImageIO/oiio/pull/561
2. UserData -- harder fix. In libdpx, there's a section that unfortunately
looks like this:
void dpx::Writer::SetUserData(const long size)
{
// TODO
}
bool dpx::Writer::WriteUserData(void *data)
{
// XXX TODO
return false;
}
Oops. I don't have time to fix this right now, it will have to wait until I
get a number of other things off my plate. But if anybody is inclined, please
feel free to try to fix it and submit a pull request. I don't expect it to be
difficult (for you or me), but since I didn't write the dpx code and am only
passingly familiar with the intricacies of the file format, I would need to
spend more time reading up on the details to get it right than I have at the
moment.
3. iscolorspace:
(a) Nothing happens to files "in place", oiiotool only writes things to disk
when -o is used.
(b) I think the problem is that JPEG/JFIF files by specification are always
sRGB. There's no way to express in the file that it's specifically linear, so
by the time you write out the file and read it back, all it can do is tell you
that like all JPEG files, it's sRGB. I need to look into whether it for sure
works properly with other file formats. Let me get back to you on that.
On Apr 3, 2013, at 11:04 AM, Jep Hill wrote:
> Many thanks Larry -- bars_lo.dpx attached. (I tried sending a larger image
> but it got kicked back so this one should do the trick.)
>
> On the topic of metadata, can you check me on the correct syntax for
> "--iscolorspace"? My understanding is that it should work "in place" on a jpg
> (I'm assuming it won't work on a .dpx) like such:
>
> oiiotool test.jpg --iscolorspace linear
>
> I also tried:
> oiiotool test.jpg --iscolorspace linear -o test2.jpg
>
> Both still have 'oiio:ColorSpace: "sRGB"'
>
> Thanks again,
> Jep
> <bars_lo.dpx>_______________________________________________
> Oiio-dev mailing list
> [email protected]
> http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org
--
Larry Gritz
[email protected]
_______________________________________________
Oiio-dev mailing list
[email protected]
http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org