[Solved] Black image when convert doc to html

Creating a macro - Writing a Script - Using the API (OpenOffice Basic, Python, BeanShell, JavaScript)
Post Reply
Vanzent
Posts: 2
Joined: Tue Mar 27, 2012 1:57 pm

[Solved] Black image when convert doc to html

Post by Vanzent »

Hi
I have a problem.
Installed OOo 3.3 on Ubuntu server 12.04 without GUI, start with headless mode - "soffice - headless - nofirststartwizard - accept =" socket, host = localhost, port = 8100; urp; "

When I converted doc(word) to html with the "PyODConverter", some pictures are saved black. Basically this is the formula

To test, I installed OOo 3.3 on windows 7. Images are stored well with PyODConverter and also "file-> save as" in graphical mode.

How do I fix the problem on ubuntu? Tell me, I'll try.
Sorry for my English. )

In attachments - convert doc2html with ubuntu, with win7 and source file
Attachments
test.rar
(20.74 KiB) Downloaded 214 times
Last edited by Vanzent on Thu Mar 29, 2012 3:20 pm, edited 1 time in total.
OpenOffice 3.3 on Ubuntu 12.04
Vanzent
Posts: 2
Joined: Tue Mar 27, 2012 1:57 pm

Re: Black image when convert doc to html

Post by Vanzent »

Thank you all))
I solved the problem myself. Week of tests and everything works.
Black images appear when running with --headless.
I used this startup script http://www.linuxgeek.ru/2010/09/openoff ... out-x.html
it uses Xvbf.

But image resolution low. How to increase the image resolution?
OpenOffice 3.3 on Ubuntu 12.04
Post Reply