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

Support for wider channel size in f3d::image #858

Merged
merged 24 commits into from
Jul 10, 2023
Prev Previous commit
Next Next commit
style
  • Loading branch information
Meakk committed Jul 10, 2023
commit 2e7afa35841a36005d19a43a683ccd2fa0e6d0b9
6 changes: 2 additions & 4 deletions python/F3DPythonBindings.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -279,15 +279,13 @@ PYBIND11_MODULE(f3d, module)
image.def("setData",
[=](f3d::image& img, const py::bytes& data)
{
PyErr_WarnEx(PyExc_DeprecationWarning,
"setData is deprecated, use setContent instead.", 1);
PyErr_WarnEx(PyExc_DeprecationWarning, "setData is deprecated, use setContent instead.", 1);
setImageBytes(img, data);
});
image.def("getData",
[=](const f3d::image& img)
{
PyErr_WarnEx(PyExc_DeprecationWarning,
"getData is deprecated, use getContent instead.", 1);
PyErr_WarnEx(PyExc_DeprecationWarning, "getData is deprecated, use getContent instead.", 1);
getImageBytes(img);
});
#endif
Expand Down