Skip to content
This repository has been archived by the owner on Dec 9, 2018. It is now read-only.

2 images in the same page are being consolidated as one image #442

Closed
moshere opened this issue Nov 6, 2014 · 12 comments
Closed

2 images in the same page are being consolidated as one image #442

moshere opened this issue Nov 6, 2014 · 12 comments

Comments

@moshere
Copy link

moshere commented Nov 6, 2014

Hi,
While running pdf2htmlEX on PDF that contains more than one image at a page the images are being consolidated into one page. These eliminate the option to copy specific image.
Please check how it can be solved.

thank you,
Moshe

@coolwanglu
Copy link
Owner

See #213

@moshere
Copy link
Author

moshere commented Nov 17, 2014

Sorry but this reference didn't solve the problem. Please elaborate

@duanyao
Copy link
Collaborator

duanyao commented Nov 17, 2014

Maybe you want to try --bg-format svg and --svg-embed-bitmap 0.

@coolwanglu
Copy link
Owner

@moshere I meant this is a known issue.

@moshere
Copy link
Author

moshere commented Nov 17, 2014

ok thank you

@moshere
Copy link
Author

moshere commented Nov 17, 2014

Hi
I'm getting
pdf2htmlEX.exe --bg-format svg "Barack Obama Wiki.pdf" barak3.html
Image format not supported: svg

@duanyao
Copy link
Collaborator

duanyao commented Nov 18, 2014

It seems an old windows build without SVG support.
You can try newer versions (https://github.com/coolwanglu/pdf2htmlEX/wiki/Download), or build from source by yourself.

@moshere
Copy link
Author

moshere commented Nov 19, 2014

Thank you. I downloaded latest windows exe and used the flags with my file.
It generated one image and than crashed with the following. Appreciate if you can help me.
It crashed for me with the error info (I tried the PDF in the attach):

Problem signature:
Problem Event Name: APPCRASH
Application Name: pdf2htmlEX.exe
Application Version: 0.0.0.0
Application Timestamp: 5461aea1
Fault Module Name: ntdll.dll
Fault Module Version: 6.1.7601.18247
Fault Module Timestamp: 521ea8e7
Exception Code: c0000005
Exception Offset: 0002e41b
OS Version: 6.1.7601.2.1.0.256.48
Locale ID: 1033
Additional Information 1: 0a9e
Additional Information 2: 0a9e372d3b4ad19135b953a78882e789
Additional Information 3: 0a9e
Additional Information 4: 0a9e372d3b4ad19135b953a78882e789

Thank you,
Moshe

@duanyao
Copy link
Collaborator

duanyao commented Nov 19, 2014

Is it crash for other PDFs? Try some more PDFs and open new issue(s) for those files cause crash, and provide those files .

However I don't have a windows build environment so may not be able to reproduce your problem.
If you can play with linux it is better to build from lastest source to figure out the problem (https://github.com/coolwanglu/pdf2htmlEX/wiki/Troubleshooting-Crashes).

@moshere
Copy link
Author

moshere commented Nov 19, 2014

It crashed on every PDF. Is there any information I can pass you in order to progress?

@duanyao
Copy link
Collaborator

duanyao commented Nov 19, 2014

If it crash for every PDF, maybe that windows build itself is broken. I'll try it myself.

@duanyao
Copy link
Collaborator

duanyao commented Nov 19, 2014

The windows build of 0.12 also crash any PDF on my ubuntu under wine, so it may be broken. I suggest you try the linux or mac version, or contact the author([email protected]) of windows build.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants