Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

image_io_binarysaver need to bind color_channel port #237

Closed
xinyuli1204 opened this issue Feb 6, 2024 · 1 comment
Closed

image_io_binarysaver need to bind color_channel port #237

xinyuli1204 opened this issue Feb 6, 2024 · 1 comment

Comments

@xinyuli1204
Copy link
Contributor

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

@xinyuli1204 xinyuli1204 changed the title image_io_binarysaver need to bind color_channel image_io_binarysaver need to bind color_channel port Feb 6, 2024
@xinyuli1204
Copy link
Contributor Author

#238

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant