Compare commits
10 Commits
Author | SHA256 | Date | |
---|---|---|---|
5dd7c4c259 | |||
8c373c603d | |||
0324f59d62 | |||
5208290a5f | |||
a4e15852d9 | |||
8917d998ba | |||
d7b813ad8e | |||
968ffdf893 | |||
670102673b | |||
6d7342091f |
15
_service
15
_service
@@ -1,15 +0,0 @@
|
||||
<services>
|
||||
<service name="tar_scm" mode="disabled">
|
||||
<param name="url">git://github.com/cbrunet/python-poppler</param>
|
||||
<param name="scm">git</param>
|
||||
<param name="changesgenerate">enable</param>
|
||||
<param name="exclude">pybind11</param>
|
||||
<param name="version">0.2.2</param>
|
||||
<param name="revision">v0.2.2</param>
|
||||
</service>
|
||||
<service name="recompress" mode="disabled">
|
||||
<param name="compression">xz</param>
|
||||
<param name="file">*.tar</param>
|
||||
</service>
|
||||
<service name="set_version" mode="disabled"/>
|
||||
</services>
|
@@ -1,4 +0,0 @@
|
||||
<servicedata>
|
||||
<service name="tar_scm">
|
||||
<param name="url">git://github.com/cbrunet/python-poppler</param>
|
||||
<param name="changesrevision">04ddb469ec2dcabd84c7224eec02f8f72842eb1d</param></service></servicedata>
|
@@ -1,23 +0,0 @@
|
||||
Index: b/src/cpp/image.cpp
|
||||
===================================================================
|
||||
--- a/src/cpp/image.cpp
|
||||
+++ b/src/cpp/image.cpp
|
||||
@@ -93,7 +93,11 @@ PYBIND11_MODULE(image, m)
|
||||
.value("bgr24", image::format_enum::format_bgr24)
|
||||
#endif
|
||||
.export_values()
|
||||
+#if PYBIND11_VERSION_MAJOR >= 2 && PYBIND11_VERSION_MINOR >= 6
|
||||
+ .def("__str__", &format_to_str, "Image format used by PIL converters.", py::prepend());
|
||||
+#else
|
||||
.def("__str__", &format_to_str, "Image format used by PIL converters.");
|
||||
+#endif
|
||||
|
||||
py::class_<image>(m, "image", py::buffer_protocol())
|
||||
.def(py::init<>())
|
||||
@@ -114,4 +118,4 @@ PYBIND11_MODULE(image, m)
|
||||
m.def("supported_image_formats", &image::image::supported_image_formats);
|
||||
}
|
||||
|
||||
-} // namespace poppler
|
||||
\ No newline at end of file
|
||||
+} // namespace poppler
|
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:2be62708cdfd90928a3aceaa488f398cf2e6e7b5f6d497fd19bcf48f0a924690
|
||||
size 108232
|
Reference in New Issue
Block a user