Comments (2)
This happens because of the difference in integer division between python2 and python3. 5/3=1
in python2, while 5/3=1.66667
in python3.
I just updated the script for python3. Please check it out.
Also note that I moved the sys.setdlopenflags(0)
call into file __init__.py
and would invoke it only for OSX. It should be fine I guess.
from pymupdf.
Sorry for my lack of knowledge on this. I'm new to Python and figured there would be no need to even look at 2.7. It amazes me how many folks still use 2.7 but I understand legacy code coming from a long career in programming. Believe it or not there are still some auto repair shops in my local area that are still using a DOS program I wrote in a dBase language call Clipper over 25 years ago.
from pymupdf.
Related Issues (20)
- Modify the color of non-text in PDF HOT 1
- Custom font use error HOT 6
- fitz.Pixmap(None, pix) Unrecognised args for constructing Pixmap HOT 4
- Table Detection: Incorrect Separation of Vector Graphics Clusters HOT 1
- Cannot show optional content group: AttributeError: module 'fitz.mupdf' has no attribute 'pdf_array_push_drop' HOT 5
- Measure Property for Annotation HOT 1
- Pixmap.invert_irect argument type error HOT 1
- extractText() extracts broken text from pdf HOT 1
- Font object has no attribute bbox HOT 2
- Error on .find_tables() HOT 1
- Remove text not working in 1.23.25 version vs 1.20.2 HOT 7
- page.get_text() returns hexadecimal text for some characters HOT 3
- Some problems when using insert_pdf() HOT 1
- Add entry_points to setuptools’ configuration to provide command-line console scripts HOT 3
- PDF can not be displayed after linearization HOT 4
- Memory leaks when merging PDFs HOT 3
- 1.23.25: Building against mupdf 1.23.11 has tests/test_imagebbox.py::test_image_bbox failing HOT 3
- `get_drawings`'s `items` is missing line from `h` path operator HOT 3
- Extracting tables which is continued/split across multiple pages HOT 1
- Empty vertices in ink annotation HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pymupdf.