Page 1 of 1

IBlackmagicRawProcessedImage::GetWidth

PostPosted: Mon Apr 06, 2020 1:46 am
by Hikaru Inoue
Hello,

With certain materials, the GetWidth of the IBlackmagicRawClip and the IBlackmagicRawProcessedImage return slightly different values, is this the expected behavior?

I uploaded a sample clip to OneDrive. This was shot with Pocket Cinema Camera 6K.
https://1drv.ms/u/s!AkBuNGUZGk-tiWDPEVb ... G?e=t8J2yK

With this, IBlackmagicRawClip::GetWidth returns 2868, but IBlackmagicRawProcessedImage::GetWidth returns 2864.

Re: IBlackmagicRawProcessedImage::GetWidth

PostPosted: Thu Apr 09, 2020 2:06 am
by CaptainHook
Hi, in this case the P6K camera is incorrectly writing 2868 into metadata. The SDK corrects it in IBlackmagicRawProcessedImage::GetWidth but ideally the camera should write the correct value in the first place (or the SDK handle it the same in both places).

Both issues need to be addressed on our side but for now the correct value is 2864 from IBlackmagicRawProcessedImage::GetWidth if you can use that.

Re: IBlackmagicRawProcessedImage::GetWidth

PostPosted: Fri Apr 10, 2020 7:04 am
by Hikaru Inoue
Thank you for the reply. I'll check if we can use IBlackmagicRawProcessedImage::GetWidth instead of IBlackmagicRawClip::GetWidth.
By the way, both methods return 2868 in SDK v1.5.

Re: IBlackmagicRawProcessedImage::GetWidth

PostPosted: Fri Oct 23, 2020 3:04 pm
by antoine
Hi,
Will this be fixed for BRAW API 2.0 official release ?

Re: IBlackmagicRawProcessedImage::GetWidth

PostPosted: Mon Mar 29, 2021 12:16 am
by antoine
Answer is yes, this is fixed with official release 2.0. Thanks Blackmagic ! We also updated BRAW Studio with that fix