Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

open Souce project in C/C++/Java to convert html, doc, pdf to BMP

1 view
Skip to first unread message

prashan...@gmail.com

unread,
Apr 28, 2009, 1:34:28 PM4/28/09
to
Hi All

Is there any open Souce project in C/C++/Java to convert html, doc,
pdf to BMP?

I would like to get the Bitmap image of contents rendered in the Web
Browser ActiveX control. I want to get the good quality image so I
don't want to use images from the view (rendered content).

Is there any alternate method?

Please Help...

Thanks in Advance.

Marcel Müller

unread,
Apr 28, 2009, 2:44:56 PM4/28/09
to
Hi!

prashan...@gmail.com wrote:
> Is there any open Souce project in C/C++/Java to convert html, doc,
> pdf to BMP?

Probably yes. Any FAX server will do that. (In fact the rendering is
done in two steps, first by the native application for a format, secondly


> I would like to get the Bitmap image of contents rendered in the Web
> Browser ActiveX control.

? - Download the referenced content as file and send it to a FAX server.
As long as you restrict to html, doc, pdf sources the solution should be
straight forward. The most complicated thing will be doc, because it
requires an office application like Word or OpenOffice. They are not
very reliable in automation mode. And HTML output is ambiguous because
of factors like page width and font scaling. PDF is quite easy.
Ghostscript will do the Job.


Marcel

red floyd

unread,
Apr 29, 2009, 9:32:33 AM4/29/09
to

I just checked my copy of the Standard, and it doesn't mention Bitmaps,
Web Browser, or ActiveX.

May I suggest posting in a newsgroup with Windows or Visual Studio in
its name?

See FAQ 5.9

http://www.parashift.com/c++-faq-lite/how-to-post.html#faq-5.9

0 new messages