You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So I'm trying out the current framework. After discovering Simd only supports PNG's lossless file-format, I converted my images accordingly. My input PNG's are 16-bit grayscale pixels.
So, the Framework's API is able to decode and read in my image file, but it has a funny output, according to gdb:
The output in bold was unexpected. I was hoping the View would be set to ::Int16 and the stride would be 1124*2 = 2248
So, am I to understand that my 16-bit grayscale image is now RGB, with A channels?
Is there a plan to support the pure, multi-byte grayscale pixel plane in the near-future?
If not, I'd be happy to add this in.
Thanks, Charles.
The text was updated successfully, but these errors were encountered:
HI there,
So I'm trying out the current framework. After discovering Simd only supports PNG's lossless file-format, I converted my images accordingly. My input PNG's are 16-bit grayscale pixels.
So, the Framework's API is able to decode and read in my image file, but it has a funny output, according to gdb:
$1 = {width = 1124, height = 1364, stride = 4512, format = Simd::ViewSimd::Allocator::Rgba32, data = 0x555569994a00 "", _owner = true}
The output in bold was unexpected. I was hoping the View would be set to ::Int16 and the stride would be 1124*2 = 2248
So, am I to understand that my 16-bit grayscale image is now RGB, with A channels?
Is there a plan to support the pure, multi-byte grayscale pixel plane in the near-future?
If not, I'd be happy to add this in.
Thanks, Charles.
The text was updated successfully, but these errors were encountered: