I've got a document which contains several duplicates of images, getObjectsByType('XObject', 'Image') gets all the images but seems to "skip" or combine duplicates. Usually this wouldn't be a problem but I am relying on the specific order of the images.
Is one of the following solutions possible?;
Loop through each page and get the Xobjects from the specific page (getObjectsByType doesn't work in the getPages() loop)
Check the getDetails() (or something similar) of the object to see which pages it occurs on?
Disable the skip/combine function and obtain all images
Hi!
I've got a document which contains several duplicates of images, getObjectsByType('XObject', 'Image') gets all the images but seems to "skip" or combine duplicates. Usually this wouldn't be a problem but I am relying on the specific order of the images.
Is one of the following solutions possible?;
Loop through each page and get the Xobjects from the specific page (getObjectsByType doesn't work in the getPages() loop)
Check the getDetails() (or something similar) of the object to see which pages it occurs on?
Disable the skip/combine function and obtain all images
Many thanks in advance! :)