Skip to main content
Known Participant
March 9, 2010
Question

importing 32 bits images

  • March 9, 2010
  • 1 reply
  • 499 views

Hello! I'm trying to import a 32bits depth image format using the FBIO sample.

I set the depth to 32 with the following instruction

ERR(suites.IOInSuite1()->AEGP_SetInSpecDepth(specH, 32));

And the project tab shows me that the image has million of colors instead 256, but when I try to fill out the effect world in the DrawSparseFrame function, the world that AE sends me (PF_EffectWorld *wP) has 8 bits depth.

How can I receive a correct effectworld? I've tryed to create a new 32 bits world and assign it

suites.WorldSuite3()->AEGP_FillOutPFEffectWorld( my32World, wP );

to the wP effect world, but it doesn't work (in fact, creating a new 8 bits world and assigning it to the in-out wP world neither works...)

Any advice?

Thanks!

This topic has been closed for replies.

1 reply

Known Participant
March 11, 2010

OK, when I set the project adjustments to 32 bpc depth, I get a wP->data with a float size (I test the wP->rowSize to check it). The problem now is when I set the project adjustments to 16 bpc... the wP->data that I receive has 8 bits size, and AE shows the colors wrong... it is a bug?

When I set the depth of the image imported to

ERR(suites.IOInSuite1()->AEGP_SetInSpecDepth(specH, 32));  // 4 channels , 8 bpc

the image is showed correctly in 8 and 16 bpc, but wrong in 32 bpc.

If I set ...

ERR(suites.IOInSuite1()->AEGP_SetInSpecDepth(specH, 64)); //4 channels, 16 bpc

the image is showed correctly in 8 and 16 bpc, but wrong in 32 bpc.

If I set

ERR(suites.IOInSuite1()->AEGP_SetInSpecDepth(specH, 128)); // 4 channels, 32 bpc

the image is showed correctly in 8 and 32 bpc, but wrong in 16 bpc.

Maybe a gamma correction issue?

Any sdk developer in the room?