Comments (5)
The pdf_array_push_drop
bug is fixed in 1.23.24. I'll leave this issue open though until the other questions are understood/answered.
from pymupdf.
Thanks for reporting this. I have a fix in my tree.
from pymupdf.
Thank you. I think this does not make the ocm visible, yet.
I would expect something like
doc.show_ocgs([first_id])
or
doc.set_ocg(first_id, on=True)
But there are no such methods.
=> How to programmatically show a previously hidden ocg (or layer)?
from pymupdf.
@stefaneidelloth Please have a look at layer_ui_configs() and set_layer_ui_config(number, action=0).
They get / set the temporary visibility - like a supporting PDF viewer would via its UI.
Close by in that part of the documentation, you will also find ways to make permanent changes.
from pymupdf.
Thanks. As you see in the comments /end of the example, I already tried that. What would be a modified version of the example that works? (I also attached example image files just now.)
from pymupdf.
Related Issues (20)
- draw_rect scaled to very small size HOT 5
- set_toc method error HOT 8
- Marked content sequences in text trace dictionary HOT 3
- 1.24.2/1.24.3: spurious characters introduced when using subset_fonts and insert_pdf HOT 7
- PyMuPDF 1.24.4 causes "segmentation fault" under Python 3.12 and old MAC OS HOT 12
- pixmap.invert_irect(pixmap.irect) take 7 seconds HOT 3
- cygwin x64 pip3 install pymupdf error HOT 2
- When extracting a numbered list, the result is not as expected. HOT 3
- Small size after apply fitz.TOOLS.set_small_glyph_heights(True) HOT 2
- page.get_label() gets wrong label on the first page of doc
- doc.saveIncr() error and doc.close error HOT 2
- Text Color Change for different fonts HOT 1
- get_toc(simple=False) AttributeError: 'Outline' object has no attribute 'rect' HOT 1
- document.insert_pdf throws TypeError HOT 1
- MuPDF error: syntax error: cannot find ExtGState resource 'BlendMode0' HOT 4
- custom metadata keys HOT 1
- Change Visibility of OCR'd pdf text layer HOT 1
- pdf citation
- 提取中文pdf出现乱码 HOT 6
- Add dotted gridline detection to table recognition
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.