page.objs.get Pauses When Processing Multiple Images #19864
-
I tried snippet from #14542, and it looks like this:
It works fine when there are only a few images. However, when I repeat the same page and get a PDF that contains many images, I find that after several loops, the breakpoint stops at Could anyone help me understand why this is happening and how to fix it? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
I find that if an image is repeated, then page.objs.get will definitely pause. For example:
The first time imgIndex is "img_p1_1", the callback succeeds. The second time, for the repeated image, imgIndex is "g_d0_img_p2_1", and the callback does not execute. |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
imgIndex
starts with "g_" should be obtained withpage.commonObjs.get(
#13742 (comment)