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
Before ion-kit -1.0 we need to pass color channel as an input port color_channel_p = Port('color_channel', Type(TypeCode.Int, 32, 1), 0)
but we don't need to set any value to the color_channel_p in port map, since actually in building block we don't even use it.
When ion-kit >=1.0, we still need to bind the value to color channel port even this param is useless in image_io_binarysaver
eg. color_channel_p.bind(2)
Otherwise will throw this error [2024-02-07 06:02:18.033] [ion] [error] Error: Output buffer output$1 has type int32 but type of the buffer passed in is bad_type_code198x38458
Will get rid of the color_channel Para later
The text was updated successfully, but these errors were encountered:
xinyuli1204
changed the title
image_io_binarysaver need to bind color_channel
image_io_binarysaver need to bind color_channel port
Feb 6, 2024
BinarySaver
Before ion-kit -1.0 we need to pass color channel as an input port
color_channel_p = Port('color_channel', Type(TypeCode.Int, 32, 1), 0)
but we don't need to set any value to the color_channel_p in port map, since actually in building block we don't even use it.
When ion-kit >=1.0, we still need to bind the value to color channel port even this param is useless in
image_io_binarysaver
eg.
color_channel_p.bind(2)
Otherwise will throw this error
[2024-02-07 06:02:18.033] [ion] [error] Error: Output buffer output$1 has type int32 but type of the buffer passed in is bad_type_code198x38458
Will get rid of the color_channel Para later
The text was updated successfully, but these errors were encountered: