File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -260,9 +260,13 @@ PYBIND11_MODULE(FreeImage, m) {
260260 m.attr (" FIF_RAW" ) = pybind11::int_ (static_cast <int >(FIF_RAW ));
261261 m.attr (" FIF_WEBP" ) = pybind11::int_ (static_cast <int >(FIF_WEBP ));
262262 m.attr (" FIF_JXR" ) = pybind11::int_ (static_cast <int >(FIF_JXR ));
263+ m.attr (" FIF_HEIF" ) = pybind11::int_ (static_cast <int >(FIF_HEIF ));
264+ m.attr (" FIF_AVIF" ) = pybind11::int_ (static_cast <int >(FIF_AVIF ));
265+ m.attr (" FIF_JPEGXL" ) = pybind11::int_ (static_cast <int >(FIF_JPEGXL ));
263266
264267
265268 // Save/Load constants
269+ // FIF_LOAD_NOPIXELS is skipped, because has no sense for loading into numpy
266270 m.attr (" BMP_DEFAULT" ) = pybind11::int_ (BMP_DEFAULT );
267271 m.attr (" BMP_SAVE_RLE" ) = pybind11::int_ (BMP_SAVE_RLE );
268272 m.attr (" CUT_DEFAULT" ) = pybind11::int_ (CUT_DEFAULT );
You can’t perform that action at this time.
0 commit comments