It should be able to read it just fine, though will look to the app as if it's 
an 8 bit int file.

I'm less certain about writing it as a true 1bpp file. I recently made sure it 
would work with 2 and 4 bpp, it shouldn't be hard if it's important to you.

There's really no advantage to writing 1 bit files. Storing 8 bits but only 
using 2 values should compress extremely well, so it's probably not worth going 
to a strange (not 8, 16, or 32) bit depth for the sake of disk size. And once 
you commit to 1 bit, it's a binary mask only, there's no opportunity for soft 
edges or anything like that.



> On Sep 22, 2015, at 5:03 AM, Juhani Karlsson <[email protected]> 
> wrote:
> 
> Hi, 
> 
> Just joined and starting to look into this : )
> I was wondering does OIIO support 1-bit binary images? I was thinking of 
> doing some masking testing.
> 
> Thanks, 
> - J
> 
> -- 
> -- 
> Juhani Karlsson
> 3D Artist/TD
> 
> Talvi Digital Oy
> Tehtaankatu 27a
> 00150 Helsinki
> +358 443443088
> [email protected] <>
> www.vimeo.com/talvi 
> <http://www.vimeo.com/talvi>_______________________________________________
> 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

Reply via email to