News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

Pdf To Jpg/bmp

Started by shakuni, May 22, 2008, 09:36:12 PM

Previous topic - Next topic

shakuni

I need to convert pdf to jpg and bmp for some purpose and I want to do it in assembly (or C/C++/ java). Obviously I will have to use some pdf pasing library/SDK. So do you guys know of any good one ?

Or any other method of parsing pdf file without using any library ?

Tedd

You're asking for a lot of work if you plan on doing it yourself (unless you only want to support a small number of pdf features, such as plain text - but even then there's formatting, placement, etc, etc, etc..)
Anyway, the pdf specification is available from adobe if you want it.

There are various pdf parsing libraries around, if you can find them (mostly open-source & gpl), and once you have a rendered page it's only a small matter to encode it as jpeg.

Quick search: MuPDF http://ccxvii.net/apparition/
No snowflake in an avalanche feels responsible.

jj2007