The other alternative, I suppose, is to have no limits by default, and apps 
that wish to be "safe" need to proactively make a call to set up the 
guardrails. But then you have to trust the majority of apps to set it, and to 
do so sensibly (or risk not having any input sensibility validation in place), 
rather than trusting just the very few who need higher limits to know how to 
raise the controls.

Things like this are of growing concern to all our popular open source 
libraries (not just OIIO), especially the ones successful enough to make their 
way into commercial apps, cloud services, etc. -- those vendors become paranoid 
(and rightfully so) that the library becomes an attack surface that makes the 
whole app or service vulnerable to maliciously crafted input. The few people 
who are out there looking for and exploiting every possible way to subvert the 
software stack are really making life complicated and miserable for the rest of 
us. This is why we can't have nice things.


> On Nov 18, 2021, at 11:29 PM, Larry Gritz <l...@larrygritz.com> wrote:
> 
> From oiiotool, you just need to inject that attribute into the output, and it 
> will be understood by the dpx output (and ignored by any other formats, 
> because it starts with dpx:).
> 
> oiiotool foo.exr --attrib "dpx:Packing" "Packed" -o out.dpx
> 
> 
> 
>> On Nov 18, 2021, at 11:33 AM, Andrew Klaassen 
>> <andrew.klaas...@brownbagfilms.com 
>> <mailto:andrew.klaas...@brownbagfilms.com>> wrote:
>> 
>> Hi,
>> 
>> I'm just starting to use oiiotool, and after reading through some of the 
>> docs I haven't been able to figure this out: How can I output a DPX frame 
>> with dpx:Packing = Packed?
>> 
>> I see that the Bundled ImageIO Plugins page mentions this as a "custom I/O 
>> feature", but I can't seem to find any option in oiiotool to access it.  Is 
>> it API-only, or is there a switch in oiiotool that I'm not seeing?
>> 
>> Unfortunately, some of our tools are erroring out on the "Filled, method A" 
>> packing that oiiotool outputs by default.
>> 
>> Thanks.
>> 
>> Andrew
>> 
>>  
>>      
>> Andrew Klaassen
>> Pipeline TD
>> +1.416.530.9900 x257 | brownbagfilms.com 
>> <https://www.brownbagfilms.com/>_______________________________________________
>> Oiio-dev mailing list
>> Oiio-dev@lists.openimageio.org <mailto:Oiio-dev@lists.openimageio.org>
>> http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org 
>> <http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org>
> --
> Larry Gritz
> l...@larrygritz.com <mailto:l...@larrygritz.com>
> 
> 
> 
> 
> _______________________________________________
> Oiio-dev mailing list
> Oiio-dev@lists.openimageio.org
> http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org

--
Larry Gritz
l...@larrygritz.com




_______________________________________________
Oiio-dev mailing list
Oiio-dev@lists.openimageio.org
http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org

Reply via email to