CIRAWFilter isDraftModeEnabled

In my testing, enabling isDraftModeEnabled improves decode performance for very large non-RAW images. Does it also affect decoding performance or quality for RAW images? Are there non-RAW formats that benefit more than others, or not at all, with draft mode?

For non-RAW images, is it generally recommended to load them through CIRAWFilter or CIImage?

If CIImage is preferred, is there an equivalent to isDraftModeEnabled for CIImage initialization? Conversely, if CIRAWFilter is acceptable for non-RAW images, how can I get the expandToHDR behavior that is available through CIImage options?

Thanks!

Answered by Engineer in 893477022

"Draft Mode" will also help on RAW 9 to give better performance at the expense of some reduction in quality.

"Draft Mode" will also help on RAW 9 to give better performance at the expense of some reduction in quality.

Does Draft Mode change the size of the image (it does for some formats in RAW 8)?

Accepted Answer

Thanks, that clarifies the RAW 9 behavior.

Could you also clarify the intended API path for non-RAW images? Should non-RAW images generally be loaded through CIImage rather than CIRAWFilter?

If so, is there an equivalent to isDraftModeEnabled for CIImage initialization? If CIRAWFilter is also acceptable for non-RAW images, is there a way to get the expandToHDR behavior available through CIImage options?

CIRAWFilter isDraftModeEnabled
 
 
Q